Thursday, March 6, 2014

android.permission.RECEIVE_SMS differences and relations with android.provider.Telephony.SMS_RECEIVED


Prawns,
In the SMS interception, when the realization of a broadcast receiver, to set the type of radio receiver for receiving broadcast information, here is the information: android.provider.Telephony.SMS_RECEIVED, then why in the manifest also need to add it?

Thank you<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
The relationship between them is somewhat blurred, please enlighten me
Reply:
permission android: name = "android.permission.RECEIVE_SMS" /> is to intercept text messages you need a permission to intercept and android.provider.Telephony.SMS_RECEIVED is your event, this is the incident that you can have text messages There does not necessarily have the authority incident, but you do not have permission to intercept an event occurs you can not, just like you have a bunch of pear, you have to eat his permission, but you eat do not eat is your thing, you spent a bite to eat on this event
Reply:
A broadcast is a custom, and the other rights

No comments:

Post a Comment