Re: [android-developers] Unique Random numbers

2011-03-29 Thread Andrew Gregory
On 25 March 2011 20:45, Hassy wrote: > > I want to display unique random numbers when button clicked. > if a number appear once, that number should not appear again when > button clicked. > > http://en.wikipedia.org/wiki/Linear_feedback_shift_register Looks random (and has been used as a random

[android-developers] unique random numbers when button clicked

2011-03-28 Thread Hassy
Hello, I'm trying to generate unique random numbers when button clicked. I have 70 images(number 1-70) I want to display them random but if a number appears twice ,same image displays(nothing happens because it's already appeared) on the screen. I tried to save random numbers to an array but does

[android-developers] Unique Random numbers

2011-03-28 Thread Hassy
Hello, I want to display unique random numbers when button clicked. if a number appear once, that number should not appear again when button clicked. Please help me... Thank you Hassy -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos