I read [this question](https://stackoverflow.com/questions/7494062/storing-large-data-locally-or-online-for-android-app) and wondered if the same would apply to my situation. 

I want to write `accelerometer` values (*x*, *y* and *z*) from an `Android` phone to a `database` and retrieve it with another app on a tablet to display a graph of the values changing over time. This does not have to happen in real time.

So basically my questions are:

1) can two different applications on two different `Android` devices use the same `SQLite` database?

and

2) how do I specify an `IP` so that the one app on the phone writes to a specified database and the other app on the tablet reads from that same specified database?

I can already read the `Accelerometer` values and I know how to create a graph, but I'm having trouble with the database component of my project since everything I come across seems to be storing the values on the device's `SD card` or in a database that is only accessible to the device itself and no other applications or devices.

I've read about specifying a [static IP](http://groups.google.com/group/android-developers/browse_thread/thread/633b83a9739f5bf3?pli=1) by first obtaining a `ContentResolver`: 

```
ContentResolver cr = getContentResolver(); 

```

then adapting the `settings`: 

```
Settings.System.putString(cr, Settings.System.WIFI_USE_STATIC_IP, "1"); 
Settings.System.putString(cr, Settings.System.WIFI_STATIC_IP, "6.6.6.6");

```

and then enabling the `permissions`: `WRITE_SETTINGS` and `WRITE_SECURE_SETTINGS`. 

but I'm not sure where exactly to write this or how to use it correctly.

Please direct me to where I can find some more information regarding setting up `SQLite` databases and how it can be used by two different applications on two different `Android` devices?

Thank you in advance.

P.S. I'll update this question with some of my code soon.