It is very useful for the interactive purpose on touch devices like piano, illustration and many more other apps.
Android:
MotionEvent - getPressure()
http://developer.android.com/reference/a...Pressure()
iOS:
UITouch - valueForKey:@"pathMajorRadius"
http://easyplace.wordpress.com/2013/04/0...ze-in-ios/
pathMajorRadius seems non documented API but actually be approved by Apple so the apps that use the API are out there following.
Cantor
https://itunes.apple.com/us/app/cantor/id528194314?mt=8
Virtuoso Piano
https://itunes.apple.com/us/app/virtuoso...75989?mt=8
Android:
MotionEvent - getPressure()
http://developer.android.com/reference/a...Pressure()
iOS:
UITouch - valueForKey:@"pathMajorRadius"
http://easyplace.wordpress.com/2013/04/0...ze-in-ios/
pathMajorRadius seems non documented API but actually be approved by Apple so the apps that use the API are out there following.
Cantor
https://itunes.apple.com/us/app/cantor/id528194314?mt=8
Virtuoso Piano
https://itunes.apple.com/us/app/virtuoso...75989?mt=8