About the second question, I suppose you store your game data somehow
(perhaps in a database?). So what would you do before drawing the slots is
select data from database and make an if statement. If (data for slot1 is in
the select from database) {show the data as label and add Activity 3 class
to the on-slot-click intent} else {show an empty slot and add Activity 2
class to the on-slot-click intent}. The same for other slots.

Best regards,
Filip Havlicek

2010/9/6 Frank Weiss <[email protected]>

> The simplest thing to do when activity A starts activity B but
> activity A doesn't want to stay on the stack is for activity A to call
> finish() right after it calls startActivity() with the intent to start
> activity B.
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://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 [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