In this example, we are going to create a sensor application that changes the background color of activity when device is shaked.
If anyone would like to create a Google Doc from this information please feel free I will add a link to this post.
The following are Jave code examples for showing how to use TYPE_PRESSURE of the android.hardware.Sensor class. Like I said this is just a start we can build form it. Then this article will help you with android secret codes.
If you use any android phone you are already aware of all the options supported by this platform, but there are some tricks that maybe you don’t know. Because the Gyroscope intrigues me and I think it could make for a pretty good thing to work with. For understanding about sensor basics, visit the previous page that provides details about sensor api. Secret Codes also helps us to enable and disable lots of hidden setting. Android supports sensors which provide the measurements of certain properties such as device motion, orientation and rotation, pressure, temperature, light, magnetic field, proximity and humidity. The *#*#4636#*#* is the most common code that people use. List of Android "Secret" Codes, Tips, and Tricks. These codes are used during the hardware and software test on Android.