It depends on what you mean by "background". If you want the Activity to disappear and not to anything until next time, save your state and call finish(). OTOH, if you want it to continue doing something in the background, you can run a Service as part of your app.
Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 29, 11:12 am, Mark Murphy <[email protected]> wrote: > Safy wrote: > > How can I push application from foreground to background on > > keyevent. In Blackberry you have a function called request background > > which pushes the UI application from foreground to background. How can > > I achieve this functionality in Android, is this possible ? > > Have the user press the HOME key. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 1.0 Available! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

