How to intercept a phone number on Windows Mobile

Source: Internet
Author: User

This article is original. If you need to reprint it, please indicate the source!

This feature is a pity for me.

Several key points: 1) lineinitialize; 2) lineopen; 3) Implement callback in step 2 to determine the value of dwmsg. When it is line_callinfo, you can get the incoming call number, and then you can start hanging up or other operations. However, when you get the phone number, the phone has been ringing for more than two seconds. Some people also say that the mobile number can be obtained when line_callstate is used, while the telecom number can be obtained only when line_callinfo is used. Note: line_callstate is obtained before line_callinfo.

If you want to get the phone number before the bell rings, TAPI may be awkward. You need to use a more underlying ril api.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.