如何使用 j2me APIBridge 访问移动收件箱、通话记录、照片库? [英] how do I access mobile inbox, call log, photo gallery using j2me APIBridge?

查看:22
本文介绍了如何使用 j2me APIBridge 访问移动收件箱、通话记录、照片库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找方法或某种示例,通过它们我可以访问我的手机通话记录或消息收件箱.但是,我没有找到,因为在所有博客中,甚至在这个站点(Stack Overflow)中,每个人都说,这是不可能的.今天,我找到了这个答案,增加了我的希望,我想做.正如 Lucifer 所说,使用 APIBridge 我们可以实现这一点.

I was searching for the method or some kind of examples, by which i can access my mobile phone call logs or message inbox. But, I failed to find, because in all blogs and even in this site (Stack Overflow), everyone saying that, it can't be possible. Today, I found this answer, which increase my hope, which I wanted to do. As Lucifer said, using APIBridge we can achieve this.

然后,我找到了这个例子,其中已经解释了访问通话记录和照片库.但是,当我尝试在手机上使用此示例时,它尝试访问互联网.我检查了代码,但没有在其中找到任何 URL.任何人都可以帮助我理解或如何将这个示例用于我的手机?

Then, I found this example, in which accessing call logs and photo gallery has been explained. But, when i was trying to use this example on my phone, then it tried to access the internet. I checked the code, but didn't find any URL inside it. Can anyone help me to understand or how can I use the this example for my mobile phone?

我正在诺基亚 6700 Classic S40 系列手机上开发.

I am developing on Nokia 6700 Classic S40 Series Phone.

推荐答案

APIBridge Jar 基于 Symbian 操作系统手机,主要是 S60 系列.因此,在您的情况下,您无法使用 APIBridge.jar 读取访问收件箱、通话记录、照片库.

APIBridge Jar is based on Symbian Operating System Phones, mostly S60 Series. So in your case you can not read access Inbox,call logs, photo gallery using APIBridge.jar.

我在此处阅读了 API 桥接接口的详细信息.它是这么说的.APIBridge 是一个 Symbian 服务器,它公开了一个 HTTP 接口,用于服务器与其客户端之间的通信.可以通过对 APIBridge 侦听的本地主机端口进行 http 调用来使用 APIBridge.以下架构图解释了系统的不同部分:

I read the details here for API Bridge Interface. It says that. The APIBridge is a Symbian server that exposes an HTTP interface for communication between the server and its clients. The APIBridge can be used by making an http call to the local host port that the APIBridge listens to. The following architecture diagram explains the different parts of the system:

  • 访问层 J2ME API:
    • J2ME API 为 Java 应用程序提供了一个基于函数的接口到 APIBridge 的服务.它执行以下活动:使用网桥进行身份验证
    • 从函数调用到 APIBridge 的 HTTP 请求,从应用程序开发人员那里抽象出这种复杂性;
    • APIBridge 服务器负责对客户端进行身份验证、接收请求、将请求路由到相应的 APIBridge 插件以执行并返回结果.
    • 插件负责分析请求中的参数,调用适当的 Symbian API 来执行它,并创建 HTTP 响应.

    所以,从上面的描述中可以看出它在 APIBridge 接口中使用了 HTTP 连接,这就是您的应用程序尝试访问 Internet 连接的原因.

    So, from the above description it you can see that it uses HTTP Connection in APIBridge Interface, this is the reason that your application is trying to access the Internet Connection.

    这篇关于如何使用 j2me APIBridge 访问移动收件箱、通话记录、照片库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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