Skip to content Skip to sidebar Skip to footer

How Can I Connect Mysql With Android Project Using Mysql Jdbc Driver?

I want to get data from table in MySQL and to show it in TextView, but I have some problems when I try to connect with database. I'm using Eclipse for Android, and when I try to ge

Solution 1:

In most cases android apps do not connect directly to a database, as this means you have to store and expose connection information right in your app.

You should implement a web service that allows interaction with your database.

There are rare cases when a direct connection to a MySQL server makes sense, e.g. if you are writing query tool or MySQL server management tool.

Post a Comment for "How Can I Connect Mysql With Android Project Using Mysql Jdbc Driver?"