I have an iPhone application and I am porting it over to Android.
I have a service/controller that spawns new threads to perform some network tasks.
I use performSelectorOnMainThread
in my iPhone app. How can I have my Java app do the same or similar thing?