Also recommends REST services and using JSON.
Recommends Playframework as server for implementing REST services.
On the client side you can use a RestClient class to help you with
communication. Google for it.
Use the AsyncTask object for handling server communication in
background.
Use the org.json.JSONObject for disassembling the json object.

I guess you can find a couple of tutorials to guide you.

Hardy Henneberg
http://www.maxikeys.com


On Nov 8, 2:57 am, Francisco Dalla Rosa soares <[email protected]> wrote:
> create a REST API to do the operations you need. That's the easiest and
> cleanest way.
>
> 2011/11/8 fba <[email protected]>
>
>
>
>
>
>
>
>
>
> > Hi Charan,
>
> > There isn't an easy way in Android to access a remote database.   I
> > suppose you could dig around and figure out how mysql communicates
> > across the network, and then develop an interface from there.
> > However, it seems that would be pretty involved.
>
> > I had a need to do something similar with a previous project.  The
> > "easiest" way I could find was to hack up a little PHP to run on
> > Apache that would output the data I needed in XML.   I could then put
> > the XML through the SAX parser, and end up with the data I needed.   I
> > suspect something like this is going to be your best bet.
>
> > On Nov 6, 6:19 am, Charan <[email protected]> wrote:
> > > Hello members,
>
> > > I am a novice android app developer. As of now i'm developing an app,
> > that
> > > needs to communicate with remote database.
>
> > > I tried using web service but that not working to me. Please provide me
> > > complete information from A to Z steps in conencting, communicating, get
> > > response from remote database. i am using mysql has remote database.
>
> > > Please respond quickly, urgent help needed.
>
> > > Thanking you,
> > > --
> > > With Regards,
> > > Charan Kumar
>
> > > "COMPARISON IS THE BEST WAY TO JUDGE YOUR PROGRESS.
> > > BUT DON'T COMPARE WITH OTHERS, COMPARE YOUR YESTERDAY WITH YOUR TODAY"
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> 株式会社アルゴ ARGO Inc.
> 〒130-0012
> 東京都墨田区太平3-11-10
> NTKオオノビル8階
>
> ソアレス フランシスコ ( Soares Francisco )
> Mail : [email protected] HP :http://www.argo.bz/
> TEL:03-5619-4511 FAX:03-5619-4512

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to