[android-developers] Re: send activity in background

2008-12-11 Thread Andrew Stadler
The way to "send my activity" to the background is to send another activity to the foreground... All you have to do is create an Intent and call startActivity(). On Thu, Dec 11, 2008 at 3:17 AM, sthustfo <[EMAIL PROTECTED]> wrote: > Hi, > > How do I send my activity to background when user pres

[android-developers] Re: send activity in background

2008-12-11 Thread sthustfo
Thanks. But in that case, I would need to remember the top most activity of the entire android stack (of other applications). I basically need to send my application and all its related activities to background. I have used 'moveTaskToBack' which moves it to background. But I am not sure if this

[android-developers] Re: send activity in background

2008-12-11 Thread Dianne Hackborn
There is a method on Activity to send your task to the background. On Thu, Dec 11, 2008 at 8:43 AM, sthustfo wrote: > Thanks. But in that case, I would need to remember the top most activity of > the entire android stack (of other applications). I basically need to send > my application and all

[android-developers] Re: send activity in background

2008-12-12 Thread sthustfo
Hi Dianne, Could you pls be more specific and indicate the method? Is it not 'moveTaskToBack'? Thanks On Fri, Dec 12, 2008 at 3:45 AM, Dianne Hackborn wrote: > There is a method on Activity to send your task to the background. > > On Thu, Dec 11, 2008 at 8:43 AM, sthustfo wrote: > >> Thanks. B

[android-developers] Re: send activity in background

2008-12-12 Thread Dianne Hackborn
That sounds like the one. On Fri, Dec 12, 2008 at 7:12 AM, sthustfo wrote: > Hi Dianne, > > Could you pls be more specific and indicate the method? Is it not > 'moveTaskToBack'? > > Thanks > > On Fri, Dec 12, 2008 at 3:45 AM, Dianne Hackborn wrote: > >> There is a method on Activity to send your