Quantcast
Channel: database – Tech ABC to XYZ
Viewing all articles
Browse latest Browse all 31

How to connect mysql from android without web? [ANSWERED]

$
0
0

How to connect mysql from android without web?

Asked By: Justin
Originally Asked On: 2014-01-06 00:11:31
Asked Via: stackoverflow

everyone.

I making an App.

But when i connect to external DB problem occurred.

So I looked for a way to connect to mysql.

But, all post was explain only use a web servies.

How to connect MySql without web servies?

He received 1 answers
eventually accepting:

user3157423’s answer to

How to connect mysql from android without web?

I don’t know if connecting directly to MySQL DB is safe. if you want to use a local SQL database, you may consider using SQLite.

Read this. you can add your sqlite database file to the assets folder in your application project and then extend and implement SQLiteOpenHelper to perform CRUD operations in your database.

You may also want to take a look at this as well. retrieving data using PHP sever is more secure.

If the selected answer did not help you out, the other answers might!

All Answers For: How to connect mysql from android without web?

user3157423’s answer to

How to connect mysql from android without web?

I don’t know if connecting directly to MySQL DB is safe. if you want to use a local SQL database, you may consider using SQLite.

Read this. you can add your sqlite database file to the assets folder in your application project and then extend and implement SQLiteOpenHelper to perform CRUD operations in your database.

You may also want to take a look at this as well. retrieving data using PHP sever is more secure.

Of course, you should really check out the original question.

The post How to connect mysql from android without web? [ANSWERED] appeared first on Tech ABC to XYZ.


Viewing all articles
Browse latest Browse all 31

Trending Articles