L_2_17_Android_Application_Fundamentals

For broadcast receivers the message is the acon being

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: is low, etc. –  Applica,ons can also ini,ate broadcasts. •  E.g. to let other applica,ons know that some data has been downloaded to the device and is available for them to use –  Do not have a user interface –  May start an ac,vity in response to the received broadcast –  May also use no,fica,ons to alert the user COMP 4521 (Muppala) Android Overview 10 Content Providers •  Makes a specific set of the applica,on's data available to other applica,ons –  Data can be stored in the file system, in an SQLite, or in any other manner that makes sense –  extends the ContentProvider base class to implement a standard set of methods that enable other applica,ons to retrieve and store data of the type it controls •  Applica,ons do not call these methods directly. –  They use a ContentResolver object and call its methods instead –  A ContentResolver can talk to any content provider COMP 4521 (Muppala) Android Overview 11 Ac,va,ng Components Ac,vity Intent Service Broadcast...
View Full Document

Ask a homework question - tutors are online