You have to create a Service
that listens for the shake event.
listen shake event when I am @ home screen in android
Question
I implemented shake event form this.
But how can I listen shake event in home screen?
Is there any broadcast receiver or I have to create service for listen shake event?
I found How to check If I am currently on home screen to get homescreen focued but for default only. If I have custom home launcher then How can I recognize that launcher. Is Manifest is having any identification for launcher application???
Help is needed. Thanks.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow