Re: [android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Francisco M. Marzoa Alonso
Hi, Thanks by your advices. I do not need validation against schema nor XML structure neither, so I will start directly with JSON. Thanks a lot, On 09/06/12 15:25, Chris Mawata wrote: > The built in http client is the usual Apache HttpClient so it can handle > the passing of a cookies for you.

[android-developers] Re: Data interchange with a PHP server

2012-06-09 Thread Chris Mawata
The built in http client is the usual Apache HttpClient so it can handle the passing of a cookies for you. I would suggest you make the program actually work and produce correct results before worrying about speed. First worry about what you need. For example do you need validation against a

Re: [android-developers] Re: Data interchange with a PHP server

2012-06-08 Thread Francisco M. Marzoa Alonso
Hi, For JS it is clear that JSON will be faster, but what is the better choose in Java for Android? I mean, is it JSON parsed faster than XML on Dalvik? And for the authentication I used to use PHP sessions and cookies when developing web pagers. Will be this also the prefered way to do it with

[android-developers] Re: Data interchange with a PHP server

2012-06-08 Thread Chris Mawata
There is an HTTP client on Android. When you talk about parsing strings, what structure do you have? There are facilities for handling JSON and XML. On Friday, June 8, 2012 6:48:22 AM UTC-4, Fran wrote: > Hi there, > > I need to interchange data between my Android app, written in Java using >