This example describes Android's approach to acquiring mobile phone numbers based on APN. Share to everyone for your reference. Specifically as follows:
Before many people said that can not fully obtain mobile phone number, because there are now some cards can not be obtained, and some cards to obtain, now we can change a way of thinking to consider the problem, is to use the APN way. Please look at the co
In versions earlier than ics40, if the program needs to set the APN, you only need to declare
The reason is that Google has blocked third-party applications from accessing the APN based on security considerations. Some people on the Internet say that they can set the program as a system app. Using the ADB push command to put the APK under the/system/APP/directory is indeed feasible, but most apps are used
particular caused my attention:When setting up the APN, the MCC and MNC are required, and the 2 items will not be saved if the APN settings are not filled!So with this conjecture, the phone rom different, MNC item 00 is considered as a null character processing? And then cause the save to be unsuccessful?If so, how should the problem be solved?Think about the move should also think of such a problem, then
connection with the mobile phoneActivity. getsystemservice (context. telephony_service );
// Obtain the mobile phone number
String phoneid = TM. getline1number ();
// Remember to add in manifest FileAndroid: Name = "android. Permission. read_phone_state"/>
**************************************** **************************************** **************************************** ************************************
Http://www.eoeandroid.com/thread-91296-1-1.html
/*** Telecom
After being added to alpsmediatekrameworksase elephonyetcapn-config.xml,
The SIM card of the carrier is not required for verification.
Two methods are used to verify whether the APN has been added to the mobile phone:
1. Your company only needs to re-compile the bin file, go down to the mobile phone, and reboot.
Then, use DDMS to convert datadatacom. android. providers. the database telephony in telephony. db Push, and check that there is a carrie
Reference: http://www.winertech.com/productinfo.asp?pid=397The premise: For that DTU uses the dual serial port communication mode, debugging serial port and the communication serial port separation. Please connect the serial port to the DTU debug serial port.1, open the Configuration Tool configtool,->1, in order to select the corresponding serial number, 2-6 according to the default settings, 7 open the serial port.2, follow the prompts to power on the device, if already power on please re-powe
In the vast majority of Android machine etc path to store a apns-conf.xml file, indicating that the current machine uses the APN information through the root machine can be pushed out to see, the specific path can be searched
CopyCodeThe Code is as follows: static URI preferred_apn_uri = URI. parse ("content: // telephony/carriers/preferapn ");
Contentresolver cresolver = context. getcontentresolver ();
Cursor Cr = cresolver. Query (preferred_apn_u
The APN configuration of the Android system has been explained in this document in the settings.apk configuration of the debugging system. You have manually added the APN configuration option in the settings, but you still cannot see it on the interface. So I followed the code and thought it was a simple page display problem. It doesn't matter, so I quickly caught up with the HAL layer (NND ). first, let's
Android G1 Bluetooth and wireless network, and APN Access Point settings
The Bluetooth of G1 now only supports Bluetooth headsets (supporting Bluetooth stereo). Like the new iPhone, G1 does not support Bluetooth data transmission and synchronization and can only wait for the system to upgrade.
G1 has powerful wireless connectivity. Currently, 54m is supported in the latest 5.0.2hr3 Rom.
Enable wireless and Bluetooth settings:
Set -- wireless
Update APN list after the OTA upgrade needs to restore the factory settings APN Update is valid, the customer needs to do the upgrade after the boot is effective.Because the OTA upgrade is updated with three zones, boot, recovery, System,The APN is part of the data domain, and OTA upgrades are not involved, so it must be reset before the update is valid.So, you n
In miui Android 2.3, if you want to switch "Mobile Data" with one click on the desktop, you can call and send text messages, but cannot access the Internet ".
It has been around for half a day in the Chinese Android Market, and has downloaded numerous switches. There are two main differences between the APN switch and the data switch.
Finally in the https://market.android.com search "Switch", the first can be used. The quality of the official electr
APN (access point name), which identifies the type of business for GPRS, is currently divided into two broad categories: Cmwap (WAP access via GPRS), CMNET (services other than WAP are currently CMNET, such as connecting to the Internet, etc.).Channel access point settings, many people will have questions, because they are not quite clear about the difference between Cmwap and cmnetI'll tell you:Many people know that this is the two different access p
Summary of GPRS APN-GRE Tunnel ConfigurationThis article is a practical application case about the establishment of the APN-GRE tunnel, the configuration is based on the Cisco 12012 router, using TFTP. You can see that similar applications may be encountered in the future! Welcome to the discussion!
Using 990 out of 29688 bytes
!
Version 12.2:
Service timestamps debug uptime
Service timestamps log uptime
N
VPDN
Apn
Security
Two authentication, encryption
One authentication, no encryption
Enterprise cost
High
Low
Requirements for GGSN
The dynamic configuration of the LNS parameter information is acceptable, which has little effect on GGSN performance.
The static configuration of GRE tunnel parameters, the performance impact is large, some manufacturers on the GRE tunnel has a nu
1, Standby screen, click the menu button, select System settings, into the network under the title of "Binding Network";
2, click "Mobile network" → Enter the "Access Point Name" option;
3, in the [Access Point Name] interface, click menu key → select "New APN";
4, the appearance fills in the APN (Access point) the interface, according to the operator provides "the handset Interne
In the vast majority of Android machines, etc path to store a Apns-conf.xml file, indicating that the current machine use APN information through the root machine can be pushed out to see, the specific path can be online search
Copy Code code as follows:
static Uri Preferred_apn_uri = Uri.parse ("CONTENT://TELEPHONY/CARRIERS/PREFERAPN");
Contentresolver cresolver = Context.getcontentresolver ();
Cursor cr = Cresolver.query (Preferred_apn_u
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.