Question Detail

Hello,
my question is about the requirements i need to do the following:

I need to create an android app, and make it connect to a mysql database to be able to interact with it. I have found that i need to have a php script running on a website to "direct" those queries from android app to database. 
       Therefore, i need to setup a web hosting feature. 

Could i use this kind of hosting (deluxe package):
https://uk.godaddy.com/hosting/web-hosting   

If you can outsource me an external link explaining this, that would be very helpful too.
Thanks in advance,
Antonio


Thread Reply

Anonymous

- 1 years ago

Hello Antonio,

Yes you need a web hosting for creating script in php.

If your purpose is just learning you can use Xampp server (local server) that is free you don't need to pay anything and you can use app locally only.

If you want to use is wide level you need to buy a webserver may we help you for cheap webserver email me on VBage.tech@gmail.com we will help you for purchase. 

Mail me with description of how server do you want.

Bili Greed

- 1 years ago


Just hit this URL  and You will get below JSON data by Json is a lightweight data-interchange format  https://api.androidhive.info/contacts/
 

{

    "contacts": [

        {

                "id": "c200",

                "name": "Ravi Tamada",

                "email": "ravi@gmail.com",

                "address": "xx-xx-xxxx,x - street, x - country",

                "gender" : "male",

                "phone": {

                    "mobile": "+91 0000000000",

                    "home": "00 000000",

                    "office": "00 000000"

                }

        },

        {

                "id": "c201",

                "name": "Johnny Depp",

                "email": "johnny_depp@gmail.com",

                "address": "xx-xx-xxxx,x - street, x - country",

                "gender" : "male",

                "phone": {

                    "mobile": "+91 0000000000",

                    "home": "00 000000",

                    "office": "00 000000"

                }

        },

        .

        .

        .

        .

  ]

}

Anonymous

- 1 years ago

You can own webserver as free find hostinger.org that is free for some time and it gives you also free domain . Try that.