Pretty good! I just have to add that in android 6, if you keep pressing the button it will keep asking for the same permissions so you need extra code to avoid that.
Hey, where can I put an AlertDialog which ask for the permission again if it's denied? This: new AlertDialog.Builder(this) .setTitle("Permission needed:") .setMessage("Permission needed because...") .setPositiveButton("Engedélyezés", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { //asking for permission again } }) .setNegativeButton("Tiltás", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { dialogInterface.dismiss(); } }) .create().show();
Pretty good! I just have to add that in android 6, if you keep pressing the button it will keep asking for the same permissions so you need extra code to avoid that.
Gracias muy bien explicado
thank you bro, you saved my ife
Thanks for the video, it helped!
Can you make a video to ask manage all files permission in android 11
Srrr 1 create a video user se permission lake uske data ko kaise assess kare or apne server pe kase save kare User data ko
Need help 😑😑😟
pls in eng!
Sir android 11 storage permission tutorial make...
I will surely do this in near future
why in java? now it is kotlin pleasseeeeee
🥰😍
nice and without libs
Glad you like it
Great 😍😍😍
Thanks
Doesn't work for android 12.
Soon I will make a video about complete changes in Android 12
Agar hindi video hoti toh easily explain hota
Will you help me?
Tell me how?
Hey, where can I put an AlertDialog which ask for the permission again if it's denied?
This:
new AlertDialog.Builder(this)
.setTitle("Permission needed:")
.setMessage("Permission needed because...")
.setPositiveButton("Engedélyezés", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
//asking for permission again
}
})
.setNegativeButton("Tiltás", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
})
.create().show();