Thank you everyone out here for your great input.

 This requirement was from our sales team and I have made them
understand of these scenarios. I think, definitely will be a different
approach..

On May 13, 3:01 pm, TreKing <[email protected]> wrote:
> On Thu, May 13, 2010 at 1:30 PM, dillipk <[email protected]> wrote:
> > Basically my requirement is,  as soon as you try to leave out of
> > the screen(Whether by hitting BACK key), it makes a HTTP request (by sending
> > some data from the current screen)  to get some data from the server and
> > once it receives the response from the server, it can leave out.
>
> This is a terrible requirement. Get rid of it. What could your app possibly
> need with an HTTP connection as it's closing?
>
> If you must send and / or receive data when the user is exiting your app,
> start a service to do it in the background.
>
> -------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking
>
> --
> 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 
> 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 [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