Application works in emulator but not on real device

Hi Everyone,
I have been trying to build this application and avail users to download it from a WAP page.
Now, initially for testing purpose I managed to transfer it on my mobile device which is a Sony Ericsson Z800 using a data cable.
The application downloads 2 images from an Apache Tomcat web server and displays it on user screen. I have created this application using MIDP 2.0. I managed to install it on my mobile device and now when I m trying to send request to the server I wont get any response ? The request itself is not reaching to the web server.
Strangely it works when I give a static path from my mobile browser like: http://xxx.xxx.xxx.xxx:8080/servlet?param1=x&param2=y but when the same path is accessed from installed application it wont work :-(. Its a static IP so there is no problem with changing of IP Address.
Please note that I have transferred only the jar file. Does that make any difference ?
Please guide me as to where I m going wrong..
Regards

Hey thanks mate.
I have posted my code in other thread if you would like to have a look at it.
I m using 3G to access my webserver. Oh yeah, I m using pure HTTP and not WAP-HTTP since I have changed the configuration.
But, as I said previously I had no problems doing the samething from the same device although I didnt send any data, just something like pinging the web server and getting a reply in form of say " works1","works2" and so on....
Ok, I will have a look at device config. data sheet.
Thanks for your reply

Similar Messages

  • Works on emulators but not on mobile devices

    Hello,
    My project works on emulators but not on mobile devices (no image and on Samsung it says "unsupported file").
    Please help, I don't know what to do. My configurations: MIDP 2.1, CLDC 1.1.
    Thanks in advance.
    Edited by: Vitali.pom on Oct 27, 2011 12:01 PM

    Edit: I succeeded to solve it accidentally. I did the following: Sign the jar in Netbeans, clean and build, the jar didn't work, I wiped out the .ks from the jar and clean and build again. Now it worked.
    Edited by: Vitali.pom on Oct 30, 2011 1:28 AM

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • App working fine on all emulators but not on real devices

    hi, i made a 3d scene using height map it worked perfect on sun emulator but did not work on real device Nokia 6280 and instead said nullpointer exception there is no err with jar file or any other small error.
    When i run that same application on sonyerricson emulator then it did not show anything at all just blank screen on all phone of sony erricson
    plz help me regarding this issue
    thanks
    bye

    hi,
    can u describe more detail about your application.I think you are using any API that is not implemented on real device.

  • IMessage work between iPhones but not from other devices or paypal or ...etc

    I can receive messages from iphones using imessages but not SMS sent from non iphones or web sites (e.g. paypal) or my bank !!!
    I have tried to de-active imessage, reboot, checked I am not using the subject, ...etc
    nothing is working
    PLEASE HELP!!!! as I need these SMS to work NOW :-(

    Hello akommatas. Welcome to the Apple Discussions!
    Please try temporarily disabling the Windows or third-party software firewall on any PC that is having difficulties accessing the AirPort Express Base Station (AX) with the AirPort Utility. Can the utility find and access the AX now?
    If not, instead of waiting for the AirPort Utility to scan, go to the utility's menu bar, and then, choose File > Configure Other ... > Enter 10.0.1.1 in the IP Address field, and then, enter public for the password.

  • Application working under NetBeans but not as a *.jar file

    Hello,
    recently I found a little problem. I wrote application that shows all available ports in my computer. When I am running this applications under NetBeans it works with no problem - finds all available ports. Then I am building it to the *.jar file. Application is working with no problem but command:
    Enumeration PortIds = CommPortIdentifier.getPortIdentifiers();
    is not returning any identifiers - PortIds is empty.
    Anyone knows a solution for this type of problems? Thanks

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

  • Application works no WTK but not on phone

    I created a very simple application, with a form, some textfields, nothing fancy, no images, no menus, etc.
    It works fine on the WTK simulator, and it installs on the phone, but when I execute it I get "Application Error" and it doesn't even open.
    I'm manually creating the JAR file... is there anything I should add to it? I'm using the manifest file created by WTK and the class file (only one).

    Hey thanks mate.
    I have posted my code in other thread if you would like to have a look at it.
    I m using 3G to access my webserver. Oh yeah, I m using pure HTTP and not WAP-HTTP since I have changed the configuration.
    But, as I said previously I had no problems doing the samething from the same device although I didnt send any data, just something like pinging the web server and getting a reply in form of say " works1","works2" and so on....
    Ok, I will have a look at device config. data sheet.
    Thanks for your reply

  • Application works from NB but not from jar

    Hi,
    I'am programming a game in JAVA and this going as planned. Everything works when I run it from NetBeans, but when I execute the jar file from the console, then I get hunderds of the same exception.
    I really don't know what it is, I see a NoSuchMethod exception in the MouseEvent of the method getLocationOnScreen(), but just as i said, the app works fine without errors from out NB.
    Does somebody knows what the problem is?
    thx Sven
    java -jar Hotel.jar
    Loading board images.
    Loading image: /Images/bg-patern-hotel.jpg
    Opening file /Images/bg-patern-hotel.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/bg-patern-hotel.jpg]
    Loading image: /Images/Main-board-big.jpg
    Opening file /Images/Main-board-big.jpg file exisits: true -- [/Users/svenvanzoelen/NetBeansProjects/Games/Hotel/dist/Images/Main-board-big.jpg]
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.awt.event.MouseEvent.getLocationOnScreen()Ljava/awt/Point;
         at Engine.GameAction.setMousePos(GameAction.java:137)
         at Engine.InputManager.mouseMoved(InputManager.java:277)
         at java.awt.Component.processMouseMotionEvent(Component.java:5647)
         at java.awt.Component.processEvent(Component.java:5371)
         at java.awt.Container.processEvent(Container.java:2010)
         at java.awt.Window.processEvent(Window.java:1184)
         at java.awt.Component.dispatchEventImpl(Component.java:4068)
         at java.awt.Container.dispatchEventImpl(Container.java:2068)
         at java.awt.Window.dispatchEventImpl(Window.java:1801)
         at java.awt.Component.dispatchEvent(Component.java:3903)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Same error goes 50 times more.Edited by: Svenmeister on Apr 16, 2010 7:22 AM
    Edited by: Svenmeister on Apr 16, 2010 7:22 AM

    Ok, I updated my Mac but still got the 1.5.0_22 crap so I changed the function from the mouseEvent to one that 1.5 supports.
    But now when I run the application from the console the Exception about the mouse function is gone, but I got another exception instead of it. And this one is I believe not JRE version relevant.
    The error is in the loading of the images, at the third PNG image to be precise. The images are now in total 10.8MB in size.
    So is this also a 1.6 thing? Would be awesome if someone can explain it.
    java -jar Hotel.jar Loading board images.
    Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:223)
         at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:469)
         at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:66)
         at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
         at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:498)
         at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:419)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
         at java.awt.image.Raster.createPackedRaster(Raster.java:458)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
         at java.awt.image.BufferedImage.<init>(BufferedImage.java:345)
         at apple.awt.CGraphicsConfig.createCompatibleImage(CGraphicsConfig.java:174)
         at GUI.Board.toBufferedImage(Board.java:1472)
         at GUI.Board.loadImages(Board.java:1143)
         at Engine.HotelMain.switchState(HotelMain.java:86)
         at Engine.HotelMain.<init>(HotelMain.java:57)
         at Engine.HotelMain.main(HotelMain.java:194)Edited by: Svenmeister on Apr 16, 2010 11:01 AM

  • Application works in jdeveloper but not as standalone jar file

    Hi All
    We have developed an application using BI Publisher APIs,it works as expected through JDevelper,however when I try to deploy it to a jar file a run it through command line it gives me No class found exception for
    javax/xml/rpc/Service class factory.. thinking that the class is not present.I have extracted the jar file but could find the class file in the expected directory........anyhelp would greatly be appreciated.
    Regards
    Venkatesh

    Hi Venkatesh,
    Few questions.
    1. What is your JDeveloper version? (Always better to post your JDev version along with the question, which would help us to help you better).
    2. Did you try adding webserviceclient.jar to the classpath? (Search in your JDev installation directory for the location of this jar file).
    -Arun

  • Password works for login but not for the Adobe CC Desktop application

    Password works for login but not for the Adobe CC Desktop application

    Please refer to http://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    ou can try deleting OPM.DB from steps below and try again.
    Mac OS: You can locate the OPM.db file in the \User\\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion. - http://helpx.adobe.com/x-productkb/global/access-hidden-user-library-f iles.html
    Windows: You can locate the OPM.db file in the :\Users\\AppData\Local\Adobe\OOBE folder.  To view the hidden AppData folder, see Show hidden files, folders, filename extensions | Windows XP, Vista, Windows 7. -http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-ex tensions.html
    3) update to the latest version of the Creative Cloud app.
    Also we would like few more details:
    When has this issue started occurring, was this after installation of any specific adobe product.
    On which platform are you seeing this.
    Also we would like to know if after above steps this issue occurs ever again in future.
    You can refer to http://forums.adobe.com/thread/1239510
    Regards,
    Rajshree

  • Java works on chrome but not on firefox

    Java works on Chrome but not Firefox. I've uninstalled and reinstalled Firefox. Chacked all appropriate boxes in Control Panel. Deleted JavaReg.Dat. Enabled plugin. Uninstalled all Java from my computer and reinstalled. Cleared Firefox Cache. No luck.

    Do you see the Java plugin in Tools > Add-ons > Plugins ?
    Firefox is a 32 bit application, so you need to install the 32 bit Java version.
    See Java Platform > Java SE 7U5 or Java 6U33 (Downoad JRE)
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • Flash 10 works in FF but not Safari, OS X 10.5

    About a week ago flash stopped working in Safari and both firefox and safari started bugging me to install a newer version.  Muttering, I went to the download page and downloaded the latest, which claims to be for Safari, Opera, and firefox.
    Installation completes fine with no errors.  Firefox works.  But in Safari, I just get the usual 'no flash installed, would you like to download it?'
    I've downloaded and installed multiple times, no dice.  Plug-ins are enabled on Safari.  I do not have settings folders to delete--/Library/Application Supprt/Adobe has no flash player folder, only Acrobat, Updater6, and Help.
    This whole thing is a black box and I don't see what else to do.  Installation completes and there's no way to verify anything.  Any ideas would be welcome.

    Thanks! BTW I'm also having trouble updating Adobe Reader. I have 9.4.0 and want to update to the new Adobe Reader X. I keep getting Error 1402 which refers to the registry keys. I am unable to completely uninstall the old version. After receiving the error message it reloades the older version. I read about how to modify the registry to accept it but I believe this is a very wierd way to have to get an update loaded. Any suggestions?
    Date: Mon, 27 Dec 2010 10:34:22 -0700
    From: [email protected]
    To: [email protected]
    Subject: Flash Player works in IE8 but not Safari
    Hi Bruce, Adobe Flash Player is Installed separately into IE, since Windows uses the ActiveX Control. Firefox and other non-IE
    browsers must use the plugin Installer.
    This is the Adobe site :
    http://www.adobe.com/products/flashplayer/fp_distribution3.html
    Hope that explains it.
    Thanks,
    eidnolb
    >

  • Flash shockwave 11.5 works for youtube but not amazon instant video

    Shockwave 11.5 r502 works for Youtube but not for Amazon Instant Video.

    Hi,
    It asked me if I wanted to install something to make the videos load faster -
    Check Safari / Preferences - Extensions. Might be lurking there. If so, select the plugin then click Uninstall.
    Check:
    ~/Library/Internet Plug-Ins (~) Tilde character represents your Home folder
    Check:
    /Library/Internet Plug-Ins
    /Library/Application Support
    /Library/Input Managers
    And check your Safari downloads folder. If the file is still there, double click to open. Might be an uninstaller you can use.
    Help here for troubleshooting Flash
    Carolyn
    Message was edited by: Carolyn

  • We had migrated our servers from a domain to cloud. all the web applications working fine locally, but from outside they are accessible but on editing giving 404 with some request id.

    hi all,
    recently we migrated our moss 2007 from a domain to cloud env. everything goes well and all the application working fine locally.
    but when users are trying from outside first they get promt for basic auth, that is enabled, its fine. then servers serve first page smoothly. all the application browsing is fine. but when authorized users are trying to edit a web page and they click on
    anything(save, submit for publication, publish) they get 404 with a request ID. another thing if they add a new page to app and then make any changes to that page then they are not getting any issue.
    please help if any one resolved that kind of issue.
    thanks in advance.
    SJ

    Hi Sumanpreet,
    Thanks for posting your issue, Kindly check out below mentioned URLs to get the fix for this issue
    http://www.sharepointdiary.com/2011/02/404-page-not-found-error-sharepoint-2010-migration.html#ixzz2jHyVIFcX
    http://vasya10.wordpress.com/category/sharepoint-2010/sharepoint-2007-to-2010-migration/
    https://social.technet.microsoft.com/Forums/en-US/d80e7495-e889-4209-9a0a-82a852c944b1/after-migration-from-moss-2007-to-sharepoint-2010-i-tried-to-check-the-site-with-site-url-getting?forum=sharepointadmin
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

Maybe you are looking for

  • Photostream photos lost after IOS 8 update

    Hello, I was wondering if anyone could please help me... every since updating to IOS 8 recently, I can't seem to find my photos that were in my photostream. Can anyone recommend a good photo recovery software or advice on how to retrieve lost photost

  • App store and Mail app are crashing in my mac air 10.9.5

    All my apps are crashing and i am not able to open any of them . App store for Software update and Mail app, Photos app are all crashing. I have OS X 10.9.5 in my system. I removed Parallels trail version and also Clean My Mac app, Still i have the i

  • My iMac no longer detects my apple external monitor

    As a teacher, I moved classrooms this school year.  After the move, my external monitor is no longer detected by my iMac.  I've connected the cords just as they were previously.  When I go to the Systems Preferences > Display, there is no Arrangement

  • Late 2011 Macbook Pro Update 10.8.

    Hello, how is everybody haha. My father came home with a new macbook pro 15 inch retina display latest to come out with the update of 10.8.5 MY macbook pro 15 inch NON-retina was released, according to "About This Mac" was released Late 2011 The soft

  • Router works but when security is on the laptop says that the password is not correct

    I just hooked up a WRT54G v8.0 router. My home computer uses XP and the set up went fine. I have a Mac laptop. When I go unsecured the laptop can use the network. When I set the security on, the laptop login says that the password is incorrect. I hav