I wrote a J2ME Application in which i instantiated and started the Thread in MIDlet constructor.
[The thread needs to be started when the Midlet is launched and will continue to run throughout the lifecycle of MIDlet]
Now I have decided to port that app to android platform. And written an Activity class.
Now in Android which place is best to instantiate this thread?
1) Constructor in Android is not the way
2) OnCreate() gets called multiple times. like when screen orientation changes etc.
3) Cannot declare it on an event