Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

package statement in a midlet

 
Danish Shaukat
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

I've made a simple HelloWorld midlet.
And I have a package statement in my midlet class, something like this:

package com.mycompany.client.myapp;

I am building my app using Antenna. In the JAD file I do get the fuly qualified name of my midlet class, that is:

com.mycompany.client.myapp.HelloWorld

Things work perfectly fine on my emulator.

But once I install my midlet on a phone (3650), it just fails to launch. No error msgs etc.

Now, when I remove the package statement and then install, the mildet runs ...

Has anyone else faced this probem. What do you think is going wrong...

Danish
 
Johann Evans
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your class file in the right folder i.e. com/mycompany/client/myapp ?
If so, maybe post your jad file and manifest file in the jar...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic