[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-13 Thread Bob Kerns
[Message delayed due to technical difficulties..] raqz and I have been discussing this off-list, so just to sync things up a bit... Raqz asked me about JSON -- possibly in response to your suggestion. It's a good suggestion to consider. I tend to suggest XML by default, because it's more

Re: [android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread Mark Murphy
Anthoni wrote: Hi raqz, I saw your previous post in that you were sending lists of friends via serialization and were advised to use xml instead. Instead of XML you could also use JSON as it is more lightweight than using XML and doesn't take long to implement. I was using XML as my back

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread MobDev
Thought you actually could according to this article I read couple of weeks ago : http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E Says you can use the XmlSerializer object for that ? On 12 apr, 14:34, Mark Murphy mmur...@commonsware.com wrote: Anthoni wrote:

Re: [android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread Mark Murphy
MobDev wrote: Thought you actually could according to this article I read couple of weeks ago : http://www.ibm.com/developerworks/opensource/library/x-android/index.html#N1029E Says you can use the XmlSerializer object for that ? Every day, I find something else tucked away in some obscure

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread Bob Kerns
You can also use XmlSerializer to serialize a DOM, together with about a page of code to walk the DOM. That's a whole lot more painful than it ought to be, but it's better than writing XML tags yourself, which if you find yourself doing, you're doing something wrong. On Apr 12, 5:57 am, Mark

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-12 Thread Anthoni
Still prefer JSON, but if talking to legacy systems then you have no choice to go the XML route. Luckily I have total control over back end server process so I have gone the former route. However, been informed my next program might have to talk to XML back end (SOAP) and was looking into kSoap,

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-11 Thread raqz
Hi, I just tried reading a tutorial and created my app using SAX but its not working for some reason and I have no idea why :) Could some one try helping me Thanks in advance, raqz On Apr 11, 12:23 am, raqz abdulraqee...@gmail.com wrote: Hi, Could some one please tell me the basic steps that

[android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-11 Thread Anthoni
Hi raqz, I saw your previous post in that you were sending lists of friends via serialization and were advised to use xml instead. Instead of XML you could also use JSON as it is more lightweight than using XML and doesn't take long to implement. I was using XML as my back end for my database to

Re: [android-developers] Re: Steps to transfer a simple object from server to android using XML

2010-04-11 Thread ~ TreKing
On Sun, Apr 11, 2010 at 2:50 AM, raqz abdulraqee...@gmail.com wrote: Hi, I just tried reading a tutorial and created my app using SAX but its not working for some reason and I have no idea why :) Could some one try helping me Let me ask you this: if you, who wrote your project and have all