Check whether BlackBerry maps app is installed -


I want to know whether the API can check whether "Blackberry Maps" is installed on one device. I have a Blackberry app, and if I want to call "Blackberry Maps" from this app or "Blackberry Maps" is not yet installed, then have to throw an error.

above OS 6.0, you need to check the second code module

  int mh1 = CodeModuleManager.getModuleHandle ("net_rim_bb_lbs"); // OS 4.5 - 5.0 inch MH2 = CodeMyD Manager. Gate ModuleHandle ("net_rim_bb_maps"); // OS 6.0 if (mh1 == 0 & amp; amp; mh2 == 0) {Dialog.alert ("Blackberry Maps is not installed"); }  

Comments