Android mobile GUARD 5-mobile phone theft, android5 --

Source: Internet
Author: User

Android mobile GUARD 5-mobile phone theft, android5 --

1. Interface Introduction

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

SetupOverActivity. java

1 package com. itheima. mobilesafe74.activity; 2 3 import com. itheima. mobilesafe74.R; 4 import com. itheima. mobilesafe74.utils. constantValue; 5 import com. itheima. mobilesafe74.utils. spUtil; 6 7 import android. app. activity; 8 import android. content. intent; 9 import android. OS. bundle; 10 11 public class SetupOverActivity extends Activity {12 @ Override13 protected void onCreate (Bundle savedInstanceState) {14 super. onCreate (savedInstanceState); 15 boolean setup_over = SpUtil. getBoolean (this, ConstantValue. SETUP_OVER, false); 16 if (setup_over) {17 // The password is entered successfully, and the settings on the four navigation interfaces are complete -----> Stay On the Function list page 18 setContentView (R. layout. activity_setup_over); 19} else {20 // The password is entered successfully, and the four navigation interfaces are not set up completely. -----> jump to the navigation page, which contains 1st 21 Intent intent = new Intent (this, Setup1Activity. class); 22 startActivity (intent); 23 24 // after a new interface is enabled, close the function list interface 25 finish (); 26} 27} 28}
SetupOverActivity

 

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.