Today we need to add a AlertDialog to our device
1. add these code to your fuction, such as a button onClick()
2.about AlertDialog
public AlertDialog.Builder (Context context)
Since:
API Level 1
Constructor using a context for this builder and the AlertDialog
it creates.
more detail : http://developer.android.com/reference/android/app/AlertDialog.Builder.html