1

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 ?

3

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

2 Comments

yes please.... but do have to get something else installed in the mobile to run the JSON code run for the app???
no no JSON mainly convert response from the web-page (webserver) to ArrayList , HashMap.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.