Notifications -Toast, Dialogs,Statusbar Notifications

toast notification
statusbar notification

Adding sound

Adding Vibration:


adding flash lights:

dialog is small window on the screen. when dialog is executed the activity losses its focus and dialog gets total control of app. dialog package

alert dialog
progress dialog
date picker dialog
time picker dialog

alert dialog: it is a small window. it contains 0,1,2 or 3 buttons combination.It contains max 3 buttons like +ve ,-ve, neutral buttons.

Progress  Dialog:

its an extension of alert dialog class that can display progress animation in the form of spinning wheel.


Popular posts from this blog

What is Android ?