How to Request Runtime Permissions in Android applications | Request permission at runtime

  Рет қаралды 20,777

iRekha Tech Solutions

iRekha Tech Solutions

Жыл бұрын

If you declare a dangerous permissions in android apps, you must request the permissions at runtime. In this video i have explained the steps to request for runtime permissions.
1. Check for the permission granted
2. Request runtime permissions
3. Show request rationale
4. Show permission request with Settings option
5. Allow permission from app settings
Request runtime permissions
developer.android.com/trainin...
#android
#permissions
#runtime

Пікірлер: 35
@VikasSingh-sw6yh
@VikasSingh-sw6yh 11 ай бұрын
Kudos to you for explaining all the scenarios for handling permissions.
@tusharmittal5998
@tusharmittal5998 8 ай бұрын
Thank you so much you just saved me a lot of time i wasnt able to find apt solution for this problem
@javawithsam
@javawithsam Жыл бұрын
Thank you very much! You really helped me, keep it up!
@jlmg3543
@jlmg3543 Ай бұрын
This was spectacular, thank you so much!
@Mousoukyou
@Mousoukyou 7 ай бұрын
Finally! Thank you so much.
@JorgeVazquez-ge6tt
@JorgeVazquez-ge6tt Жыл бұрын
Muchas Gracias por el tiempo de hacer este video, muy bueno lo recomindo !!
@codewithcc
@codewithcc 4 ай бұрын
love it , everyone should watch it
@60_vivekkesharwani95
@60_vivekkesharwani95 7 ай бұрын
Thank u so much for this video
@awaisahmad5908
@awaisahmad5908 9 ай бұрын
Thank You so much !
@umairkhan-rw4nk
@umairkhan-rw4nk 9 ай бұрын
I found it very useful video. how can we handle for multiple permissions. Please make one video for multiple permissions. Thanks for this amazing video.
@mexico4915
@mexico4915 Жыл бұрын
Gracias esto era lo que necesitaba
@PopCapMusicTrending
@PopCapMusicTrending Ай бұрын
Omg this is what I need.
@vikasmalik1744
@vikasmalik1744 Жыл бұрын
🎉🎉🎉Great mam, awesome tutorial, but i wnat to know how to take latest read and write permissions in android java. Please make a 2 minutes video on that. 😢😢😢❤❤❤
@tagarbsoft8196
@tagarbsoft8196 Жыл бұрын
Please make a video of how to add gdpr to all Android applications according to the latest modification, and thank you very much
@jeet198
@jeet198 Жыл бұрын
How to get storage permission to download a file and save that in the folder of the internal storage. On Android 13.
@anils3798
@anils3798 10 ай бұрын
Thanks for the great tutorial. But it was too fast for a beginner to follow along. Can you provide the full source code for new developers to practice with it? Thanks
@user-vg7rx3mh1x
@user-vg7rx3mh1x 5 ай бұрын
Thank you so much for this tuto, i had some issues at permission, and this part make me do the result as i want it, but i have another issue. i´m using another library (middleware) and in that codepart they still showing an error telling me that im not request the permission. can you help with that?
@chandanv8430
@chandanv8430 Жыл бұрын
maam iam getting Symbol cannot be resolved for initilizing the String variable for "Manifest.permission.RECORD_AUDIO" please help me
@bawagrafix
@bawagrafix 10 ай бұрын
good explaination but speed was quite fast for beginners
@gerdsfargen6687
@gerdsfargen6687 4 ай бұрын
Ma'am you are so beautiful the explanations can we go a virtual request date please maam
@rijupakira
@rijupakira 4 ай бұрын
Mam please do this for kotlin language
@AjithKumar-vk1fw
@AjithKumar-vk1fw 6 ай бұрын
@CoinCoders
@CoinCoders 9 ай бұрын
😢😢😢😢😢😢😢😢😢😢😢😢Great, but can you make a video how we take permission in a separate class and use every where in app where I need to check is that permission is granted or not. ❤❤ Please please please please please pleas
@VinnyKoder
@VinnyKoder Жыл бұрын
hello mam how are you? i hope you are doing well. i need your help . i am seeing this error. in admob (IAB TCF v2.0 errors detected) can you help me in this topic ?
@irekhatechsolutions
@irekhatechsolutions Жыл бұрын
Hello Vinny. I am fine :-). Sorry, I don't have any idea on this error. You can open a ticket to Admob on this error. Let them suggest you further on this.
@VinnyKoder
@VinnyKoder Жыл бұрын
@@irekhatechsolutions IAB TCF v2.0 errors detected We've detected an issue on your IAB TC string on one or more of your sites or apps. These errors may affect your ability to serve ads to European users. A detailed report is available for you on the EU user consent page.
@twin_lifesaver2256
@twin_lifesaver2256 Жыл бұрын
Hi onRequestPermissionsResult is outdated, what is used instead, please tell me
@irekhatechsolutions
@irekhatechsolutions Жыл бұрын
onRequestPermissionsResult is not deprecated in androidx.core.app.ActivityCompat class, however it is deprecated in androidx.fragment.app.Fragment class. In Fragment you can use registerForActivityResult to handle runtime permissions callback. Refer developer.android.com/reference/androidx/fragment/app/Fragment#onRequestPermissionsResult(int,java.lang.String[],int[])
@twin_lifesaver2256
@twin_lifesaver2256 Жыл бұрын
@@irekhatechsolutions Thank you, you saved me a lot of time 😉
@irekhatechsolutions
@irekhatechsolutions Жыл бұрын
@@twin_lifesaver2256 You are welcome.
@stobartevans7540
@stobartevans7540 Жыл бұрын
Hi how to get microphone permission status while allowe or denied
@irekhatechsolutions
@irekhatechsolutions Жыл бұрын
To get microphone permission status you need to do checkSelfPermission( Manifest.permission.RECORD_AUDIO) == PackageManager.PERMISSION_GRANTED
@pwhelper781
@pwhelper781 Жыл бұрын
mam can i contact you?
@MamtaKumari-mg4tm
@MamtaKumari-mg4tm Жыл бұрын
Mam your Instagram id
Requesting Permission at Runtime in Android
20:03
Mohamed Shehab
Рет қаралды 1,8 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 25 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 7 МЛН
哈莉奎因以为小丑不爱她了#joker #cosplay #Harriet Quinn
00:22
佐助与鸣人
Рет қаралды 7 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
You are using useFetch WRONG! (I hope you don't)
11:14
Alexander Lichter
Рет қаралды 24 М.
Everything about storage on Android
12:17
Android Developers
Рет қаралды 19 М.
Android Permissions Using registerForActivityResult() 2021
13:17
Graphics Illusion
Рет қаралды 559
How to use Studio Bot in Android Studio?
15:29
iRekha Tech Solutions
Рет қаралды 1,6 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 39 М.
Advanced layout animations in Compose (Shared elements)
30:33
Android Developers
Рет қаралды 12 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 25 МЛН