If you start activity B with an intent like so:

Intent i=new Intent(ActivityA.this, ActivityB.class);
startActivity(i);

You should be able to simply put finish() after startActivity like so:

...
startActivity(i);
finish();

Should work exactly as you state.  The launch of activity B pauses A
and when B 'returns' it should continue where it left off.

On Dec 3, 8:08 pm, Ampereo <ampe...@gmail.com> wrote:
> I don't know why this is becoming such a problem for me when it seems
> like it should be relatively easy.
> I have an activity A that starts a new activity B with startActivity.
> A has a process running while B is up and when that process is done I
> want A to call finish() on B. If anybody could help me out that would
> be great. Thanks in advance.

-- 
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

Reply via email to