Monday, February 2, 2009

How To - Launch a third party application from another third party application


On the handheld, you can launch a third party application from another third party application. The code sample below demonstrates how this can be done.
Code:
int modHandle = CodeModuleManager.getModuleHandle("MyApplication");
ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(modHandle);
ApplicationManager.getApplicationManager().runApplication(apDes[0]);


An application can also schedule another application to be launched at a specific time. This can be done through the use of the ApplicationManager.scheduleApplication method.

No comments:

Post a Comment

Place your comments here...