question

niranjan avatar image
niranjan asked niranjan commented

how to launch the pinentry activity?

How to launch the pin entry activity? can any one share the code pls? and also please help me by sharing the code for logout button?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Jacob Abrams avatar image
Jacob Abrams answered niranjan commented

This question is similar, the answer will show you how to launch an activity to ask for and confirm an employee PIN:

http://devask.clover.com/question/442...

We do not expose a programmatic way to lock the screen. Android allows a DevicePolicyManager to lock the device: http://developer.android.com/guide/to...

But it's not clear if Clover would allow an app to do that.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

niranjan avatar image niranjan commented ·

Thank you for the response. Its working great.

0 Likes 0 ·
Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

Don't forget to click the check mark next to the answer so we know this ticket is done.

0 Likes 0 ·

Welcome to the
Clover Developer Community