Aadi, just to understand more what you want:

You're trying to have an Android app read/write to a SQLite database 
running on your PC, using the USB connection?

That doesn't sound easy, and I'm not sure it's possible.

To get access over IP to the PC you will have to start by using the 
loopback address of 10.0.2.2, not 127.0.0.1 which is the local address 
INSIDE the android phone where the app is running.

I suggest start with a simple test to check you can reach your PC from 
Android.
Try running a web server on your PC and loading a page from it from the 
Android browser using the 10.0.2.2 address.

If you want to sync two SQLite databases (one on Android device and another 
on the PC) over IP, then that's different - and I'm interested to know more 
about your needs there....(changes on either side, synced, conflict 
resolution, etc).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to