How would you update the ui of an activity from a background service?
Answer / Monika
To update the UI of an Activity from a Background Service in Android, you can use Messenger and Handler. The Background Service sends messages to the Handler of the Activity, which then updates the UI.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is androidmanifest.xml?
How can you define the minimum version of android required?
What is the difference between a regular bitmap and a nine-patch image?
Will my users need to install Mono?
Explain the key components of android architecture?
What is setlistadapter?
What is an activity?
Why android is most popular operating system in the world?
How to create emulator on android?
What is restful api in android?
How do you troubleshoot android application which is crashing frequently?
What are the different phases of the Activity life cycle in Android?