What does "media priviliges" mean in android 5.1.1

I am trying to develop an Android application that interacts with a SIM (Android 5.1.1). While using some methods (ex: iccOpenLogicalChannel), they said in the documentation that I must have an operator privilege application to use this method, I am wondering what exactly do they mean? Can someone tell me how I can get "operator privileges"?

+3


source to share


2 answers


In 5.1.1, there are new APIs that allow carrier platform applications distributed through Google Play to perform network backup tasks and other functions in the telephony system. Direct communication with the network interface is now possible through an application with "operator privileges".

As Google explains:

These APIs provide a secure and flexible way for advanced carrier applications to complete these tasks and be distributed through Google Play. Applications that use these features must be signed with a certificate that matches the certificate in the Universal Integrated Circuit Card (UICC) device . Support APIs have been added to the TelephonyManager class, the SmsManager class, and the new CarrierMessagingService class. Applications can check access to these APIs by calling the hasCarrierPrivileges () method. Applications that call these APIs without access receive a SecurityException.



Until now, as far as I understand, carrier privileges are set by the carrier operators and without certification from the carrier, you will not be able to access these methods.

Source: https://developer.android.com/about/versions/android-5.1.html

+2


source


To put it simply, you cannot get a certificate that matches your UICC / SIM certificate. There are ways to work with operators to create applications. If you are interested do not hesitate to contact me, I can walk you through it. I work at T-Mobile on the SIM team and am happy to help!



+1


source







All Articles