0

I'm developing an application in android. I use an sqlite3 database. But I need to implement in mysql database using wamp server.

1
  • Do you want to connect to an external database? Commented Mar 16, 2011 at 9:37

1 Answer 1

3

You'll have to use PHP scripts which handle all the database things on your WAMP. This script will react as a bridge between your MySql and Android.

After this, make network requests to this script from your Android device and get data returned by the database.

You must understand that MySql isn't available to Android devices locally, thus you can't access it the way you access sqlite on a device. To get this, you'll have to implement something like a webservice.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.