Android mobile guard-set interface & amp; function list interface jump logic processing, android guard-Interface

Source: Internet
Author: User

Android mobile guard-set interface & function list interface jump logic processing, android guard-Interface

The encryption class has been implemented in "Android mobile guard-md5 encryption process". Here, the mobile phone anti-theft function is implemented.

For more information, see http://www.cnblogs.com/wuyudong/p/5941959.html.

Mobile phone anti-theft business logic analysis

After the password is entered, you can choose whether to go to navigation page 1 or the mobile phone anti-theft list page based on whether the four navigation interfaces are set.

1. Jump to the 1st navigation page and describe the function

Jump to the third page only when you bind a SIM card to the first page.
You must enter the phone number (2 ways (1, 2, select) to go to the 3rd navigation page ))
Jump to the 4th navigation pages, and enable the mobile phone anti-theft switch.

2. Mobile phone anti-theft function list Interface

Display navigation page 3 selected mobile phone contact number
Whether anti-theft protection is enabled
Set the navigation page again

New jump page after setting the password: SetupOverActivity, used to determine the jump

Package com. wuyudong. mobilesafe. activity; import android. app. activity; import android. content. intent; import android. OS. bundle; import com. wuyudong. mobilesafe. utils. constantValue; import com. wuyudong. mobilesafe. utils. spUtil;/*** Created by wuyudong on 2016/10/9. */public class SetupOverActivity extends Activity {@ Override protected void onCreate (Bundle savedInstanceState) {super. onCreate (savedInstanceState); boolean setup_over = SpUtil. getBoolean (this, ConstantValue. SETUP_OVER, false); if (setup_over) {// The password is entered successfully, and the settings on the four navigation interfaces are complete -----> Stay On the setContentView (R. layout. activity_setup_over);} else {// The password is entered successfully, and the four navigation interfaces are not configured completely. -----> jump to the navigation interface, where 1st Intent intent = new Intent (this, Setup1Activity. class); startActivity (intent); // after a new interface is enabled, close the function list to finish ();}}}

 

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.