Vote up!
0 Votes
1 Replies

How do we handle Power button press (Long Press, double press , Single Press)?

Question asked by Sambit Kumar Mishra on Jul 03, 2017 00:35 EDT

The requirement is to create a Panic Button App: 1. Click of power button should trigger some event 2. Even when the app is in background 3. For all platforms - android, iOS, Windows Can it done through FFI only?  For native android:   

Vote up!
0 votes
Vote down!

Hi Sambit,

You can use the Gesture API s to achieve your objective.

For more information on this, kindly go to the following link.

If this is not your requirement, kindly get back to us.

Thank you
Rashmi Menon

Customer Success Engineering

Replied by: Jul 04, 2017 08:24 EDT