Home > Mobile >  Consult, Android connect the mysql database
Consult, Android connect the mysql database

Time:10-04

Could you tell me how to connect to the mysql database Android and will show all the data in the database to mobile phone APP? Hope to have the code

CodePudding user response:

The
refer to the original poster weixin_44967873 response:
could you tell me how to connect to the mysql database Android, and will show all the data in the database to mobile phone APP? Hope to have the code

Android with sqlite

CodePudding user response:

I use this app # CSDN# found have technical content of the blog and friends to seek common to "[Android] SQLite database basic usage explanation" (very simple), gathered together at https://blog.csdn.net/midnight_time/article/details/80834198? Utm_source=app

CodePudding user response:

Under reference this example
https://blog.csdn.net/csdnzouqi/article/details/87382143

CodePudding user response:

reference 1st floor Nonoas response:
Quote: refer to the original poster weixin_44967873 response:
could you tell me how to connect to the mysql database Android, and will show all the data in the database to mobile phone APP? Hope to have the code

Android USES the sqlite

That if I connect the mysql database from novice to write Android applications need to learn what? Now self-study Java, sprout new

CodePudding user response:

You can see the usage, JDBC for the Java connection mysql to use, or write a server, android get/upload data access server, the server parses the data into/out the database (see what use, tomcat JDBC)
Review, Chou Chou JDBC use,,,