Thank you very much for your reply. Actually I am showing lot of data in
the listview of main activity and I do not want to reload data for listview
on exit. So I am willing to send app to background.


On Mon, Feb 10, 2014 at 10:39 PM, TreKing <[email protected]> wrote:

>
> On Mon, Feb 10, 2014 at 2:03 AM, Muhammad Rashid <
> [email protected]> wrote:
>
>> I would like to say that how to send app to background from
>> main(launcher) activity of app on back press.
>
>
> What are you trying to do? Pressing back should close / kill the current
> activity. Why do you want it to continue in the background?
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Regards,
Muhammad Rashid
+923214917948

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to