Android gets SIM card carrier Information
Telephonymanager TM = (telephonymanager) Context. getsystemservice (context. telephony_service );Use of telephonymanagerTelephonymanager provides the entry for obtaining Communication Service Information on the device. The application uses this method to obtain the service provider or status of the phone. The program can
Android Get SIM card operator informationTelephonymanager TM = (Telephonymanager) context.getsystemservice (Context.telephony_service); Telephonymanager uses Telephonymanager to provide access to information about the communication service on the device, and the application uses this class of methods to obtain a service provider or status for the phone. The progr
Reprinted: http://topic.csdn.net/u/20110417/14/edcbbcd9-44f0-4175-a156-0231d12cba47.html
1. add, delete, and modify SIM card contactsUri is content: // ICC/ADN/The specific usage is the same as that of other contentprovider operations. For the passed parameters, refer to \ base \ telephony \ Java \ com \ Android \ internal \ telephony \ iccprovider. java.
2. Ques
For example, the card number is: 89860 00819 07135 96675 ota898600 China Mobile International Speech
Code0 is the last digit (the network number) of the mobile phone service access number ). Currently, China Mobile has the following network numbers: 135, 136, 137, 138, and 139. 8. According to the information found, t
unicom, just get the MNC field in the SIM card can be
*
/String IMSI = Telmanager.getsubscriberid ();
if (imsi!=null) {
if (Imsi.startswith ("46000") | | imsi.startswith ("46002")) {//Because the IMSI under mobile network number 46000 has been exhausted, So virtual a 46002 number, 134/159th segment using this
Android determines which mobile operator the SIM card belongs to
The first method:
Get the IMSI code of the mobile phone, and judge that China Mobile \ Chinese Unicom Telecom
Telephonymanager Telmanager = (telephonymanager) getsystemservice (context.telephony_service);
/** gets the SIM card's IMSI code
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
Telephonymanager TM = (Telephonymanager) context.getsystemservice (Context.telephony_service);Note: Some phone messages require the appropriate permissions.Get the name of the service provider, such as Telecom, Unicom, mobile The first method is to obtain the IMSI code of the mobile phone, and to judge that it is China Mobile Unicom TelecomGetsimoperatorname () //Returns the Service Provider Name (SPN). IMSI International Mobile Subscriber Identification Nu
How to automatically remove a name when the android Copy contact arrives at the SIM card1: Add related functions and variablesPrivate int SpecEncodingArrLen = 44; Private short [] [] specialEncoding = {{0x0040, 0x0000 },//@{0x00A3, 0x0001 },{0x0024, 0x0002 },{0x00A5, 0x0003 },{0x00E8, 0x0004 },{0x00E9, 0x0005 },{0x00F9, 0x0006 },{0x00EC, 0x0007 },{0x00F2, 0x0008 },{0x00C7, 0x0009 },{0x0020, 0x000A },{0x00D8
At the end of the week, I had to write a blog, but after thinking about it, I suddenly found that I didn't do anything this week, and I didn't know what to write. Finally, I suddenly found this code on the desktop, if you use imsi, you can write it here. You can play the game as soon as you finish writing it, and the game time is up again. Dota ......
Imsi, which is also the SIM card
1.On the standby page, click contacts ].2.Click menu in the lower left corner and click more ].3.Click show options ].4.Click 【SIMCard ].5.Hook all contacts and click finish ].After the preceding operations, the contact in the SIM card is displayed.
Step one: Mobile phone SIM card is not plugged in well, that must not find the SIM card
The solution is to turn off the phone first, pull off the phone back cover, reseat the SIM card, pay attention to the
Previous work involves the UCS2 encoding of SIM card. We need to encode the characters in 81 format. I have found a lot of information on the Internet and shared it with you based on my own research.
This document describes how to obtain the 80, 81, and 82 encoding formats. The code is tested on the andoid platform and the contact information is successfully stored and decoded. Some things are self-develope
I. default language rules set by the System
The system preset language, that is, the language defined in the makefile file;-Location: mediatek/config/$ {Project}/ProjectConfig. mk. The first language is the default language.
The system language is the preset language. After the SIM card is inserted, the system language is changed according to the SIM
I. default language rules set by the System
The system preset language, that is, the language defined in the makefile file;-Location: mediatek/config/$ {Project}/ProjectConfig. mk. The first language is the default language.
The system language is the preset language. After the SIM card is inserted, the system language is changed according to the SIM
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.