Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Apps That Know Where They Are > Time for action seeing gravity and a...

Time for action seeing gravity and acceleration on our phones

Okay, let's look at acceleration in three dimensions on our phones using the AccelerometerSensor component.

All you need in Design is a label to show results. Center it, and make it fill parent. Also big enough to see as you swing the phone back and forth through the air (carefully, carefully, of course).


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint