On Sun, Oct 10, 2010 at 10:04 PM, Brian <[email protected]> wrote:

> Any way I can make it so that it is clickable an infinite number of times?
>

Answer these questions:

How does Random.nextInt() work? Are you actually getting a different number
each time?
What's the max random number you're generating?
Now how many switch statements do you catch?
Are you guaranteeing to set "clicked" to false?

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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