Connecting to external database - Android application

后端 未结 5 730
醉话见心
醉话见心 2020-12-07 18:12

I am writing an application for my third year project. The application will require interaction with an external mySQL database. The application will retrieve data from the

5条回答
  •  心在旅途
    2020-12-07 18:38

    Yes you have to create Web Service to interact with External Database (MySql in your case). Its very easy to create Web service in PHP as its having one function which convert your DB data to JSON and you can easily parse the JSON data and display that in Listview or accordingly your requirement.

    Here are some useful link which will help you to get more details :-

    http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/ - Best from All

    http://www.coderzheaven.com/2011/04/08/android-phpmysql-connection/

    http://blog.sptechnolab.com/2011/02/10/android/android-connecting-to-mysql-using-php/

    Hope it helps.

提交回复
热议问题