This page (revision-58) was last changed on 23-Apr-2022 17:06 by HarryMetske

This page was created on 23-Apr-2022 17:05 by Harry Metske

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
58 23-Apr-2022 17:06 29 KB HarryMetske to previous
57 23-Apr-2022 17:05 29 KB HarryMetske to previous | to last
56 23-Apr-2022 17:05 28 KB HarryMetske to previous | to last
55 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
54 23-Apr-2022 17:05 26 KB Harry Metske to previous | to last
53 23-Apr-2022 17:05 24 KB Harry Metske to previous | to last
52 23-Apr-2022 17:05 24 KB 10.0.0.138 to previous | to last
51 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
50 23-Apr-2022 17:05 23 KB 10.0.0.138 to previous | to last
49 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
48 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
47 23-Apr-2022 17:05 22 KB 10.0.0.138 to previous | to last
46 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
45 23-Apr-2022 17:05 20 KB 10.0.0.138 to previous | to last
44 23-Apr-2022 17:05 20 KB HarryMetske to previous | to last
43 23-Apr-2022 17:05 19 KB HarryMetske to previous | to last
42 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last
41 23-Apr-2022 17:05 19 KB Harry Metske to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 19 added 4 lines
|2014-02-18 | 1
|2014-02-19 | 1
At line 292 added 38 lines
! week 5
__Notifications__
2 types of notifications, "Toast" messages, and Notifications at the status bar / drawer.
The second allowes for custom Notifications, with custom views, custom sounds, Autocancel or not, and the possibility for a "PendingIntent" that gets fired when the user clicks on the notification at the drawer. (See last part of the video, or the project ''NotificationStatusBarWithCustomView''.
__BroadcastReceiver__
Base class for components that :
* wait for and receive events
* process and react to these events
BroadcastReceiver register the events (Intents) they are interested in.
When an intent is being broadcast, the BroadcastReceiver gets it via it's ''onReceive()'' method.
Typical use case:
* register BroadcastReceivers
* Broadcast an Intent
* Android delivers the Intent to registered recipients
* BroadcastReceivers get (onReceive() ) and handle the Intent
Registering can be
* statically via AndroidManifest.xml ( <receiver> and <intent-filter> elements ) => ''android:name'' specifies the classname of the receiver, ''android:permission'' declares the permission that is required for a sender application to broadcast this intent.
* dynamically with code (''registerReceive()''), can be in 2 scopes: LocalBroadcastManager (this application) or Context (any application)
When sending a Broadcast Intent, you can specify a permission that Receivers should have in order to get the Intent .
Event Broadcast:
* __Normal__ - processing order undefined
* __Ordered__ - sequential processing in priority order
And:
* __Sticky__ -
* __Non-Sticky__ -