Is there a way to launch the compass application in blackberry os7 programmatically?
Asked
Active
Viewed 371 times
-1
-
you can launch another application using ApplicationManager class. – Vivek Kumar Srivastava Nov 21 '11 at 11:46
1 Answers
0
You can launch any Application by using the ApplicationManager.
ApplicationManager.getApplicationManager().launchApplication(Application);
In your case, it would likely be:
ApplicationManager.getApplicationManager().launchApplication("net_rim_bb_compass");

Nico
- 221
- 2
- 14
-
cant i pass parameters to the application to open ccompass in direction i specify like provide longitude latitude.. ? or angle ? – madiha.athar Nov 24 '11 at 10:34
-
You only asked how to launch the compass, therefore my answer was correct. Launching it AND passing parameters is a whole new ball game! – Nico Jan 10 '12 at 18:36