long press a shortcut

Post your questions and help other users.

Moderator: Martin

Post Reply
But first the Tranya
Posts: 6
Joined: 16 Feb 2014 16:04

long press a shortcut

Post by But first the Tranya » 19 Dec 2015 16:55

I'm looking for a way to make a shortcut I create long pressable. Couldn't find a specific trigger, and not sure if there's an expression to check the duration I press the shortcut. Would appreciate some help, thanks!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: long press a shortcut

Post by Martin » 21 Dec 2015 19:33

Hi,

To my knowledge this is not possible with a shortcut since long press is usually used by the launcher to detect when the shortcut should be moved or removed. You could use a custom widget and display the widget as an overlay to detect long press, double press etc.

Regards,
Martin

Post Reply