Start the application by shaking your phone based on broadcast broadcasting, listening to the appropriate intention, if possible?

Are there any system / default intentions that can be caught by the translator or can be a service that can run in the background and open my application when I shake the phone!

Is it possible to combine the concepts of an accelerometer and broadcast receivers to achieve the above, or is there something fundamentally wrong with this approach?

+4
source share

Source: https://habr.com/ru/post/1413672/


All Articles