(X) Hide this Sign up for the upcoming webinar: Switching on the Cloud for Silverlight by Gill Cleeren. March 23rd, 11 am PST (check your local time)
Full info | Sign up | More webinars
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 5 results for Accelerometer.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Mar 19, 2011 (5 days ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this blog post, you will find a sample that will help you to create an accelerometer for Windows Phone 7.

    Source: The Visual Basic Team

    An accelerometer is a device that measures the proper acceleration of the device. It is a sensor that measures acceleration forces caused by moving the sensor. In this application the accelerometer feature will allow you to determine the orientation and the motion of the phone.

    Now I will demonstrate how to create an accelerometer for Windows Phone 7, using Visual Basic for Windows Phone Developer Tools. Sounds interesting? So let’s begin.


  • 0 comments  /  posted by  Peter Kuhn  on  Mar 09, 2011 (2 weeks ago)

    This article is part 6 of the series "XNA for Silverlight developers":

    Last time we learned about touch input and gestures, which probably is the first choice for user input in most games on the phone. However, the hardware of Windows Phone 7 devices offer more possibilities in the form of additional sensors that can be used for input, in particular the accelerometer. For example, Microsoft's game "Kombo" that was available on the phone very early proved that using the accelerometer as primary input for a game is very well possible (give it a try, it's free).
  • Using the Accelerometer in Silverlight for Windows Phone

    0 comments  /  posted by  Silverlight Show  on  Jan 25, 2011 (1 month ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterJeff Prosise introduces the accelerometer API in Silverlight for Windows Phone and demonstrates how to build apps that can do cool things with it.

    Source: Jeff Prosise's Blog

    One of the sensor devices present in every Windows phone is an accelerometer that provides real-time acceleration data in the X, Y, and Z directions. Applications can use that data to determine a phone’s 3D spatial orientation, and to detect changes in that orientation. Under the hood, Silverlight for Windows Phone uses the accelerometer to determine the page orientation. But the accelerometer can do much more than just differentiate between portrait and landscape: it can be used to build apps that simulate physics. Ever seen the popular iPhone game named Labyrinth, in which you guide a marble through a maze by tilting the phone? Labyrinth is a great example of an app that uses an accelerometer.
  • 2 comments  /  posted by  Anton Polimenov  on  Sep 08, 2010 (6 months ago)

    Dave Edson and Greg Hogdal have written a wonderful article about using the accelerometer on Windows Phone 7. It describes how the native API is working. They have also made a simple class named AccelerometerHelper, which is very useful and makes the work with the accelerometer an easy job.

    In this blog post we will talk about the different ways you can use the accelerometer API in Windows Phone 7.  We  also include a class called AccelerometerHelper  that uses the Microsoft supplied managed API and provides a variety of data for you to experiment with and find the right solution for your application.

    You can read the full story here.

  • 0 comments  /  posted by  Silverlight Show  on  Jul 28, 2010 (8 months ago)
    Tags: Accelerometer , Windows Phone 7 , Jeff Fansler
    In this post, Jeff Fansler discusses the accelerometer in Windows Phone 7.

    Windows Phone 7 (WP7) will have an accelerometer in it. The framework namespace that covers the accelerometer is Microsoft.Devices.Sensors. The class we care about here is the Accelerometer class. This class has 2 important methods Start and Stop. As you can likely guess, start tells the system you want to start reading values from the accelerometer and stop means you are done. The Accelerometer also has an important event called ReadingChanged. This event fires once you have started the accelerometer and one of the accelerometer values has changed. The event uses the AccelerometerReadingEventArgs class to return back the values that have changed. There are 3 important values, X, Y, and Z. Each represents the force of acceleration on that axis.