android - How to use security permissions in combination with a shared user id? -


i got known security exception:

java.lang.securityexception: sending sms message: user 1001 not have android.permission.send_sms 

i added following line android manifest file:

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

but when got same exception.

this has possibly shared user id use: android:shareduserid="android.uid.phone", here question:

when use shared user id (from system application), can add own permissions manifest file.

additional information: used same certificate system, else couldn't use same user id system application.

thanks in advance answers , remarks!


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -