Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
New Developer
Posts: 28
Registered: ‎07-17-2012
My Device: LE / DevAlphaC
My Carrier: vodafone

inclinometer sample app on github?

hey guys do we have a inclinometer sample app on github?

interested in current apps?

http://appworld.blackberry.com/webstore/vendor/58298
Retired
Posts: 418
Registered: ‎07-18-2012
My Device: Q10
My Carrier: Bell Canada

Re: inclinometer sample app on github?

Hi,

 

The sensor demo reads the accelerometer.

 

If the device is stationary, the vector from the accelerometer compensated for gravity is the incline.

 

https://github.com/blackberry/Cascades-Samples/tree/master/SensorDemo

 

Thanks!

--
Rob is no longer associated with BlackBerry.