How can I create an app that generates a random number in Android using Eclipse and then show the result in a TextView field? The random number has to be in a r
TextView
" the user is the one who select max no and min no ?" What do you mean by this line ?
You can use java function int random = Random.nextInt(n). This returns a random int in range[0, n-1]).
int random = Random.nextInt(n)
and you can set it in your textview using the setText() method
setText()