Sunday, July 29, 2018

android - How to block "Google Search" appearing when long pressed HOME key?

I'm developing a Home screen application for android. But when the HOME key is long pressed "Google Now" search always appears - I want to avoid that. I found that the android framework does not give a HOME key press event out to application level.




Since this is a home screen app I can detect HOME key short press, but not the long press.
So how can I block/disable this system search activity coming up when HOME key is long pressed?

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...