Friday, April 23, 2010

[android-developers] Re: activity that just forwards to another

Have you tried using Activity.finish()? For example,

srcActivity.startActivity(intent);
srcActivity.finish(); // remove current activity from stack
to avoid display due to back button


On Apr 23, 8:04 am, Dag Rende <d...@rende.se> wrote:
> I have written an app thar can handle a vCard attachment from a mail
> app by opening the contacts app with the contact. It works fine but
> after the contact is saved, it returns to the view of my app. How do I
> get it "invisible" so that I get back to the mail app instead?
> Seehttp://code.google.com/p/card-catcher.
>
> Regards,
> Dag
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate