Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-11 Thread TreKing
On Tue, Feb 11, 2014 at 12:41 AM, Muhammad Rashid muhammad.rash...@gmail.com wrote: 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. Well, honestly, that's not really a valid

Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-11 Thread Muhammad Rashid
I agreed. Thanks a lot. On Tue, Feb 11, 2014 at 10:08 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 11, 2014 at 12:41 AM, Muhammad Rashid muhammad.rash...@gmail.com wrote: Actually I am showing lot of data in the listview of main activity and I do not want to reload data for

[android-developers] Move app to background from main (launcher) activity of App

2014-02-10 Thread Muhammad Rashid
Hi, I would like to say that how to send app to background from main(launcher) activity of app on back press. This function *moveTaskToBack(false)* didn't not work all the times. Regards, Muhammad Rashid -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-10 Thread TreKing
On Mon, Feb 10, 2014 at 2:03 AM, Muhammad Rashid muhammad.rash...@gmail.com 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

Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-10 Thread Muhammad Rashid
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 treking...@gmail.com wrote: On Mon, Feb 10, 2014