Recently in the work of the need to determine whether a number is a mobile phone number, whether it is a landline number.On the internet also found that we summarize the method, did not directly use these methods is because: mobile phone number in the beginning of a new number segment (such as 17x), the number of the landline in the individual area code due to changes in the administrative region abolished.
When developing an Android project, there was a need to query the phone and landline attribution, but Android itself did not find a database to provide a place to query, so we needed to find a way to meet the needs of the project.My initial idea is to put these attribution data into an ordinary file, the content of the file can be in the format of JSON format, and then each time the app launches the JSON content of the file into Java object, Google pr
One, call the Skype contact person's landline or mobile phone number
1, click the Contact label, click the contact you want to call, click the down arrow in the "Call" key to see the call options, if you have added a mobile number to this contact, or the other party has entered the personal information in the phone number, you can see different options.
2, click the number you want to call.
Dialing numbers that are not in your contact list
function Checktel () {/*Verify the phone number verification rule: Area code + number, area code starts with 0, 3-bit or 4-digit number consists of 7-bit or 8-digit number between the area code and the number can be no connector, or "-" connection such as 01088888888,010-88888888,0955-7777777 /c2>*/ varIsphone =/^0\d{2,3}-?\d{7,8}$/; /*Verify mobile phone number Mobile: 134 (except 1349) 135 136 137 138 139 147 150 151 152 157 158 159 182 183 184 187 188 Unicom: 130 131 132 155 156 185 186 14
%.How to realize the filter of mobile phone number?650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/89/27/wKiom1gJdrvzgubBAAW49sovq-c823.png-wh_500x0-wm_3 -wmp_4-s_2761448229.png "title=" Jskhjc3.png "alt=" Wkiom1gjdrvzgubbaaw49sovq-c823.png-wh_50 "/>(Graph Source: www.konghaojiance.org)can see:After the function selection, according to their own needs to operate.Very intuitive operation steps.This article is from the "12167827" blog, please be sure to keep this source http://12177827.
[Jquery. validate] the custom method implements logical verification of "mobile phone number or landline phone number", jqueryvalidate
In recent project development, the following requirement is met: "Enter at least one mobile phone number or fixed phone number", as shown in:
The jquery. validate. js verification component used by the project. Currently, the component does not support the "or" logic verification, So you define
JQuery. validator. add
1633:landline Telephone Network Time
limit: 2 Sec
Memory Limit: MB
Submit:
Solved: 8
[Submit] [Status] [Web Board]
DescriptionThe mayor of Rmrcity wants to create a secure landline telephone network for emergency use with case of serious disasters WH En the city was cut off from the outside world. Some pairs of buildings in the city can is directly connected with a wire telephone
In our program development, some industries use landline call screen, and C # as a Microsoft's important development tool, the application of a wide range of this code to implement the C # call DLL implementation call Bomb screen (in the case of a landline call display box, the box is stable and reliable, simple programming).usingServiceDesk;usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentM
[Reprint] [jquery. validate] the custom method implements logic verification of "mobile phone number or fixed phone number", jqueryvalidate
In recent project development, the following requirement is met: "Enter at least one mobile phone number or fixed phone number", as shown in:
The jquery. validate. js verification component used by the project. Currently, the component does not support the "or" logic verification, So you define
JQuery. validator. addMethod ("phone", function (value, elemen
DescriptionThe mayor of Rmrcity wants to create a secure landline telephone network for emergency use with case of serious disasters WH En the city was cut off from the outside world. Some pairs of buildings in the city can is directly connected with a wire telephone line and the municipality engineers ha ve prepared an estimate of the cost of connecting any such pair.The mayor needs your help to find the cheapest network, connects all buildings in th
Android-mobile phone home location and landline home location query
During the development of the Android project, there was a need to query the mobile phone and landline locations. However, Android itself did not find a database that provides the query locations, therefore, we need to find a solution to meet the needs of the project.
My original idea was to store the stored data in a common file. The file
Poj 3414 Pots (BFS) (simple question)
Pots
Time Limit:1000 MS
Memory Limit:65536 K
Total Submissions:11551
Accepted:4900
Special Judge
Description
You are given two pots, having the volumeAAndBLiters respectively. The following operations can be saved med:FILL (I) fill the pot
I(1 ≤
I≤ 2) from the tap; DROP (I) empty
POJ 3414 Pots (BFS pouring water)
You have two capacities: a and B. Each time you fill a cup with water, you can pour it out, or pour it into another cup. Ask if you can use these two capacities to produce c-capacity water.
Similar to the last cola problem, this operation is more. The water contained in each of the two cups is used as the status. Each time a queue is sent, the water may arrive in all possible states until there is a cup. the volume of
Pots
Time limit:1000 ms
Memory limit:65536 K
Total submissions:10042
Accepted:4221
Special Judge
Description
You are given two pots, having the volumeAAndBLiters respectively. The following operations can be saved med:
Fill (I) fill the potI(1 ≤I≤ 2) from the tap;
Drop (I) Empty the potITo the drain;
Pour (I, j) pour from potITo potJ; After this operation eit
POJ 3414 Pots (BFS pouring water), pojbfs
You have two capacities: a and B. Each time you fill a cup with water, you can pour it out, or pour it into another cup. Ask if you can use these two capacities to produce c-capacity water.
Similar to the last cola problem, this operation is more. The water contained in each of the two cups is used as the status. Each time a queue is sent, the water may arrive in all possible states until there is a cup. the v
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.