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