Hi,
I want to know how to use the setResultData() in worker thread
1. Registered a broadcast receiver for this intent "android.intent.action.NEW_OUTGOING_CALL"
2. So using "intent.getStringExtra", i got the user dialed number.
3. After that i need to do some database operation and after that i have to change the user dialed number.
4. Using setResultData(), i will update the dialed number.
here i want to do the database operation in worker thread instead of doing it in OnReceive() of BroadcastReceiver
So from the worker thread how can i use the setResultData()?
Thanks in advance
Hareef
I want to know how to use the setResultData() in worker thread
1. Registered a broadcast receiver for this intent "android.intent.action.NEW_OUTGOING_CALL"
2. So using "intent.getStringExtra", i got the user dialed number.
3. After that i need to do some database operation and after that i have to change the user dialed number.
4. Using setResultData(), i will update the dialed number.
here i want to do the database operation in worker thread instead of doing it in OnReceive() of BroadcastReceiver
So from the worker thread how can i use the setResultData()?
Thanks in advance
Hareef

