Back to project page RoboLock.
The source code is released under:
Apache License
If you think the Android project RoboLock listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.lucas.robolock; //from w w w .j a va 2 s .c o m import android.app.Activity; import android.os.Bundle; import android.view.View; /** * Show this activity to shade the actual activity so the user is asked to pass the authentication on this activity screen. */ public class LockActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.robolock_activity_lock); findViewById(R.id.unlock).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { unlock(); } }); } private void unlock() { finish(); } }