Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to have pin lock feature for certain activity or fragment in android?

Tags:

android

How to have pin lock feature in app for certain activity or fragment? I searched for suitable library but didn't found. Please provide me suitable solution with example.Thank you

like image 659
Deep Avatar asked Sep 18 '25 18:09

Deep


1 Answers

okay, may be you should start your Activity or Fragment followed by a dialog with an editText and check for the input whether it matches the desired value.On correct input start your activity or fragment. Hope it helps.

like image 113
Simo Avatar answered Sep 21 '25 08:09

Simo