Meghana Mathur A
Meghana Mathur A

Reputation: 65

SQL database to android SQLite database

I've a table named student. I need to display attendance details of student by passing Student_ID. Database uses normal MySQL database on server-side to maintain the attendance register.

How to connect that MySQL Server to Android Application ?

Upvotes: 1

Views: 171

Answers (1)

MDMalik
MDMalik

Reputation: 4001

You can refer to this tutorial but you do need a web-server for it.

Request mechanism
Android App ----> webserver ------> database (mysql)

Respond mechanism
Android App <---- webserver <------ database (mysql)

Android App will use JSON or other to get the data and display it

Upvotes: 1

Related Questions