MobileApp > Android > Random
// 乱数を生成 Random rand = new Random(); int value = rand.nextInt()%100;
or
Math.random()
参考 - Android Docs(初級編)
Back