How can we launch the application by simply shaking the device? I want to do something similar to the apphaker app.
From activity, you can use the SensorManager to detect jitter, and then respond to that jitter. This is what AppShaker does. Here is an example project demonstrating one way to detect jitter.
SensorManager
Source: https://habr.com/ru/post/886787/More articles:QT4 QstringListModel in QListView - c ++Is it possible to use teamcity message from shell scripts? - shellFuelPHP - is production ready? - phpMake still JInternalFrame - javaChange inline confirmation / alert - javascriptSQL SELECT to find circular references in tree-id-organized tree? - sqlShake device to run application - javaHow to define a parent branch in Perforce? - perforceComparison of quaternions? - javaAnalysis of mathematical operations with PHP - phpAll Articles