Android - Marshmallow Now on Tap

   One of the fascinating features of Marshmallow was Now on Tap. It crawls through the screen content and displays relevant information.




    The trigger event is to long press the home button for few seconds. This kind of suggests that some kind of intent is being fired and is being handled by a background application launching the relevant UI. However, an intent design can be hijacked by third party applications and might be confusing for users expecting Now on Tap. In fact, firefox managed to trap the launch intent for Google Now cards in earlier versions of Android. Based on the logs, this seems to be some kind of platform level core changes and surprisingly is coupled with speech and audio inputs. It looks like the touch event is being routed as audio inputs. This feature was either designed with speech input as a trigger event or speech input is further down the line.

MicrophoneInputStream: mic_starting com.google.android.apps.gsa.speech.audio.y@4799571
MicrophoneInputStream: mic_started com.google.android.apps.gsa.speech.audio.y@4799571
MicrophoneInputStream: mic_close com.google.android.apps.gsa.speech.audio.y@4799571

No comments: