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