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 ?

mipe34
  • 5,596
  • 3
  • 26
  • 38
  • 1
    check this easy and awesome tutorial..http://www.androidhive.info/2011/11/android-sqlite-database-tutorial/ – TheFlash May 23 '13 at 11:30
  • Meghana Mathur A also check this..http://champakonline.blogspot.in/2011/12/basic-android-database-example.html – TheFlash May 23 '13 at 11:40
  • read this tutorial may be help you http://blog.sptechnolab.com/2011/02/10/android/android-connecting-to-mysql-using-php/ – Hemantvc May 23 '13 at 11:45

1 Answers1

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

MDMalik
  • 3,951
  • 2
  • 25
  • 39