You are on page 1of 1

BroadCast Reciever: ------------------Capture all device events.

Battery full/low Incoming call/msg Device switch on/off Screnn switch on/off .... 1> extends BroadCastReceiver 2> Add unimplement method onReceive() 3> Write the logic 4> Permissions of particular events in manifest 5> <intent-filter> <action name = "action/event name" /> <intent-filter> 6> register ur broadcast class in manifest using <receiver></receiver> Notifications: ---------------NotificationManager nm; --Nofication not; --PendingIntent p; --not.setLatestEvent(); --nm.notify();

You might also like