Android Dual SIM card for programming recognition

Source: Internet
Author: User

 today, especially in China, dual sim is so popular and so widespread that dual sim has become the de facto standard for smartphones. The general trend, for this, Android from Android 5.1, starting from the Android SDK API level to support dual SIM card or more than 1 SIM cards. Android Official documentation explained Link:


Https://developer.android.com/about/versions/android-5.1.html#multisim



Original:

Multiple SIM Card Support

android 5.1 adds support for using more than one cellular carrier SIM card at a time. This feature lets the users activate and use additional SIMs on devices that has the or more SIM card slots.

You can access information about the currently active SIM through SubscriptionManager the class, including whether or isn't the device is C Onsidered to is roaming on the current network. This information was useful for developers who want to throttle their apps ' data access down or off for device users who AR E sensitive to data access charges. Your app can alerted to changes in a device's current network connection by requesting the permission and READ_PHONE_STATE setting< c3/> on the SubscriptionManager object.

Android Dual SIM card for programming recognition

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.