![set pins in volcano box set pins in volcano box](https://i.pinimg.com/474x/98/18/7b/98187ba578ee7fcc8d7f831e9234c6ba.jpg)
StartActivityForResult(intent, mRequestCode) ĬustomLog.i(TAG, "Show Set Lock PIN Activity") Intent intent = new Intent(Intent.ACTION_RUN) In my application I have write following functions in order to call " ConfirmLockPattern" or " ChooseLockPattern" activities: /**ĬustomLog.i(TAG, "Show Confirm Lock PIN Activity")
Set pins in volcano box android#
After I compile android Source codes and launch system.img on my emulator. This modifications allow me to call " ConfirmLockPattern", " ConfirmLockPassword" and " ChooseLockPattern" activities from my own application.
Set pins in volcano box code#
In ~\AndroidSources\pakages\apps\Settings\AndroidManifest.xml I have changed following lines of code // This line was added by me. Okay, I have solved this problem and now I want to share my solution with you.Īt first as I told I have android sources so I have made some changes in android sources to get access to the PIN and Pattern dialogs. If anybody encountered such problem please help me to solve.Am I on a right way and can I solve my problem in this way?.Can somebody provide me useful links about getting access to the system PIN dialog in the rooted phone.So I think that the only way to get access to the Android system PIN dialog is to root the phone make some changes in the system files and use system PIN dialod How can I call LockPatternUtils class function from my code ? Or Why I cant see that function in Eclipse ? So looking in android sources I found an interesting files ChooseLockPassword.java ( packages\apps\Settings\src\com\android\settings) and LockPatternUtils.java (*frameworks\base\core\java\com\android\internal\widget*) now I am interest in: Question I have made some searches today and found a very interesting thing, I think I am on a right way to the solution, and I want to share my ideas with you. 1 of 2 and Tutorial: Android Internals - Building a Custom ROM, Pt. I have made some searches and found some articles on stackoverflow and other internet sources which say " There is no way to develop a new custom unlock mechanism on a non-rooted phone." or " I would be surprised if you could, because then you would be probably able to steal the pin code, and I don't think anyone would want that.".Īlso I have watched some video tutorials like Tutorial: Android Internals - Building a Custom ROM, Pt. After System must check if entered PIN is correct or no and continue working.
![set pins in volcano box set pins in volcano box](https://ae01.alicdn.com/kf/HTB1I3xnKpXXXXahXpXXq6xXFXXX9/125K-RFID-reader-usb-EMID-mini-card-reader-noneed-driver-support-Android-Linux-OTG.jpg)
User enter his PIN and press "Continue" button.When user press on button "Continue with PIN" system standard PIN dialog must appears.If user have registered PIN, application must show button "Continue with PIN".When user start application it check if user have registered PIN on his device.I am trying to write an application which works like described below.