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 ();}}}