-1

Is there a way to launch the compass application in blackberry os7 programmatically?

Nico
  • 221
  • 2
  • 14
madiha.athar
  • 1,103
  • 3
  • 12
  • 25

1 Answers1

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