0

I'm trying to build an app lock application. I have created a service to monitor current running apps. And checking which app is opened, I redirects to my app lock.

When I open the app, it is guided to lock app. Till that it's ok. After successful authentication, I want to continue with my opened app. How can I achieve that?

I have used below codes to open app lock from the locked app.

      Intent i = new Intent(ServiceClass.this, AppLockActivity.class);              
      i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
      startActivity(i);

After successful authentication, I want to continue with my app, without any interaction from the app lock. How to do that?

Brahma Datta
  • 1,102
  • 1
  • 12
  • 20
Hari
  • 77
  • 1
  • 10

1 Answers1

0

Simply you can call finish() to kill your AppLockActivity

Rasul
  • 727
  • 7
  • 20