Saturday, December 26, 2009

[android-developers] Re: Getting Data off the Net

Hi Skid - maybe android.util.Xml is a place to start looking at how to
read the XML on the android side.

Are you planning to poll your server every minute?

Does anybody have a suggestion for a server-push design as an
alternative to polling?


On Dec 24, 7:40 pm, Jeffrey <jeffisagen...@gmail.com> wrote:
> I'm assuming if he did he would not be asking...
>
> On Dec 24, 4:58 pm, Frank Weiss <fewe...@gmail.com> wrote:
>
> > You don't know how to create an XML response in PHP or how to access it from
> > Android?
>
> > On Dec 24, 2009 12:44 PM, "Skid" <nski...@googlemail.com> wrote:
>
> > I have no experience in this sort of thing which is why I'm asking for
> > advise, I need to pull data off a MySQL database on my server, the
> > data doesn't need to be updated contently just ever minute at the very
> > least. I want to do it by sending a http request to a php page and
> > have that php page create xml page that the android app would read and
> > then work with.
>
> > The reason I would like to do it that way is just because I know php
> > better then I know java and its something I've done before when
> > working with AJAX. However I don't know how to go about doing this, or
> > even if this would be a good way to do it in the first place, so I
> > could use some advise on the matter.
>
> > If someone could point me to a code snippit I could play around with
> > to do this I would appreciate it.
>
> > Thanks,
> > :) Skid :)
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscribe@googlegroups.com<android-developers%2Bunsubs cribe@googlegroups.com>
> > For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate