Transparency of sprites on samsung sgh e380

Hi
I'm creating sprites the way ive shown below. Max. white is decoded as full transparent and for such pixels i'm setting full tranparent alpha and full opaque for any another. On emulators and my se k610i sprites are shown properly, but on samsung shg e380 all pixels stay full opaque - so i have a square filled with white and a sprite image on it. Sgh e380 supports MIDP 2.0, so fully transparent pixels should stay fully transparent on such device :| I'm worrying if that is not the only vendor whos phone working this way.
Any suggestion are welcome :)
Marcin
Image tmp;
         try{
            tmp=Image.createImage("/images/ship.png");
        }catch(Exception e){
            ship=null;
            return;
        int tab[]=new int[tmp.getWidth()*tmp.getHeight()];
        tmp.getRGB(tab,0,tmp.getWidth(), 0,0, tmp.getWidth(), tmp.getHeight());
        int i;
        for(i=0; i<tab.length; i++){
            if((tab[i] & 0x00ffffff)==0x00ffffff){
                tab=tab[i] & 0x00ffffff;
} else{
tab[i]=tab[i] | 0xff000000;
Image tmp1=Image.createRGBImage(tab,tmp.getWidth(),tmp.getHeight(),true);
ship=new Sprite(tmp1,tmp1.getWidth(), tmp1.getHeight());Edited by: cinsio on Oct 28, 2007 2:04 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Hi
I'm creating sprites the way ive shown below. Max. white is decoded as full transparent and for such pixels i'm setting full tranparent alpha and full opaque for any another. On emulators and my se k610i sprites are shown properly, but on samsung shg e380 all pixels stay full opaque - so i have a square filled with white and a sprite image on it. Sgh e380 supports MIDP 2.0, so fully transparent pixels should stay fully transparent on such device :| I'm worrying if that is not the only vendor whos phone working this way.
Any suggestion are welcome :)
Marcin
Image tmp;
         try{
            tmp=Image.createImage("/images/ship.png");
        }catch(Exception e){
            ship=null;
            return;
        int tab[]=new int[tmp.getWidth()*tmp.getHeight()];
        tmp.getRGB(tab,0,tmp.getWidth(), 0,0, tmp.getWidth(), tmp.getHeight());
        int i;
        for(i=0; i<tab.length; i++){
            if((tab[i] & 0x00ffffff)==0x00ffffff){
                tab=tab[i] & 0x00ffffff;
} else{
tab[i]=tab[i] | 0xff000000;
Image tmp1=Image.createRGBImage(tab,tmp.getWidth(),tmp.getHeight(),true);
ship=new Sprite(tmp1,tmp1.getWidth(), tmp1.getHeight());Edited by: cinsio on Oct 28, 2007 2:04 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Samsung SGH-d807 Bluetooth connection help

    I just recently bought a new Samsung SGH-d807 phone and was wanting to use Bluetooth to connect it to my iBook so I could transfer .mp3's to use as ringtones, among other things. To do this, I had to go out and buy a Bluetooth adapter so that my iBook would be able to connect to Bluetooth devices. I realize that the DLink adapter is the one officially supported by Apple, but the only one I could find around town was the Targus USB Bluetooth Adapter - Class 2 (ACB10). The packaging said it was supported by OS X 10.4 so I figured it was worth a shot. I plugged the adapter in and my iBook seems to recognize it without any problems, but I've tried to have my iBook find my new Samsung phone and it can't. I've got the phone's Bluetooth turned on and made sure that it's discoverable by other devices.
    I guess what I'm wondering is if anyone out there with this phone has had the same problem, or if anyone can give me any suggestions or anything like that. Any help would be great.
    iBook G4   Mac OS X (10.4.7)  

    Solved the problem myself. Took the Targus adapter back and found one made by IOGear for about half the price that seems to work like a charm.

  • Help on readubg .pdfs for Samsung SGH ZX20

    ...so I bought this beefed up phone, the Samsung SGH ZX20
    with the 1Gg microSD card and USB transfer cable and see I may be
    S.O.L. on one of my desires to view .pdf files directly upon my
    phone. My question before I rant in another direction is:
    Can I install FlashLite 2.0 upon my phone myself? Noticed
    only Verizon has capability offered across certain phones but I am
    locked into Cingular. Must I wait for Cingular and Samsung to
    integrate into some future firmware after more defined contractual
    agreements get made? Please don't say it is...
    Before trying anything on own and messing up anything, I
    thought I would explore my DIY ability to transfer and install such
    SW on my phone or find out if there is anything targeted for
    release with this phone. Eyeballing the Samsung product
    compatibility page under a link I pulled from this form only lists
    one freakin' model...the SCH-A950. I don't get the sense this page
    is updated too frequently so can someone upon this forum lend some
    kind assistance involving the SGH ZX20? Much oblidged!!!
    Time to now digress and rant about the feature holes of
    todays mobile technology...
    While I figured out things so I can convert and view my tech
    training videos to this phone, I seek some means to enable my
    viewing of .pdf files. Hoping for some means to see a rolling text
    of content. Don't care much about graphics or pretty fonts, just my
    ability to be more productive during the lull or down moments at or
    in between youth sporting events. Yes, I know the viewing on a
    small screen will be more limited but the mobility and extreme
    portability of 1 gadget versus many motivates me to walk along the
    bleeding edge until things are bundled in a way for a serious
    working professional seeking a life balance versus the crap that
    such resources are focussed upon now (i.e. games, music, etc.).
    Hope to see integrated eyewear around corner to better view
    such content that's tied to my present phone's memory.
    Hey, its great to make money off the teenage or the
    I_Never_Want2_Grow_Up market but how about some serious mobile
    applications too and make them more readily available? Geez, I got
    features like "controlled" shopping, IM, right on the top menu but
    NO ability to pick-n-choose my own menu choices along with their
    priority/hierarachy. Personally, alarms and schedules rate
    higher...
    Since Samsung does not appear to have a forum structured like
    this, I hope OEMs like them or service carriers may see my post
    here and be more ballast with what exiciting new features they
    envision are can start targeting to deploy within the
    marketplace...these providers would then capture my Quan and $$$.

    Refer to
    my
    post here.
    best,

  • Can I connect my samsung sgh a437

    Can i connecg my samsung sgh a437 wirelessly to airport hub so i can get internet access for pc connected to hub

    i have the newest 21 inch iMac it has 4 usb, 2 thunderbolt, 1 ethernet, 1 sd, 1 audio and main power
                                                  |
                                                 V
    i have a 2009 Macbook Pro it has 2 usb, 1 mini display, 1 sd, 1 audio, charger port, dvd and a square port that i dont know what it is.  It is running the newest version of lion.
    If i can not do what i would like to how can i us the tv as an external monitor as you said above
    Thanks

  • Samsung SGH-L768 - Unsupported file type

    I have downloaded games for my Samsung SGH-L768 but everytime i try to open it "unsupported file type" appears.
    I have resized game resulotion but still nothing happened. I believed my mobile is java compatible ----- WHAT'S WRONG? NEED HELP....

    I just got the stripe too (Samsung T329), and can pair, but can't connect. Did you have any luck transferring files in the end?

  • Writing to the Internalmifare of Samsung SGH X700 using a Midlet present in

    Hi guys,
    I want to write some data to the internal Mifare of Samsung SGH X700 using a midlet present in th phone.I don't know the exact steps to follow.So if anybody knows about it please share the information with me.It will be very helpfull to me.
    Regards,
    Balagopal

    Hi lexdabear ,
    It Seems You�ve Mistaken .I have successfully written data to the mifare section of Samsung SGHx700 n series phone
    using an external reader (Pegoda and PN531).The real problem was to write some data to the internal Mifare of Samsung SGH X700 N by using a midlet present inside the same phone .But now I have found out the solution and implemented it successfully.
    Regards,
    Balagopal

  • Key code problem in samsung sgh-t719

    hi all,
    i have written a java program that is use to display the keycode value of the device keys. The application is working fine for most of the devices , but when running the application on samsung sgh-t719 the keys(qw ,as,op) are producing the value 0 and keys ( l , zx ) are not responding to keyPressed() function at all.
    can anybody put some light on it .

    have you search on samsung forums and samsung tech docs?
    it is weird that 3 keys produce the same key code...

  • May i use firefox in my Samsung SGH-i780 with windows mobile 6.0

    may i use firefox in my Samsung SGH-i780 with windows mobile 6.0

    Sorry, we are not developing Firefox for Windows Mobile.
    Firefox is available now for Nokia Maemo phones, and we are working on a version for Google Android phones.
    For more information, see:
    https://wiki.mozilla.org/Mobile/Platforms

  • How do I connect a Samsung SGH-D407 with the I phone

    Is this possible? It is discovering the devices but not connecting. Please help I'd like to get the photos off my Samsung but don't have any other way of doing so.

    Hey there!
    The iPhone's Bluetooth cannot be used for sending and receiving files. :(!!
    It can only be used for Bluetooth headsets unfortunately.
    This is obviously because Apple does not want people to send copyrighted iTunes songs/videos.
    Even if the files you want to send are yours, and have nothing to do with iTunes, like your SGH-D407 photos, the Bluetooth will not work.
    You should try to send your Samsung's photos to your computer.
    And if you want them on your iPhone, put those photos on iPhoto and sync them onto your iPhone.
    Good Luck!
    Vincent

  • Where can I get firefox os for my mobile(Samsung sgh s730m) which runs on android 4.0.4? is it possible to change from android to firefox?

    Does firefox os can run perfectly in my android device,Chipset and Hardware Samsung Galaxy Discover SGH-S730M
    CPU / Processor Qualcomm Snapdragon MSM7225A / ARM Cortex-A5
    Processor Clock / Cores 800Mhz 32bits Single-Core
    RAM Memory 512MB
    GPU Graphical Controller Qualcomm Adreno 200
    Internal Storage 4GB (2.68GB user available)
    External Storage Until 32GB microSD, microSDHC

    Yeah, Its Possible.

  • Samsung SGH-X830.

    Hi, I've seen that a lot of people ask around the Samsung phones.
    I post this both to see if I can get some tips around it, and to make it show that people still want Samsung Phone support in iSync.
    Better Samsung support for AdressBook wouldn't be bad either, I was not able to transfer more than one contact at a time from within Adressbook, but that's not the issue here.
    I'd like too see the Samsung phones supported by iSync, it would be nice to not have to make things in both calenders manually. And of course all the benefits of syncing are wanted.
    Anyone have thoughts, or hopes with me for better Samsung phones? Lets keep this thread alive, maybe that's enough to convince Apple to implement it, or at least to get an official view on the subject.
    Thank you for your time.

    You seem to be forgetting two very fundamental things.
    From Samsungs perspective
    1) The Macs total market-share of computers is less the 5%. Then, out of that 5% there's a very small number of Mac users who actually use Samsung phones (most choose Nokia or Sony Ericsson because they've always been well supported on the Mac).
    So for Samsung, its not worth the financial outlay to spend $$$ developing custom syncing software for a such a small number of people.
    Basically, Samsung don't really care if they lose a few hundred/thousand possible customers. Its not worth their time, effort or cost to develop solutions to keep them.
    From Apple's perspective
    2) Apple have already done the hard-work. They've implemented industry standards in iSync. There's the SyncServices framework in the OS. There's the PhonePlugins architecture to extend support for additional models.
    Now, you want Apple to spend $$$$ and time reverse engineering Samsungs proprietary syncing protocols to support the tiny minority of people who didn't bother to check iSync compatibility before buying a new phone?
    If Apple do that, where should they stop? Should they do the same for every other mobile phone manufacturer? It's impossible for Apple to support every non-standard syncing protocol out there. That's why industry standards exist.
    Do you think USB would've been such a success if every printer, scanner or digital camera manufacturer decided to use their own proprietary connection method?
    There are hundreds of iSync compatible phones. Over 60 from Sony Ericsson alone. You had a free choice of which phone to buy. You chose an unsupported Samsung model.
    You're right, there is no thing as "can't be implemented". But you have to ask whether it is practically or financially viable to do it.
    SyncML has been around for years (not just since you've had your X830). It was Samsungs choice to use their own proprietary syncing protocol, rather than the industry standard. That's not Apple's fault.
    It was also your choice to buy a phone that isn't compatible.
    It's not worth Apple pursuing syncing of older phones. Most people upgrade their phone every 12 months or so anyway.
    And, finally, lets not forget, Apple now have a vested interest in pushing people towards buying an iPhone - the ultimate Mac compatible phone.

  • Samsung  SGH-a437 Connectivity

    Hello All,
    I can not "see" my new phone from the bluetooth configuration utility. The phone is on and bluetooth is enabled and discoverable. I have had no problem in the past with my Sony Ericson phone.
    I did see an outdated post when I searched which referenced modem scripts, but this provided no assistance. Also, since that thread was archived I could not reply to it.
    The Samsung FAQ page indicates that the only profiles supported are HFP (handsfree profile) and HSP (headset profile). Could this be the issue?
    Bottom line - is there anything I can do to to access the file system like I should be able to on this phone to enable iSync?
    Thanks all,
    Jon

    The Samsung FAQ page indicates that the only profiles supported are HFP (handsfree profile) and HSP (headset profile). Could this be the issue?
    Yes. The phone would need to have the OBEX File Transfer profile for accessing files.
    Bottom line - is there anything I can do to to access the file system like I should be able to on this phone to enable iSync?
    No, that phone is not iSync compatible because Samsung chose not to include SyncML support in it.

  • I want to install on my samsung sgh-a777.

    I receive an error message that says unsupported content.
    == Extensions installed: ==
    Not sure

    The SGH-A777 is not running an operating system that Firefox supports, so unfortunately you won't be able to use Firefox on it.

  • Can't login on Samsung SGH-T959V

    Y I can.t login in my mobile galaxey
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content. A link to this post appears where the post was originally added.

    Skype is also not letting me log in on my samsung phone for passed 3days!!!! And when i reset my password finally after imputting a crazy long code (for the 10th time) it wont let me out of my access profile page so i can use skype. It just bumps me out again!! Im very frustrated!!! What is skype helpline number?? Any real people there?? This is not acceptable.

  • Mp3-file not recognized on my Samsung SGH-E720 mobile phone

    hey,
    i recently ripped my audiocd's in iTunes. some files can't be played back on my mobile phone: it says "file not recognized". others can be played. what am i doing wrong, or is it just the type of audiocd i ripped?
    grtz
    imac g5 17"   Mac OS X (10.4.8)   broken for the moment ...

    hey,
    i recently ripped my audiocd's in iTunes. some files can't be played back on my mobile phone: it says "file not recognized". others can be played. what am i doing wrong, or is it just the type of audiocd i ripped?
    grtz
    imac g5 17"   Mac OS X (10.4.8)   broken for the moment ...

Maybe you are looking for

  • How can i use return statement in a method no flaming pls

    public class example2 public int add(int i,int j) int k = i + j; return k; <<<< -HERE-> public static void main(String[] args) example2 obj=new example2(); obj.add(2,3); System.out.println("k"+k); Iam really really new to java programming so dont fla

  • Can't create a working wireless network (with AEBS N station)

    I have a new Airport Extreme Base Station (802.11n), firmware 7.2.1 and a PowerMac G4 running Leopard, with the built-in Ethernet port dead, fried by a storm. I installed a PCI Gigabit network card which works great. I have a static IP, and no more D

  • SQL I need help with this query Please help

    List the names of all the products whose weight unit measure is "Gram".  Order the list by product name.  Do not use JOINS, but use the IN clause with a sub-query. select Name from UnitMeasure where Name= 'Gram' order by Name I did this, but it seem

  • Masks work in Air 2.6!

    .. As does color tinting! By the way, has anyone noticed the blend modes not working correctly? I have seen instances where a movieclip which had the additive blend on was resetting back to normal blending. It could have been something to do with vis

  • Error when dragging tree item - get firstVisibleItem

    I have been trying to debug this for hours but I can't determine any reason behind this error. I have a tree which I am populating with Array collections.  The items in the array collection have views which I am adding to a canvas, however when I add