SeiSeinDesign Logo
Back to menu page
INFORMATION

Free Online Book

Windows Phone 7, Beginning Silverlight 4 Programming - Accelerometer and Sound -

To develop the applications, it is important for us to use APIs and the sensors.
A mobile device consists of various sensors, touch screen sensor, photo sensor, CMOS image sensor, GPS sensor, and pressure sensor.
Programming for such a device is exactly to process data from the sensor at a given time.
Windows Phone supports accelerometer, compass, gyroscope, and combined motion API.
This book is written about an accelerometer.
The cover of Beginning of Silverlight 4 Programming
Windows Phone 7
Beginning Silverlight Programming - Accelerometer and Sound -
A4×81 Pages, 3 samples and 1 application (Sound Clinometer Ver.0.8).
Author:Sei Yakushiji
Publisher:SeiSeinDesign
The samples in this book are the Silverlight applications developed via those tools.
Graphic Design: Microsoft Expression Design 4 (English).
Layout: Microsoft Visual Studio 2010 Ultimate SP1(English), Microsoft Expression Blend 4 (English).
Programming: Microsoft Visual Studio 2010 Ultimate SP1, Windows Phone SDK 7.1 (English)
The Audio files are created via Steinberg Cubase 5 and Crypton Future Media, Inc. "Megurine Luka"
Language:Visual Basic
Price:Free (no support)

Table of Contents

1. Introduction
1.1 The Phone’s sensors
1.2 Using accelerometer
2. Displaying raw data from accelerometer
2.1 A simple sample using one button
2.2 Before Programming
2.3 Layout of the controls
2.4 Programming
2.5 Debugging
3. Attention using accelerometer
3.1 For the device that does not support accelerometer
3.2 For an application contains some buttons on a page
3.3 For pressing the button on hardware
4. Moving an image using accelerometer
4.1 A simple clinometer and a spirit level
4.2 Before Programming
4.3 Layout of the controls
4.4 Programming
5. Using accelerometer with sound
5.1 Features of "Sound Clinometer"
5.2 The Development Tools
5.3 The Configuration of the application
5.4 Adding the image files and the audio files
5.5 Layout of the controls on Main Page
5.6 Programming of Main Page
5.7 Layout of the controls of the "Settings" page
5.7.1 Settings
5.7.2 Result window
5.8 Edit "App.xaml"
5.9 Programming using an accelerometer
5.10 Debugging
5.11 Making a Help page
6. Create the audio files
6.1 Create an instrumental sound (Cubase 5)
6.2 Create a song (Megurine Luka)
6.3 Create the wav files for WP7 application (Cubase 5)
References
Applications
Copyright
Author and Publisher
If you need the codes of the samples and the application, see page 2 "Downloaing the code" in this book.