• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2page.tags="AccelerometerPlay"
3sample.group=Sensors
4@jd:body
5
6<p>
7
8            <p>This sample demonstrates how to use an accelerometer sensor as input for
9            a physics-based view. The input from the accelerometer is used to simulate a
10            virtual surface, and a number of free-moving objects placed on top of it.</p>
11
12            <p>Any effects from the device's acceleration vector (including both gravity and
13            temporary movement) will be translated to the on-screen particles.</p>
14
15        </p>
16