Interview Questions

The following list of questions should further consolidate what is covered in this chapter:

  1. What method is used to send a broadcast event?
  2. What class do you have to inherit from to be a broadcast receiver?
  3. What are the inputs to the onReceive() method of a broadcast receiver?
  4. What tag is used to register a broadcast receiver?
  5. How do you indicate that you are interested in a particular broadcast intent?
  6. Can broadcasts be received by receivers in an external process?
  7. How do you get access to a notification manager?
  8. What class is used to construct a notification?
  9. What are the essential components of a notification?
  10. What method is used to create the expanded notification view?
  11. What is the use of setContentView() for a notification ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.