Copy CodeThe code is as follows:
Mobile phone number Verification
function Checkmobilevalidity ($mobilephone) {
$exp = "/^13[0-9]{1}[0-9]{8}$|15[012356789]{1}[0-9]{8}$|18[012356789]{1}[0-9]{8}$|14[57]{1}[0-9]$/";
if (Preg_match ($exp, $mobilephone)) {
return true;
}else{
return false;
}
}
Cell phone number Attribution
The following problems exist: 1. after the device is connected, you must use software such as the serial port assistant to open the serial port and disable the software before using php to send the at command for reading the serial port. Otherwise, the device will be suspended, why? 2. Why can't I receive text messages from telecom phone numbers? Serial Port communication php serial port gsm module
Th
Added to the 158, 159 the beginning of the phone number verification.
Copy Code code as follows:
Remove string and tail space
String.prototype.Trim = function () {
var m = This.match (/^\s* (\s+ (\s+\s+) *) \s*$/);
return (M = = null)? "": m[1];
}
Verify Legal mobile phone number
String.prot
recently found that notepad++ does not support the text copy by line number range, I want to develop a notepad++ plug-in, support to enter the starting line number and end line number, and then copy the
As a mobile phone, the most important function is the phone number, text message, and contact. So today I want to share with you the API interface for Android phones, text messages, and contacts.
1. Call record acquisition
List
mRecords=new ArrayList
();
At work, you always encounter a lot of text boxes that prohibit the input of non-numeric characters, such as mobile phone number and zip code.
Copy Code code as follows:
1. Open the letter in the phone, and then click on the "top right corner of the icon"
2. Here we click on "public number" as shown
3. Then find the "upper right corner of the +" click, as shown in the following figure
4. Then enter the public number type to be concerned about
5. Finally click on "Attention" on it.
Friendly Tips
This article is in
At work, there are always a lot of text boxes that prohibit non-numeric character input, such as the mobile phone number and the zip codeCopy codeThe Code is as follows:
Call Bell is still very useful for our cell phone calls with the ring, which we need to set up to be able to, the following together to see a set of steps on the caller ring, as shown below.
1. Under the Standby page, click "Application".2. Click the "Set" option and click on it to open the entry, as shown in the details below.3. Click "Sound and Notice".4. Click on "Ringtones and beep tones".5. Click "Ringtones".6. Select the SIM card where you want
The URL is better to get.
QQ and mobile phone directly judge long series of numbers will be too much damage? And there's a case of confusing characters between numbers.
Reply content:
The URL is better to get.
QQ and mobile phone directly judge long series of numbers will be too much damage? And there's a case of confusing characters between numbers.
QQ and mobile
Follow these steps:
1. Under the Standby page, click "Application".
2. Click "Set".
3. Slide the phone screen up with your finger and select "Call/Info block".
4. Click on "Information Block list".
5. Click the "Delete" icon in the upper-right corner of the screen.
6. Will delete the SMS blacklist number dozen hooks, if want to delete all the n
1. Launch MMS, new message;2. Click "add contact" icon in the upper right corner to go to the page for selecting multiple contacts;3. When you select the Contact check box on the right, you can see that the contact list is on, and the phone number is shaking.First, find the ContactListItemView. java file under the contacts source package.Find the onMeasure () method as follows:@ OverrideProtected void onMea
1. Launch MMS, new message;2. Click "add contact" icon in the upper right corner to go to the page for selecting multiple contacts;3. When you select the Contact check box on the right, you can see that the contact list is on, and the phone number is shaking.First, find the contactlistitemview. Java file under the contacts source package.Find the onmeasure () method as follows:@ OverrideProtected void onmea
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.