[android-developers] Re: How to close all activities in a app

2010-05-05 Thread SREEHARI
Hi, U can solve that problem by giving finish() inside onStop() of Activity A. I tried this and it works. Regards, SREEHARI -- 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@googleg

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
Thanks Jamesc, I will post another question:) Thanks! On May 3, 4:37 pm, jamesc wrote: > Well, that's a different problem :-) > > Have you searched on this forum to see if anyone else has had the same > issue (re: transparency)?  I tried and do get a lot of hits for > 'transparent+black'.  Altern

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread jamesc
Well, that's a different problem :-) Have you searched on this forum to see if anyone else has had the same issue (re: transparency)? I tried and do get a lot of hits for 'transparent+black'. Alternatively, if you don't find any solutions, just post another question relating to the new issue. C

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
I did try "startActivityForResult" however, i get trouble with this because my Activity B is a translucent OpenGL activity, with activity A as a background when I use startActivityForResult, the "translucent" effect cannot be used, it becomes black in color:( On May 3, 3:48 pm, jamesc wrote: > Us

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread jamesc
Use Activity.setResult() with your own defined result value, then call Activity.finish(). So, B will call setResult() then finish(). A will now be at the top of the task, and the finish() called by B will result in a call to A's onActivityResult() (that is providing that B was started with startA

[android-developers] Re: How to close all activities in a app

2010-05-03 Thread CMF
however it just close activity B:( On May 3, 12:56 pm, Saurav wrote: > well there is a function called .finish() > > this wud suffice ur needs i guess. > > hope this helps. > > Regards, > Saurav Mukherjee. > > On Mon, May 3, 2010 at 8:52 AM, CMF wrote: > > I have two activities,A ,B > > A will s