bb-messenger

Programmatically share the text in BBM blackberry

99封情书 提交于 2019-11-29 17:05:46
I need to share my text in BBM, i have tried this code protected void sendBBM() { BlackBerryMessenger bbm = BlackBerryMessenger.getInstance(); int moduleHandle = CodeModuleManager.getModuleHandle("net_rim_bb_qm_peer"); ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(moduleHandle); try { ApplicationManager.getApplicationManager().launchApplication("net_rim_bb_qm_peer"); } catch (ApplicationManagerException e) { e.printStackTrace(); } } it's going to BBM menu in simulator . but, when i run in my 9300 Mobile it's going to catch statement( Error starting null: null ),

Programmatically share the text in BBM blackberry

风格不统一 提交于 2019-11-28 10:27:39
问题 I need to share my text in BBM, i have tried this code protected void sendBBM() { BlackBerryMessenger bbm = BlackBerryMessenger.getInstance(); int moduleHandle = CodeModuleManager.getModuleHandle("net_rim_bb_qm_peer"); ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(moduleHandle); try { ApplicationManager.getApplicationManager().launchApplication("net_rim_bb_qm_peer"); } catch (ApplicationManagerException e) { e.printStackTrace(); } } it's going to BBM menu in