Many users will encounter a part of themselves that they cannot solve when using a happy phone to recover the master-the system prompts you for the error code. The following is a list of some of the error codes (and how to handle them):
Error code 2:
1. Check whether the data can be used normally;
2. Replace the data cable interface (conditions allow direct r
Method One
Can enter the mobile phone number application, but the success rate is very low, unless walk the dog luck.
Method Two
Pay attention to 360 free phone public number to get the invitation code
Method Three
Pay attention to 360 free phone forums can also receive an invitation
Android Telephony-real-time mobile phone signal change source code analysis process record, androidtelephony
Source code: 4.4
Skip UI implementations such as InCallActivity. First look at the service and the underlying layer.
1. the following file list is found under frameworks/opt:
./telephony/src/java/com/android/internal/telephony/cdma/CdmaServiceStateTracker
The positive of the cell phone number verification is:
The code is as follows
Copy Code
var reg =/^0{0,1} (13[0-9]|15[7-9]|153|156|18[7-9]) [0-9]{8}$/;var reg =/^0{0,1} (13[0-9]|15[0-9]) [0-9]{8}$/;
There is also a way of writing
The code is as follows
Copy
Not to mention nonsense
Application address: http://115.com/file/dp7nnu54 #You can download searchphone. xap. This application has been certified by Microsoft.This application has three functions: querying the mobile phone home location, dialing, and saving number. The application is very simple. Most of the time I have drawn on the p Diagram and design page.
CallCode.
// Call
Save the phone
Example
The code is as follows
Copy Code
var tel = 18767802354;var reg =/^0?1[3|4|5|8][0-9]\d{8}$/;if (Reg.test (tel)) {Alert ("Correct number ~");}else{Alert ("Wrong number ~");};
Match the phone number at the beginning of 13,14,15,18!
Example
Verify mobile phone Number one
Mobile phone number verification (13 opening and 158,159 beginning, total 11 digits)
Copy Code code as follows:
var re;
var Ss=document.getelementbyid (' TextBox3 '). Value;
Re=/^ (13[0-9]{9}) | (15[89][0-9]{8}) $/
if (Re.test (ss))
{
document.getElementById (' Label3 '). innertext= ""; Assign value to label with InnerText
}
Else
{
PHP code to determine whether the device is a mobile phone or tablet (two ways), PHP Tablet PC
Now the mobile Internet is more and more developed, a lot of websites have popularized the mobile browsing, in order to better let the Web page display on the phone, we have chosen to use CSS Media query to make the response template, but there are drawbacks, such as t
China's mainland operators of mobile phone number standard format is: Country code + mobile phone number, such as: 8613912345678. Features such as the following:1. length 13;2. Begin with 86 of the country code;3. Each digit of the mobile phone number is a number.4. For exam
JS Authentication fixed Phone: can only be a number. and have the corresponding format//028-67519441 or 0839-8777222 or 028-6545124
function Check_validate (value) {
var reg =/^ (d{3,4})-(d{7,8})/;
if (Value.constructor = = string) {
var re = Value.match (reg);
return true;
}
return false;
}
Instance Code two
Telephone number, fax
Check ordinary telephone, fax number: You can "+"
Time limit per test
2 secondsMemory limit per test
256 megabytesInput
Standard InputOutput
Standard output
Polycarpus hasNFriends in Tarasov city. polycarpus knows phone numbers of all his friends: they are stringsS1, bytes,S2, middle..., middle ,...,SN.All these strings consist only of digits and have the same length.
Once polycarpus needed to figure out Tarasov city phone
In PHP, HTTP_USER_AGENT is used to determine whether it is the function code of the mobile terminal. Sometimes it is very useful in some scenarios. keep the slave copy code as follows: functionis_mobile_request () {$ _ SERVER [ALL_HTTP] isset ($ _ SERVER [ALL_HTTP])? $ _ SERVER [ALL_HTT is sometimes useful in some scenarios. keep it for backup.
The code is as
Verification of mobile phone numbers (starting with 13 and starting with 158,159, 11 digits in total)Copy codeThe Code is as follows:Var re;Var ss = document. getElementById ('textbox3 '). value;Re =/^ (13 [0-9] {9}) | (15 [89] [0-9] {8}) $/If (re. test (ss )){Document. getElementById ('label3'). innerText = ""; // assign a value to the label using innerText}Else{Document. getElementById ('label3'). innerTe
Javascript to determine whether the client is a PC or handheld device, sometimes the project needs to use, very convenient detection, the source of the Oh, a total of two kinds of methods1. The first kind:Copy CodeThe code is as follows: function IsPC () {var useragentinfo = navigator.useragent;var Agents = ["Android", "IPhone","SymbianOS", "Windows Phone","IPad", "IPod");var flag = true;for (var v = 0; v i
be used for integration and grid control as the root node of the page (that is, the background will overwrite the entire page) in addition, the Development template runs more efficiently than the former.
Advantages of the hybrid development model-this development template has a complete UI framework and a complete page declaration cycle, allowing rapid and simple application development and flexible use of the direct3d control to be displayed on the XAML page, you can also use the hosted
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.