[Q] How to add a pattern matching screen to your app? - Android Q&A, Help & Troubleshooting

So I was wondering if there was any existing API from Google or else where that lets you integrate a pattern based gesture system like the unlock screen for apps?
So that it is not used as an unlock to the phone's screen like it is used right now, but could be used as an advanced gesture based activity that you have to launch.
For example, it could now perform VERY specific macros that I can use, like say reply with "This is not a Q&A forum, please use the right forum section" in a forum browsing/posting app when I perform a specific pattern. This would also help cut down on possible false positives for gesture based events.
If it was possible, something like for every pattern that is possible in this screen, a unique ID is assigned to it. And a event is fired that we can catch and process when it recognized it.

Related

[Q] Log touch events script help

Apologies if this doesn't belong here. I have been searching for a solution for a few days now. A bit about what I am trying to do. I own a Pivos Xios android device. It is a set top box type thing for your tv. Unfortunately my tv is slightly older and is still vulnerable to the screen burning if a static image is left to long. It has no display timeout so none of the screen savers on the play store will work. I started to mess with Tasker to make my own, but there is no way to detect a screen touch event in Tasker to know when to toggle a screen saver.
I am a complete newb when it comes to scripting for android. I took a look at an app called script manager, it looks useful, but doesn't help me much right now. So I wonder if this is possible or not, but what I would like to do is have a script that senses when the touch events happen and then writes to a text file. It doesn't even have to write anything worth a value. Tasker can detect the change in the text file and trigger my screen saver event.
I found out that using getevent -lt /dev/input/event2 in a terminal gives me a nice list of all my touch events. Is there a simple way to use it for what I want? Is there anyone that could give me a code snippet to fulfill my needs? Or at the very least point me in the right direction?
Thanks for taking the time to read!

[Q] Feature is delaying all system (Magnification Screen)

Not long ago, I discovered the Screen Magnification feature (Only on Android 4.2.2) and it solved all my problems.
But now I found a new problem: Enabling this feature causes a general delay effect throughout the rest of the system, especially in apps like caller and calculator. In general, applications that have a keyboard further demonstrate this delay even more, but you can feel that something is wrong all over the usage.
The cause is simple: To enable the Magnification you need to triple tap the screen, so when you tap for the first time, the system is still waiting for the other two taps before making something. The solution? I do not know, but the Apple devices solved this by activating the feature with a three fingers double tap, that is a unique gesture instead of a single finger gesture.
The question is: I detected a problem and I suppose I know how to solve. Now, to whom do I report this experience? I do not think Google is going to worry about it because they are always leaving aside any accessibility features. It would be nice if I could get in touch with any developer who wants to improve the Android usage. Can you ajduar?

[Q] Multiple unlock patterns for different actions

Hello,
Is there a way to program multiple patterns on the pattern unlock screen to perform an action (such as : regular unlock, take picture, mute, launch app, ...) ? Maybe it could be done using the xposed framework.
I'm not talking about the unlock gestures in CM ROMs but an extension of the classic 3x3 grid which still retains a bit of security.
There is already a post about this : (http://forum.xda-developers.com/showthread.php?t=909282), with several people thinking it would be great but nothing more.

Disable Google Now but keep microphone?

Hi, I've searched the forums but haven't found anything similar to my issue. We have a very non-popular android device at work..the Intermec CN51, running 4.2.2. This question would probably apply to any device though: is there any way to manipulate the api to disable Google now but keep the microphone function enabled? More detail: because these devices are government-specific, they are pretty locked down. However, certain screen swipes, such as swiping up on the lockscreen, causes the Google Now icon to appear instead of unlocking the screen. I was able to disable Google Now services to get rid of that function. This allows the end user to swipe up, down, whatever, and the lockscreen would unlock. However, this also disabled the microphone on the keyboard. Is there any code or configuration to prevent the microphone from disabling or not displaying? Thanks!

Urgent Android Development Help To Enable Users To Select Multiple Images

Basically, I must make a secure locking device app where users may unlock their phone by swiping images they select to their likes and dislikes. I have started it, however I have a few problems at the moment on my project. I found quite a few useful source code I have been making use of on github I am trying to allow users to highlight the image that they select on the phone rather than display each image clicked.
I feel this must be done in order for ease of usability and comfort and from this screen I will take users to another screen where they may setup their likes and dislikes of the images they selected and hence use them in the locked screen to unlock their phone.

Categories

Resources