Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
527 views
in Technique[技术] by (71.8m points)

java - how do I access mobile inbox, call log, photo gallery using j2me 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.

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?

I am developing on Nokia 6700 Classic S40 Series Phone.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.

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:

enter image description here

  • Access Layer J2ME API :
    • The J2ME API provides java applications with a function-based interface to the services of the APIBridge. It performs the following activities: Authentication with the Bridge
    • HTTP requests to the APIBridge from the function calls, abstracting this complexity from the application developer;
  • Framework Layer APIBridge Server :
    • The APIBridge Server is responsible for authenticating clients, receiving requests, routing requests to the appropriate APIBridge plug-in for execution, and returning the results.
  • ECOM Plug-ins Layer Plug-ins :
    • Plug-ins are responsible for analyzing the parameters in the request, calling the appropriate Symbian APIs to execute it, and creating the HTTP response.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...