Pages

Search

Showing posts with label How to Know if Map are install or not by Programmatically?. Show all posts
Showing posts with label How to Know if Map are install or not by Programmatically?. Show all posts

Tuesday, December 6, 2011

How to Know if Map are install or not by Programmatically?

Below Point are mention  it


// OS 4.5 - 5.0


int mh1 = CodeModuleManager.getModuleHandle("net_rim_bb_lbs"); 
// OS 6.0
int mh2 = CodeModuleManager.getModuleHandle("net_rim_bb_maps"); if (mh1 == 0 && mh2 == 0) { Dialog.alert("BlackBerry Maps not installed"); }