Skip to content Skip to sidebar Skip to footer

How To Add Permission In My Sms Manager

I'm very new to android studio and in my first app I want to build an sos app, my sos app specifically sends a message via sms with the current location. When I first built it, it

Solution 1:

You can try this :-

Add it in Manifest -

<uses-permission android:name="android.permission.SEND_SMS" />

And use this runtime permission in your activity

 ActivityCompat.requestPermissions(this,new String[]{Manifest.permission.SEND_SMS},1);

Post a Comment for "How To Add Permission In My Sms Manager"