Sreeram Boyapati
Sreeram Boyapati

Reputation: 89

Shipping MySQL Database with android app

I have created an app which needs a local database. i have made the database using MYSQL. How to connect the database to the app

Upvotes: 0

Views: 270

Answers (1)

Boris Strandjev
Boris Strandjev

Reputation: 46943

You can not connect MySQL database to android application on the device (I have heard of very few solutions that require installing additional software or device rooting). The only option you have is SQLite - this is natively supported by the DB API of the Android SDK.

EDIT: Here is a presentation I have prepared regarding databases in Android and here is a prototype application that demonstrates them (it includes example of shipping database with the application)

Upvotes: 1

Related Questions