Just a (very) quick and dirty example of how it is possible to simulate 3D Force Touch on Android using the barometer.
I made this in 10-15 minutes. It is just a proof of concept.
I used this plugin for Cordova: https://github.com/zanderso/cordova-plugin-barometer .
Video: https://www.youtube.com/watch?v=BgNXsJeN7ek&feature=youtu.be .
First of all enable Unknown sources
in the developer settings.
Then download and install the most recent apk you can find in the builds/
folder.
Just clone the repository, cd
in its directory, connect your Android phone via ADB and run:
cordova run android