accelerometre

i want to display text when the device tilted right,left,up,down any one having custom code with easy understanding

https://docs.coronalabs.com/api/event/accelerometer/index.html

Look through a couple of these functions, I think they will help.

The Corona sample project will also help you understand this concept. Look in your Corona application folder here:

SampleCode > Hardware > Accelerometer

Take care,

Brent

https://docs.coronalabs.com/api/event/accelerometer/index.html

Look through a couple of these functions, I think they will help.

The Corona sample project will also help you understand this concept. Look in your Corona application folder here:

SampleCode > Hardware > Accelerometer

Take care,

Brent