- Send data to server database from Android Application. | server side connectivity in android | PHP | MySQL | Android | Free hosting for android

Shaping the great minds.

Saturday, 3 June 2017

Send data to server database from Android Application. | server side connectivity in android | PHP | MySQL | Android | Free hosting for android

First of all, create account on www.hostinger.in. That provides free sql server database and phpMyAdmin. then after create new hosting account using your cpanel. after that click on "Manage" link, under the Hosting account tab. by clicking on that you will redirect to admin panel of your hosting plan. now on that page, you will find out MySQL database field under database category. click on that and create new database. now go to the admin panel of your hosting plan and click on phpMyAdmin field under database category and enter into phpMyAdmin.


www.hostinger.in

In PHP MyAdmin click on create new table and create database table.

Now download fileZilla from https://filezilla-project.org. and run fileZilla application. and do 'quick connect' using host,username and password. After that open notepad and do copy-paste code given in below link.

you will get information about servername, username, password and dbname from your dashboard of admin panel. after that save that notepad document as .php file and upload it on public_html folder from filezilla(Drag and drop).


FileZilla
Now server side work is done. you can test service by putting hosting IP on URL tab of browser.
now create new android app on android studio to send data on server. copy code given in below link.

and paste it on java file of android activity from where you want to send the data. 
i.e mainactivity.java. just modify link on httppost.

done.

phpMyAdmin
Android App
, ,

2 comments:

  1. Your post really grabbed my attention and interest for the reason that the content is simple and meaningful. I am working with android app developer california and they have also helped me alot in this matter.

    ReplyDelete
    Replies
    1. Thank you, feeling appreciated.����

      Delete