Reputation: 305
I am trying to read SMS (to start off with) that are stored in my Android phone, from a Win 7 machine. I am yet to figure out the API/Interface that I can/should use. I am okay with whatever language it is going to be. Hope someone can point me in the right direction. It need not be as straight as an API. I am okay with some sort of hacks also.
Upvotes: 3
Views: 473
Reputation: 15089
There are two solutions I thought of,
If your phone is rooted
, use adb pull
to get the SMS Database
, it's in the Contacts
package
Write an Android application with a BroadcastReceiver
to listen for new messages. When a new one comes, wrote down its info to a file. Use adb
to get this file.
Upvotes: 3
Reputation: 24820
I dont think there are any APIs to read messages.
Maybe you can do this.
Write an app which will open a Localsocket and listen. Then through adb you will have to open this same socket from windows 7. You will have to transfer data through this socket.
Upvotes: 0