• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

package statement in a midlet

 
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
reply
    Bookmark Topic Watch Topic
  • New Topic