开发者

Using the Android Pattern Lock screen as a LOG-in to my android application

I am making an Android application and I want dat the entry into the applicatio开发者_如何学Pythonn should be protected by keeping the pattern lock screen as a LOG-in. Is it possible to use the Android pattern lock screen as a Log-in to our own made applications... If possible HOW...?


There are lots of very similar questions to this one already, e.g.
Reusing Android Lock Pattern
Android App and Pattern Lock Screen


You may find this project useful. Simply use the code to create pattern password

Intent intent = new Intent(context, LockPatternActivity.class); intent.putExtra(LockPatternActivity._Mode, LockPatternActivity.LPMode.CreatePattern); startActivityForResult(intent, _ReqCreatePattern);

and in onActivityResult you get your password.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜