Android SMS interception solution before 360

Source: Internet
Author: User

You can start a service at startup for Dynamic Registration.


Maximum priority value: Android: Priority = "2147483647" // The maximum priority value is the maximum value of the unsigned Int. This is also true for 360. As for listening, I tried it, which of the following is the first to install the listener.


File file = new file ("/data/APP /");
String [] files = file. List ();
To print the order of the array, which is the order of your installation. That is, the order of broadcast acceptance.
If you want to change the order, you need to modify the package name of your application. After a third-party application is installed, the com.yourname-1.apk folder is generated under data/app. the order of broadcasting is related to the name.
By the way, you need the root permission to execute the above two lines of code if debugging is performed on a real machine. Or machine with the Eng version. If you use a simulator for debugging, You can execute it.


The 360 priority level is high because it is a dynamic registration broadcast and then starts up. Dynamic broadcast has a higher priority than static broadcast. The priority of Dynamic Registration is that you receive the Dynamic Registration first. Therefore, we need to find out who starts the program first, who starts the program first, and who registers the broadcast first, who can receive the broadcast of the text message first. As for how to start the instance first, see the answer above. The top ranking of the array will start the instance first. This is only for third-party installation. The built-in sequence is certainly higher than that of a third party.


PS: The above text comes from the Forum...

Related Article

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.