I made the program Test.jar which there is a menu to run another program (Hello.jar). I've been looking for and get the following code
callLauncher("javaapp:midlet-name=Hello;midlet-vendor=Vendor");
and
PushRegistry.registerAlarm("Hello",now.getTime()+100);
but not successful - throws ClassNotFoundException
. Is there another way?
API documentation for the method you use (registerAlarm) explains pretty clearly what you did wrong:
Throws:
...ClassNotFoundException
- if the MIDlet class name can not be found in the current MIDlet suite or if this class is not included in any of the MIDlet-<n> records in the descriptor file or the jar file manifest or if themidlet
argument isnull