黑莓手机 - 如何启动一个通讯应用程序? [英] BlackBerry - How to start a messenger application?

查看:261
本文介绍了黑莓手机 - 如何启动一个通讯应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用每增加或我的应用程序的任何其他使者,但我不知道该怎么做this.canü请给我关于如何解决这个one.if u能提供我一些网站链接了解想法更多关于这一点。

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.

推荐答案

<一个href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/How_To_-_Launch_a_third_party_application_from_another_third_party_application.html?nodeid=1094023&vernum=0\"相对=nofollow> BB KB - 如何 - 从其他第三方应用程序启动第三方应用程序结果
试试这个标准BB信使:

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"

更新如果你想黑莓开源使者的示例,请参阅:结果
BlackChat - ICQ聊天软件 -
jmIrc - IRC的MIDlet为手机搜索
WLIrc - 针对Java手机或任何其他设备谁支持Java MIDP 1.0(J2ME)的IRC客户端。

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).

这篇关于黑莓手机 - 如何启动一个通讯应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆