Download complete tutorial PDF from here. Please check the LogCat for Output.
This is a simple post showing how to use accelerometer in android. This java code prints the values of x,y and z axis in the console. Leave your comments on this post. Find Coderzheaven on facebook, twitter , google Plus and MySpace for more updates.
Hi, For getting touch location in Corona, use the following code,
The following is a sample code to do this. Simply copy and paste.
The following code helps you to do this. Save the following code as am .mxml file The html file start.html