how would you create an activity that only runs when the application is started for the first time ever and provides the user with a screen to input a pin and \"unlock\" the app
You can always start with something like "splash screen" activity, that will only check in database/ shared preferences if user is logged in. Then you can run login activity or not.
Or in first activity you can show popup window with request of login.