Perfect.
Thanks

On Jul 12, 8:12 pm, Mark Murphy <[email protected]> wrote:
> On Mon, Jul 12, 2010 at 2:09 PM, Boozel <[email protected]> wrote:
> > I have an app that is just a service the first time the app is run an
> > activity displays the terms and conditions with an accept and a
> > decline button. How can i make the activity disappear when accept is
> > clicked?
>
> Call finish().
>
> > and how do i make the activity not show up if it has been
> > accepted before.
>
> Either don't start it in the first place, or have it call
> startActivity() on the next activity in sequence and then call
> finish().
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to