wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Java ME Application running fine in Emulator but crashing when deployed to N70 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Java ME Application running fine in Emulator but crashing when deployed to N70" Watch "Java ME Application running fine in Emulator but crashing when deployed to N70" New topic
Author

Java ME Application running fine in Emulator but crashing when deployed to N70

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3064
    
  33

I have developed a Java ME application for CLDC platform. It works fine when executed in an emulator. But when i deploy it to my N70 phone the application doesn't start at all in the phone. In my application there are some 14 classes and am creating an instance of each and putting them in the vector on application start. The classes just have one variable and 2 methods. Can this creating of lot of instances be the reason for its crashing?

Is there any way I can find out the reason why the application is not able to start in the phone?


Mohamed Sanaulla | My Blog
him jain
Ranch Hand

Joined: Feb 05, 2010
Posts: 56
Check what config and profile you have selected?
Make it :
MIDP 2.0 and CLDC 1.1
then try to deploy the app and tell if that made any diff.


--Himanshu Jain
http://jainhim.blogspot.com/
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3064
    
  33

I had posted this query on StackOverflow as well and was able to identify the reason for this- I was creating an instance in the constructor which was leading to this problem.
 
 
subject: Java ME Application running fine in Emulator but crashing when deployed to N70
 
Similar Threads
problem with j2me and nokia phone, characters does not change after pressing buttons.
Button issue
How can I correct java applications that fail to run on mobile phone?
Uncaught exception java/lang/OutOfMemoryError while running application in Nokia S60
I am having problem while deploying and running my J2ME game on Nokia 3510 phone Plz