Android lock Design

Source: Internet
Author: User

ProgramName: Mobile Phone program lock
Version 1.0
Website: http://blog.csdn.net/icemanyandy
Introduction : Applock is a security tool for encryption applications on Android. It is easy to operate and efficient. You can lock Multiple software programs at the same time, such as text messages, mobile album, mobile book software, mobile video player, and mobile music player, when entering the software program, you need to enter your own password. If the password is incorrect, you cannot enter the software.
This version is the first version. It meets users' requirements for application encryption. The interface is easy to operate and will be updated later, making operations more convenient and providing better security protection.

Charge type: free
Developer information: softboy
Official website address: None
Supported mobile phone systems: Android 1.5 and above

Keywords : Software lock mobile phone software encryption program lock Software Encryption mobile phone encryption lock
See: applock1.jpg
Applock2.jpg
Applock3.jpg

Applock4.jpg

Design principle:

Use final activitymanager AM = (activitymanager) getsystemservice (activity_service );

/** We only need to get one runningtasks. In general, it will be obtained from the top of the stack according to the number of incoming
There is always an activity in a set and it will not be blank. Please rest assured
*/
String name = aM. getrunningtasks (1). Get (0). topactivity. getpackagename ();

Obtain the package name of the currently running program.

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.