Hi all! I have a singleTask activity which contains the UI for a long running background service. If the service is currently active and doing something and the user presses the back button, It is certain, that the user will return to the activity later.
So I wrote: @Override public void onBackPressed() { if(!isWorking()) super.onBackPressed(); else { moveTaskToBack(true); } } The problem is, that moveTaskToBack always returns false, and nothing happens on that call. Any ideas on what could probably cause the problem? cheers! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en