Skip to main content

Unable to launch Personal_Profile-phoneme_advanced_mr2 on the HTC p3400i

2 replies [Last post]
Joined: 2008-07-07


I have installed on HTC p3400i mobile which is having Windows Mobile 6 platform.

It got installed on it but when i tried to launch or execute, it is not running ....displaying 'Main class missing' and goes off.

Please suggest how to execute it on the mobile.

Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-01-03

Have a look at section 2 (Run phoneME Advanced) on my phoneme website to see how can
create a startup file for your application:

The cab file also has a phoneme.exe application that allows you to select a jar file to execute.
In that case you should make sure that the jar has a proper manifest that allows you to execute
the application. On a desktop, this would mean you could run the application as follows: in:

java -jar hello.jar

Based on the error 'Main class missing', I think your manifest file is missing a Main-Class entry.
This is how a manifest file might look like:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.2
Created-By: 1.4.2_06-b03 (Sun Microsystems Inc.)
Main-Class: hello.Hello

You should create such a file and package the jar as follows:

jar cvfm hello.jar hello/*

Hope this helps,

Joined: 2007-01-03

Ah, ... and if the application you are trying to run is not a midlet but a 'regular' CDC
application, you may wish to post in the phoneME Advanced forum instead as this is
the phoneME Feature forum.