Android Developer Question:

Download Job Interview Questions and Answers PDF

Explain me three common use cases for using an Intent?

Android Developer Interview Question
Android Developer Interview Question

Answer:

Common use cases for using an Intent include:

☛ To start an activity: You can start a new instance of an Activity by passing an Intent to startActivity() method.
☛ To start a service: You can start a service to perform a one-time operation (such as download a file) by passing an Intent to startService().
☛ To deliver a broadcast: You can deliver a broadcast to other apps by passing an Intent to sendBroadcast(), sendOrderedBroadcast(), or sendStickyBroadcast().

Download Android Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Please explain what is difference between Serializable and Parcelable ? Which is best approach in Android?Please explain what are intent Filters?