Is this a trick question? Some web app protocols do this! I admit that
they're way out of date, but that design pattern is still around
haunting us.

Storing state data for a web app is not always that easy.

Fortunately, Android can handle this better than some old web
frameworks. A database is a good solution, especially since they're
relatively easy to set up.

On Mar 13, 6:16 am, Mark Murphy <[email protected]> wrote:
> On Sun, Mar 13, 2011 at 8:49 AM, Chetan Singh Bisht
>
> <[email protected]> wrote:
> > hi, i am developing a final year project where i need to retrieve
> > details of hospitals like name ,address, location(in terms of latitude
> > and longitude) from a server and display them on a map....connectivity
> > has been established and i am able to retrieve the values in the from
> > of array like address[], name[] etc..
>
> > now i need to pass these values from an activity class to map activity
> > class..
>
> What you really need is a central spot to hold that data, such as a database.
>
> Think of a Web app. Would you pass the entire contents of your
> "details of hospitals" in GET parameters from one Web page to another?
> Or would you hold the "details of hospitals" in a central place (Web
> server) and use the data from both pages?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android 3.0 Programming Books:http://commonsware.com/books

-- 
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