File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I correct java applications that fail to run on mobile phone?

 
Habtamu Aboma
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed application using j2me.I used MIDP 2.1 and CLDC 1.1 .When I install it on N70 nokia mobile phone it will not function properly.It works properly when I run it using emulator.How can I fix the problem?
 
Arnb Sen
Ranch Hand
Posts: 145
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If N70 supports filesystem access, you might consider logging and writing to the filesystem...
 
Rashid Mayes
Ranch Hand
Posts: 160
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you describe the problem in greater detail?
 
Habtamu Aboma
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed mobile application program using MIDP 2.1 . I ported it to Nokia N70. But it fails to run on N70 because N70 supports MIDP 2.0 .How can I run my application program on N70 mobile phone.what is the difference between MIDP 2.1 and MIDP 2.0?
Thanks!
 
George Kalfas
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using the Sun Wireless Toolkit try changing your project's properties from MIDP 2.1 to MIDP 2.0.
This can be done from the menu Project -> Settings -> API Selection -> Custom -> Profiles MIDP 2.0.

After pressing OK, rebuilt the project, create the package again (Project -> Package -> Create package), and transmit the jar file to the mobile device.

I hope this works for you!
 
Syam Sathyan George
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a similar problem while trying to install a j2me app long back(when i was a beginner).
I carefully filled up the 'vendor name' etc into the JAD and unticked the unwanted libraries,this solved the issue.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic