Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

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

by Retired on ‎02-16-2010 09:49 AM - edited on ‎09-29-2010 09:31 AM by BlackBerry Development Advisor (5,886 Views)



This article applies to the following:

  • BlackBerry® smartphones based on Java® technology



On the BlackBerry smartphone, you can launch a third-party application from another third-party application. The following code samples demonstrate how this can be done.


Launching a Java application from another Java application


These examples demonstrate how to launch a Java application from another Java application.


Example 1



int modHandle = CodeModuleManager.getModuleHandle("MyApplication");
ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(modHandle);



Example 2



Note: 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.


Users Online
Currently online: 25 members 583 guests
Please welcome our newest community members: