N
N
norverjskaya2016-10-30 14:41:39
Android
norverjskaya, 2016-10-30 14:41:39

How can I make App Inventor2 open a random page?

I need to make an application with random pages, please help!!!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Raksha, 2016-11-14
@norverjskaya

Random rnd = new Random();
switch(rnd.nextInt()%5){ // 5 - total number of pages
// change pages by case
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question