| Author |
Java ME Application running fine in Emulator but crashing when deployed to N70
|
Mohamed Sanaulla
Bartender
Joined: Sep 08, 2007
Posts: 2927
|
|
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
Bartender
Joined: Sep 08, 2007
Posts: 2927
|
|
|
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
|
|
|