That is the only thing I can think of.
When I generate a random number (for the radius of a ball), after a
while, the radius goes to one number and sticks that way.
I've even tried setting the random number value to 0 before getting
the random number, and java.util.Random must be at fault, it still
gives the same random number.
Here is an apk if you would like to try it yourself: 
http://74.118.194.50:84/Balls.apk
Any help is appreciated

Oh, and here is a snippet of the code (I would rather not release the
full source):

<code>
Random randomizer = new Random(System.currentTimeMillis());
int hw;

hw = randomizer.nextInt(95-15+1)+15;
</code>

after that it assigns the new ball with the radius.
It's very odd that it does it after an amount of them generated, no
clue why.
Other people in IRC were perplexed by it too

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