The issue is how do i make an inception in BlackBerry?
Background: I need to run background service (No Screen Application) after i register a client, after that i need to run safely on the thread.
Thank you very much in advance , code example will be really appreciated.
You'll need to create a runnable class that extends thread. (Note, there may be other ways to do this, but this one works.
So you'll need something like
Now from your main screen, you simply need to call it.
Start is a method inherited from the parent Thread class, so it'll take care of spawning a thread for you. Hope this helps.
The Blackberry-way to do it is to use invokeLater():