Created
October 27, 2017 23:07
-
-
Save raveesh-me/4bdba70384f55d775373d7051c003a97 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new AlertDialog.Builder(MainActivity.this) | |
.setTitle("Call Permission") | |
.setMessage("Hi there! We can't call anyone without the call permission, could you please grant it?") | |
.setPositiveButton("Yep", new DialogInterface.OnClickListener() { | |
@Override | |
public void onClick(DialogInterface dialogInterface, int i) { | |
} | |
}) | |
.setNegativeButton("No thanks", new DialogInterface.OnClickListener() { | |
@Override | |
public void onClick(DialogInterface dialogInterface, int i) { | |
} | |
}).show(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment