Iphone Application : Using Gesture Recognizers (part 3) |
The swipe gesture recognizer will be implemented in almost the same manner as the tap recognizer. Instead of being able to choose the number of taps, however, you can determine in which direction the swipes can be made. |
|
|
Iphone Application : Using Gesture Recognizers (part 1) |
Each gesture will update a text label with information about the gesture that has been detected. Pinch, rotate, and shake will take things a step further by scaling, rotating, or resetting an image view in response to the gestures. |
|
Handling Input on Windows Phone 7 : Microphone Input |
The XNA Framework libraries make the Microphone available programmatically to applications. Add a reference to Microsoft.Xna.Framework assembly and a using clause for the Microsoft.Xna.Framework.Audio. The class of interest is the Microphone class that provides access to available microphones on the device. |
|
Handling Input on Windows Phone 7 : Accelerometer |
The accelerometer can be an entertaining and engaging method of input, especially for game development with XNA Game Studio or Silverlight. We all have seen the car racing games on mobile phone or mobile gaming devices where the user is tilting the device like a steering wheel. |
|
|
|
XNA Game Studio 4.0 : Storage - Isolated Storage |
The Subst utility is one that just about anyone can use. It makes a directory look like a new drive to a user. In fact, this effect shows itself in Windows Explorer, so the Subst utility has a lasting impact on your system. |
|
Using Media in XNA Game Studio : Visualizations |
While you are playing a song, you can get visualization data. This data is an array of frequencies and samples based on the current audio played. Although a common usage of this data is to render visualizers (and is what this code does), you can also use this data to drive your game. |
|
Using Media in XNA Game Studio : Video |
There are times when you might want to play a video in your game. Perhaps you have a “cut scene” in your game, or the introduction video. This functionality is easy to use and can be done in just a few lines of code. |
|
|
|
|
Windows Phone 7 : Using MVVM and Performing Unit Testing |
You must write your application by using the MVVM pattern, then you will be able to write Unit Test for each ViewModel. To test your ViewModels, you need to use the Silverlight Unit Test Framework tweaked for Windows Phone 7 by Jeff Wilcox. |
|
|
|
Windows Phone 7 : In the Cloud - Interacting with WCF |
Windows Phone was created to use services, but you should always remember one thing when you work with it: service access is always asynchronous, because (as with the use of services in Silverlight for the Web) you must not freeze the user interface. |
|
|
|
|
Windows Phone 7 : Isolated Storage - Saving Serialized Data |
The XmlSerializer class serializes (and deserializes) objects to and from XML documents. In serialization, we convert an object and its properties to a serial format (in this case, XML) that can be stored (in our case) or transported (in the case of services, for example). |
|
|
|
Windows Phone 7 : Sounding Out with Game Audio - Playing Music |
The certification requirement complication for Windows Phone 7 games revolves around the fact that one of the other primary uses for the device is as a media player. The operating system has a flexible media library that allows music and other audio content to be played on the device, even when the media library has been moved to the background. |
|
Windows Phone 7 : Playing Sound Effects |
XNA provides a fair amount of flexibility for playing sound effects inside your games. It can play multiple sounds simultaneously (including multiple instances of the same sound) and offers control over volume levels, stereo panning, and pitch shifting. |
|
|
|
|
Windows Phone 7 Advanced UI Development : The Microsoft Advertising SDK |
The Microsoft Advertising SDK provides mobile advertising support for Windows Phone 7. You are not required to use Microsoft's advertising SDK and associated advertising network. If you have an existing advertising network or an in-house creative and sales force, you can continue to use those resources for advertising revenue. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Windows Phone 7 : Sensors - Displaying Sunset and Sunrise |
There are several ways to find out the time of sunrise and sunset (for example, through web services, libraries, and complex calculations). This recipe shows how to access and use a certain property in order to explore the potential of Location Services. |
|
|