Runtime Permission (Call Phone) in Android like OLA Driver

Опубликовано: 29 Июль 2026
на канале: techiguru
734
12

Android IOS Tutorials for Beginners: -
Runtime Permission in Android for using OS function like Call Phone
#runtimepermission,#Androidlearning,#Androidtutorials,#AndroidPermission
If you are very new in Android then, you must watch my previous video
1. Install Android Studio and Other tools:
   • Android Tutorials For Beginners: Install A...  
2. How to Create First Application in Android Studio and Run into Mobile Device.
   • Hello World! Application in Android Studio  
3. How to Create Android Virtual Emulator Device.
   • Create Virtual Device Emulator (Android St...  
4. How to change Application Icon with Responsive and Application Name.
   • Change Application Name and Icon with Resp...  
5. How to Generate QR Code in Android Studio like Paytm QR Code:
   • Generate QR Code (like paytm) in Android S...  
6. How to Hide the Application Status Bar and Action Bar, Change TitleBar name:
   • Hide ActionBar, StatusBar, Change App Titl...  
7. SMS Gateway Integration in Android Studio:
https://www.youtube.com/edit?o=U&vide...
8. How to create simple static Login Android Application:
   • Static Login Android Studio  
9. Convert Website into Android Application with WebView
   • Web View websites into Android Apps  
10. How to scan QR Code and Barcode in Android within 5 minute like Paytm
https://www.youtube.com/edit?o=U&vide...

Today I going to tell you how to give Runtime Permission in Android for using Android OS function like Phone Calling in Uber
Open Android studio and create new Application with name:
CallPermission
Now open the activity_main.xml file inside layout directory
Now take the Button for Calling Someone via Phone
Now go to MainActivity Java class
Now create a logic to call at runtime permission
Firstly you should know when this problem comes into market
Runtime permission launch in Marshmallow Version
It means user should have marshmallow or greater version in their mobile
Checkselfpermission check the permission from your manifest file
Go to manifest and give call phone permission
And PackageManager not allow that permission until now
So user can request the permission from their mobile os
Now recive the output in onrequestPermissionresult method
Now run the application
This is called as Runtime Permission
First I deny the permission
Nothing happen




If you like my video tutorial, please subscribe, like and share my channel. In case if you have any query just reach me at [email protected]

Channel link for Subscribe:-
   / @techiguru-in