Files
android_development/samples/browseable/AccelerometerPlay/_index.jd
Trevor Johns ef51b0db8e docs: Add AccelerometerPlay sample to prebuilts
Change-Id: I8e4146cd00df889e60aa9f03f9a79231b02dfdd5
2016-08-28 10:58:43 +00:00

16 lines
549 B
Plaintext

page.tags="AccelerometerPlay"
sample.group=Sensors
@jd:body
<p>
<p>This sample demonstrates how to use an accelerometer sensor as input for
a physics-based view. The input from the accelerometer is used to simulate a
virtual surface, and a number of free-moving objects placed on top of it.</p>
<p>Any effects from the device's acceleration vector (including both gravity and
temporary movement) will be translated to the on-screen particles.</p>
</p>