Android Question:

What is a Sticky Intent?

Android Interview Question
Android Interview Question

Answer:

Intent is basically an abstract description of an operation that has to be performed for communication. Sticky Intent is also a type of intent which allows the communication between a function and a service. For example: sendStickyBroadcast() performs send Broadcast(Intent) which stays even after the broadcast is complete. It helps in retrieving the data quickly. The message ACTION_BATTERY_CHANGED of an operating system is an example of it.


Previous QuestionNext Question
What is APK format in Android? How to make an APK file?How to Translate in Android?