how do I test onTilt events?

I am making a game similar to doodle jump and I have the code here but how do I know if it works how do I test it?

local function onTilt( event )
        physics.setGravity( 10 * event.xGravity, -10 * event.yGravity )
end
 
Runtime:addEventListener( “accelerometer”, onTilt )

You would need to test this on a device.

I use this:  http://rcorona.wongcharles.com

Works well. Read his page to learn how to use it, but in short-  buy his inexpensive ios app (I believe he has android

as well), and download a free .lua file. Require the file, attach one of his functions to your Runtime listener, and you should

be able to recieve tilt/accel/multitouch events from the rcorona app in your simulator. 

Did a quick search and found a few others:

http://code.google.com/p/coremoter/

http://www.coronaremote.com

http://www.mydevelopersgames.com/site/corona-ultimote-2/

You would need to test this on a device.

I use this:  http://rcorona.wongcharles.com

Works well. Read his page to learn how to use it, but in short-  buy his inexpensive ios app (I believe he has android

as well), and download a free .lua file. Require the file, attach one of his functions to your Runtime listener, and you should

be able to recieve tilt/accel/multitouch events from the rcorona app in your simulator. 

Did a quick search and found a few others:

http://code.google.com/p/coremoter/

http://www.coronaremote.com

http://www.mydevelopersgames.com/site/corona-ultimote-2/