I want to use thread callback. But I have no idea about how it works in BB.
When an incoming call comes and answered, my app comes to foreground and displays the number connected. Then it tries to resolve the number with contacts and get the corresponding contact name and display that. But contact resolution takes time if there are more than 400 contacts. So I want contact resolution to happen in different thread and once the corresponding name is obtained it should notify the main thread by passing the resolved name.