2

I am making an Android application and I want dat the entry into the application 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...?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Nitin Jain
  • 21
  • 1
  • 3

2 Answers2

0

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.

mnsalim
  • 947
  • 6
  • 16
0

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

Community
  • 1
  • 1
Dan J
  • 25,433
  • 17
  • 100
  • 173