This can be done using the same multithreading techniques as in any version of
Java.
You can have as many different run() methods as you need, but each one has to be defined within its own runnable class.
(How many of these run() methods can actually run at the same time with acceptable speed depends on the processing power of the device of course).
You can do this with anonymous inner classes that implement the Runnable interface. Or simply with an anonymous class that extends the Thread class, since Thread implements Runnable. So you can have code like this: