As per user requests, I have decided to create this little project to show you some examples of how to use the biometric sensor of your device (if available) to perform different actions.
These are the things you will learn...
• Finger Touch (any): Perform customized actions depending on which finger has touched the sensor. (*)
• Finger (down) [1] + (up): Calculate elapsed time between finger (down) and finger (up), so you can perform long press actions.
• Finger (down) [2]: Double tap gestures (or more).
• Finger (down) [3] + Screen (unlock): React to specific unlock attempts (failed). (*)
• Finger (down) [4]: React to authentication success. (unlocked) (*)
• Finger (down) [5]: Get authentication parameters, like: coverage, quality and average score. (*)
This project does not contain predefined actions that execute certain applications, nor does it carry out specific actions. What is included are generic actions as a demonstration, which can then be extrapolated (idea) to other projects.
Notes:
- The project uses the 'Logcat Entry' action, added in Tasker v5.9.beta8.
- To use it just toggle according profile(s) from the list above.
- There are several ways to make the profile detect the decided filter: applying regex expressions, filtering by specific words/terms, or searching for matching elements from within the associated task by reading the %(lc_text) var.
- (*) The device needs to be locked (Lockscreen).
- IDs are unique for each device, and also components/services can vary from device to device. Therefore, I recommend you not to take these components/filters that I have used in the project as them are. If they work, perfect! But if not, you should look for the corresponding ones for your device. But at least you will have a base to start.
- As logcat components and filters may change from device to device, here you have a compatibility list. If you don't find the right for your device, contact us through the TPC chat groups.
DEMO
CREDITS
@SmartPhoneLover
CHANGELOG
- New: Detection for authentication successful.
- New: Get authentication parameters (coverage, quality, average score...).
DOWNLOAD
Project (XML)
Project (TaskerNet)
DOWNLOAD (Ads Supported)
Project (XML)
Project (TaskerNet)
0 comments:
Post a Comment