Open other apps of your application

I know that you can call SMS and EMail applications accordingly, but is it possible to "find" and "invoke" another app?

On Android, you can search for the customer 'twitter' and it will open and allow you to tweet using the native client. can you do the same thing for facebook / twitter RIM native apps?

Thank you

Harry

Use CodeModuleManager to get a handle to the app:

mapsHandle = CodeModuleManager.getModuleHandle ("Google maps");

If the handle is > 0, then it has been found.

 

Now create a descriptor of the App:

 

ApplicationDescriptor ad = CodeModuleManager.getApplicationDescriptors (m_mapsHandle) [0];
ApplicationDescriptor ad2 = new ApplicationDescriptor (ad, args);

Then use ApplicationManager to call:

 

try {}
ApplicationManager.getApplicationManager () .runApplication (ad2, true);
}
{} catch (ApplicationManagerException e)
throw e;
}

See the javadocs for more details.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for