1. Download our Official Android App: Forums for Android!

Apps Android phones connecting web server in APPS?

Discussion in 'Android Development' started by Newbies, Aug 17, 2010.

  1. Newbies

    Newbies Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 17, 2010

    Aug 17, 2010
    1
    0
    5
    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    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...