How would you update the ui of an activity from a background service?



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

Post New Answer

More Android OS Interview Questions

What is androidmanifest.xml?

1 Answers  


How can you define the minimum version of android required?

1 Answers  


What is the difference between a regular bitmap and a nine-patch image?

1 Answers  


Will my users need to install Mono?

1 Answers  


Explain the key components of android architecture?

1 Answers  


What is setlistadapter?

1 Answers  


What is an activity?

1 Answers  


Why android is most popular operating system in the world?

1 Answers  


How to create emulator on android?

1 Answers  


What is restful api in android?

1 Answers  


How do you troubleshoot android application which is crashing frequently?

1 Answers  


What are the different phases of the Activity life cycle in Android?

1 Answers   B-Ways TecnoSoft,


Categories