I would like to use gtalk or any other messenger in my application but i don't know how to do this.can u please give me idea about how to solve this one.if u can provide me some web link to know more about this.
+4
A:
BB KB - How To - Launch a third-party application from another third-party application
Try this for standard BB Messanger:
int mh = CodeModuleManager.getModuleHandle("net_rim_bb_qm_peer");
if (mh == 0) {
try {
throw new ApplicationManagerException(
"BB Messanger isn't installed");
} catch (ApplicationManagerException e) {
System.out.println(e.getMessage());
}
}
ApplicationDescriptor ad = CodeModuleManager
.getApplicationDescriptors(mh)[0];
ApplicationDescriptor ad2 = new ApplicationDescriptor(ad, null);
try {
ApplicationManager.getApplicationManager()
.runApplication(ad2, true);
} catch (ApplicationManagerException e) {
System.out.println(e.getMessage());
}
You can start any other app by module name, just replace
"net_rim_bb_qm_peer"
UPDATE And if you want examples of blackberry open source messengers, see:
BlackChat - ICQ chatting software
jmIrc - IRC MIDlet for mobile phones
WLIrc - IRC Client for Java cell phones or any other device who support java MIDP 1.0 (j2ME).
Max Gontar
2009-12-01 15:27:31
Hi coldice i dont want to use BBMessanger.i want use jabber protocol.Do you have any idea about how to create jabber client application for gtalk or some other messanger
Kumar
2009-12-02 10:02:41
Hi, see update.
Max Gontar
2009-12-02 16:52:46
A:
well, How can I launch the blackberry messenger with a certain PIN. What I mean is I have button called Live Support in my app, when user clicks on the button, i want to launch the BBM with my PIN. How can i do that?
hiennt
2010-05-21 17:35:35