1. Check out our app, Forums for Android! Download and leave feedback here!

Android phones connecting web server in APPS?

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

  1. Newbies

    Newbies New Member
    Thread Starter
    5

    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 Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    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...