Midlet Running in the Emulator but not in the phone?

Hi everybody,
I have developped a Midlet using the Sun Wirelees Toolkit, the midlet reads results from a Servlet and print it on a TextBox. It works fine in the emulator but when I deployed it to Nokia 6600 it prints NULL.
I really don�t know what�s the problem. Bytheway I used thread for sending data from Midlet to Servlet.
Any Suggestions:) ?
Thanks for your time and interest,

I suggest that you find out what the problem is ;)
Really, we can't smell whats wrong. It could be lots of things...
Try to de bug the application on the device. The "best" way is to use System.out.println statements, of use a textbox to print the messages. Than check where it goes wrong, and why..

Similar Messages

  • MIDLET working fine in emulator but not working on mobile!

    hi,
    i have an application which sends http request (get), it works fine in an emulator but when i install that application onto P900 sonyerricson it doesnot send the request and after sometime gives symbian os error:-33
    pls. let me know the solution!!
    thanks
    regards
    bhaskar

    A WAP access point means you're using a WAP stack, and you have to go through a WAP gateway to get to the internet. With an internet access point you use a TCP/IP stack and so you can "talk" directly to the internet. Look up tutorials about WAP if you want to know more.
    But as far as your MIDlet is concerned, all you have to know is how to change the phone's configuration (manually I mean, not with the J2ME code), so that it uses an internet access point. I don't have a P900 lying around right now, so I don't remember exactly how to configure it, but I'm sure if you search through the SE forums you'll find an explanation,
    shmoove

  • I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Not empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Now try a video.

  • A javaScript code that runs fine in IE but not in other plz help

    Hello friends,
    plese help me in getting the code for Opera and Mozilla browsers. The following code runs fine in IE but not in other browsers. it show titlebar in other browsers. What to do disable titlebar in other browsers? plz help
    <html>
    <head>
    <script>
    //Frameless Banner Popup
    // Set the url of the banner popup window page
    //var theURL = "index.htm";
    var theURL = "/cgi-bin/login";
    // Set the title of the popup window
    var title = "Login"
    // Set the size of the popup window
    var windowWidth = 350; // cannot be less than 100
    var windowHeight = 350; // cannot be less than 100
    //var windowWidth = window.screen.width; // cannot be less than 100
    //var windowHeight = window.screen.height; // cannot be less than 100
    // Set the position of the popup window
    var windowX = ((window.screen.width/2) - 175);
    var windowY = ((window.screen.height/2) - 175);
    // Set true to auto-center (positions will be ignored)
    var autocenter = false;
    // Set true for popup to close when launch page does
    var autoclose = false;
    var s="width="+windowWidth+",height="+windowHeight;
    var beIE=document.all?true:false;
    var done=new Object("no");
    if(autocenter){
    windowX = (window.screen.width-windowWidth)/2;
    windowY = (window.screen.height-windowHeight)/2;
    function doAgilePopup(){
    if (beIE){
    agilePopper = window.open("","popAgile","fullscreen,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"
    agilePopper.document.open();
    agilePopper.document.write(frameString);
    agilePopper.document.close();
    }else{
    agilePopper=window.open(theURL,"popAgile","scrollbars=no,"+s);
    agilePopper.blur();
    window.focus();
    agilePopper.resizeTo(windowWidth,windowHeight);
    agilePopper.moveTo(windowX,windowY);
    agilePopper.blur();
    if (autoclose){
    window.onunload = function(){agilePopper.close();}
    done="okay";
    </script>
    </head>
    <BODY onLoad="doAgilePopup(),top.window.close()">
    </body>
    </html>

    missing semicolon in end of the variable frameString ,
    better write the string in single line thats easy to find the bugs like this.
    var frameString=""+
    "<html>"+
    "<head>"+
    "<title>"+title+"</title>"+
    "</head>"+
    "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
    "<frame name='top' src='"+theURL+"' scrolling=no>"+
    "<frame name='bottom' src='about:blank' scrolling='no'>"+
    "</frameset>"+
    "</html>"

  • Named Query (JOIN query) runs in Toplink JPA but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

    I have a namedquery in JPA entities like (Entities do not include JOIN colums specifically.. no many-to-many or one-to-many relation in entities)
    select a from table1 a, table2 b where a.id=b.id
    This named query runs on Toplink Essentials without any problem.
    When I run this query using EclipseLink
    EclipseLink generates the query below and gives an error.
    select table1.id, table1.name, table1.surname from table1 t0, table2 t1 where t0.id=t1.id
    There are error _"*table1.surname*"_ is invalid identifier. Because; table1 is not define as an alias, must be "t0.surname".
    How can I solce this problem.
    The code runs on Toplink Essential but not in EclipseLink

  • Midlet running in the background

    Hello!
    I am wondering if it is possible to create a java program that runs in the background on a mobile phone. I.E can it run without beeing interuppted by a call or the locking of the key pad.
    Is it possible to let the program run without interfering with the normal functionallity of the phone?

    Hi
    To make a midlet run in the background you have to do as mentioned:
    Display display = Display.getDisplay(this);
    display.setCurrent(null);
    This will make the midlet run in background while you can continue working with other midlets. This strategy was tested with J2MEWTK 2.5 & Black Berry.
    Thanks
    Bruce

  • Midlet running in the background/foreground

    i would like to know if it is possible to have a midlet running on for example a mobile phone - and this midlet runs in the background and as soon as certain parameters meet each other the midlet will be in the foreground again ... also i want to know if its possible to switch between foreground and background - for example with a hotkey.

    Unless device specifically supports it then no.

  • Website page displays and javascript runs correctly in IE8 but not in Firefox 3.6.10

    website page displays and javascript runs correctly in IE8 but not in Firefox 3.6.10

    Can you post a link?
    Then we can take a look.

  • HT1386 When I try to sync a new playlist it won't go onto my iPhone.  When I click "on this phone" the playlist is there on the computer but not on my phone.

    I cannot get new playlists to sync on my phone.  I could yesterday.  When I click "on this phone" the playlist shows up on the main computer but not on my phone.

    As I said, some items cannot be purchased with an existing credit on an account no matter how much it is.  It can only be purchased with a charge to a credit card.

  • From last 3 days i am trying to my best to use facebook in my i phone 4s but still i am failture to contect,i can able to use my facebook account on  my pc or laptop but not in i phone,i remove facebook so manytimes and also reset all setting but sti

    from last 3 days i am trying to my best to use facebook in my i phone 4s but still i am failture to contect,i can able to use my facebook account on  my pc or laptop but not in i phone,i remove facebook so manytimes and also reset all setting but still i am fail ,pls do needful

    I am very happy to report that my server connection tech, which I called via landline, informed me to : 1. Open Tools 2. Scan down to Clear Recent History 3. Delete All. That was it! Unbelievable! Six hours of searching through the Windows catagories. I checked the results on an internet site, and viola! It was gone! Mozilla Firefox seems to remember the usernames and passwords irregardless of the option window that asks if you if want it to remember the user and password. I finally got in touch with my friend and he said he did not answer yes to the window, even though he was aware of it. No damage. I surely do appreciate everyones' concern in this, now what seems to be, a very simple solution. Cudos to Firefox! Thank-you! P.S. I now have to enter my information at the beginning of any password protected sites...no harm done! My friend is now condemned to the 'user account' site! lol...

  • HT201401 I changed my apple ID, it shows on my computer but not on my phone. How can I fix it?

    I changed my apple ID, it shows on my computer but not on my phone. My still has my old apple ID, how can I change it?

    Welcome to the Apple Community Amy.
    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account. You may have already done this.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • I just upgraded to IOS 8 and a ton of pictures appeared on my iphone from my computer. I want them saved in my iphoto but not on my phone. If I delete them from my phone will they delete on my computer?

    I just upgraded my iphone 4S to IOS 8 and a ton of pictures appeared on my iphone from my computer. I want them saved in my computer iphoto but not on my phone. If I delete them from my phone will they delete in iphoto on my computer?  They are taking up a lot of memory.  Thanks

    No they will not delete.  If you are nervous about that, connect your phone to your computer and import the photos into iPhoto and drag them into a new folder on your desktop.

  • I have a ipad and a I phone 4. When i send imessages back and forth to a friend who also has a ipad and i phone 4 i am rcving it on ipad as imess but not on my phone as a imess. When it comes to my phone it comes as a text message and a imess.

    I have a ipad and a I phone 4. When i send imessages back and forth to a friend who also has a ipad and i phone 4 i am rcving it on ipad as imess but not on my phone as a imess. When it comes to my phone it comes as a text message and a then it gets sent again as a imess. its very frustrating. I need help!

    and also i have tried to go int my mess settings to remove my email account where it says "recieve at" and it wont let me delete my email. This is so frustrating!

  • Internet running slow on mac but not PC

    The internet on my MacBook is running painfully slow both through a wired connection and through my wireless network. The problem happens when utilizing Firefox, Safari, updates and iTunes. It makes it impossible to view Youtube videos and download large software upgrades.
    I have tried speedtest.net and the download rate is reasonable, however it does not match the download rate my computer experiences. The download as shown in the dialogue box (when I try to download software updates, photos, etc.) is in the range of 3 - 6 KB/sec but speedtest shows a download speed of 10Mbps.
    Any ideas on how I should proceed?
    Thank you.

    bumping because I've been having the same issue ever since I came home from college. basically the situation is that websites load extremely slowly on my mac pro, but not on any other computer (all windows pcs) connected to the same network. I even disconnected my mac pro and plugged in my windows laptop and the connectivity was fine - which makes me think it has something to do with the settings on the mac.
    I disabled IPV6 and reboot my mac, router, and modem but to no avail. what's wrong?! has anyone found a definitive solution for this problem? it's very aggravating.

  • VI server application runs under debug mode but not other wise

    I have an application which uses VI server to call vi's on my targets hard drive. When I run this using the highlight execution( or debug ) this works OK, however when I run without this I get error 66, connection closed by peer. When I look at my target using a direct monitor connection I get various messages relating to memory errors. I have run virtually the same code calling a simpler application and this seems to work fine, however when I simply target the RT engine with the same code ( using the RT comms wizard construction) I don't get a problem. This should, I think, be using the same amount of memory. What is the best was of assessing the memory available against the memory required? Do anyone have a
    ny ideas as to why the VI should run with execution highlighted and not without. I have tried adding delays so simulate this but it doesn't seem to work.

    Check out this KnowledgeBase article. It describes how to enable a memory monitoring tool that might help solve your problem.

Maybe you are looking for

  • CreateJaznUser: import oracle.security.jazn.oc4j.JAZNUserManager not found

    Hello! I need to create a function that could allow Application users to change their passwords.I use a JAZN authentication in the application. So, I decided to analyze contents of the CreateJaznUser application first. But compilation of this applica

  • How to go from iOS 7.1.2 to iOS 6.0.1?

    on my phone4 I am not sure how to go from iOS 7.1.2 to iOS 6.0.1

  • Uploading text file (TAB delimited) to Oracle database table

    Hi, im creating a form that will upload a text file(TAB delimited) that will insert a data in a database table. How would i do this? And what trigger will i use in the upload button? Please help.. Thanks, Majic

  • Identifying which field is active

    Hello, I'm trying to find a way to identify which input field is active, ie. which field has the curson in it and has focus in a group of JTextFields. An InputVerifier object can give me the field information - name and value - after moving from the

  • OutOfMemoryError when many EJBs are deployed

    WLS 7.0 fails frequently with this message: "java.lang.OutOfMemoryError <<no stack trace available>>" My startup command includes these parameters: -Xms256m -Xmx256m -XX:NewRatio=2 -verbose:gc The output from the garbage collector indicates that only