Skip to main content

Unable to launch Personal_Profile-phoneme_advanced_mr2 on the HTC p3400i

2 replies [Last post]
kkccss
Offline
Joined: 2008-07-07
Points: 0

Hi,

I have installed Personal_Profile-phoneme_advanced_mr2_b125-win32_arm_wm6-bin-rev18848.cab 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.
davyp
Offline
Joined: 2007-01-03
Points: 0

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

http://www.cs.kuleuven.be/~davy/phoneme/?q=node/22

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 manifest.mf file and package the jar as follows:

jar cvfm hello.jar manifest.mf hello/*

Hope this helps,
Davy

davyp
Offline
Joined: 2007-01-03
Points: 0

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.

Davy