Skip to content

chpmrc/3d_force_touch_android_barometer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Force Touch on Android

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 .

(For testers) How to install on your device

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.

(For devs) How to run with Apache Cordova

Just clone the repository, cd in its directory, connect your Android phone via ADB and run:

cordova run android

About

Just a (very) quick and dirty example of how it is possible to simulate 3D Force Touch on Android using the barometer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published