Android phones connecting web server in APPS?


Last Updated:

  1. Newbies

    Newbies New Member This Topic's Starter

    Joined:
    Aug 17, 2010
    Messages:
    1
    Likes Received:
    0
    I have already built a website and having a fixed domain, and it's a blog system,
    all blog datas and users datas will be saved in SQL server, and all programmed by PHP.

    and now I am thinking about building an android applications that allows users typing diaries in the
    interface, datas will be sent to sql server by pressing the button "Post".

    Apart from a faked browser in application, is there any alternative ways to connect the sql database of specific web server in android application programming?

    Thanks for your helps
     

    Advertisement
  2. jonbonazza

    jonbonazza Well-Known Member

    Joined:
    Jul 13, 2010
    Messages:
    1,934
    Likes Received:
    458
    Create a PHP file on your server that will handle the items sent by the phone, then on the android phone, send the items over as an Array of NameValuePair objects via HttpPost.
     

Share This Page

Loading...