• 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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...
 
Acetylsalicylic acid is aspirin. This could be handy too:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic