Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Phone
Change page: < 1 2 3 4 5 6 7 8 >  |  Displaying page 4 of 8, items 151 to 200 of 376.
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 2)
To access our gesture views and feedback objects from the main application, we need to connect the outlets defined earlier. Starting with the top-left view, Control-drag from the File’s Owner icon to the view.
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 : XNA Game Studio Storage (part 2) - Getting a Device
Getting the device to save your data to is quite error prone. What makes this situation so easy to get wrong is how the user chooses where to save the data. It is expected that all Xbox games enable the user to choose where to save data, so the API has to enable him or her to do so.
XNA Game Studio 4.0 : XNA Game Studio Storage (part 1) - Recreating the Project on Xbox, Devices and Containers
If you used previous versions of XNA Game Studio, this next section should be familiar. It is the updated version of the storage API that shipped for the last few releases. Although it is more complicated than the version you just saw, it also has more features.
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.
XNA Game Studio 4.0 : Dynamic Sound Effects - Recording Audio with a Microphone, Generating Dynamic Sound Effects
Not all sounds have to come from a prerecorded file. New to XNA Game Studio 4.0 are the capabilities to record microphone data using the new Microphone class and playback of dynamic sound effect data using the new DynamicSoundEffectInstance class.
XNA Game Studio 4.0 : Playing Sound Effects (part 2) - Microsoft Cross-Platform Audio Creations Tool
The Microsoft Cross-Platform Audio Creations Tool (XACT) is a powerful graphical audio-authoring tool that enables you to manage large numbers of source wave files and to control their playback in the game.
XNA Game Studio 4.0 : Playing Sound Effects (part 1) - Using SoundEffect for Audio Playback
The simplest way to play audio is to use the SoundEffect class. A SoundEffect contains the shared resources needed to play audio such as the wave data that makes up the sound. Load the SoundEffect by using the content pipeline similar to how you load a texture or other resources you have seen so far.
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 : Implementing MVVM on Windows Phone by Using MVVMLight
You want your application implementation to have a consistent separation of concerns between modules. You want the view to have only the task of displaying information, and to remove from the view everything that requires some logic or data access.
Windows Phone 7 : In the Cloud - Creating a Feed Reader
For our application, we chose an Atom feed made available by the British Broadcasting Corporation (BBC), but it's clear that you can use all feeds in Atom format.
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 a Photo in Isolated Storage (part 2)
Run the application from Visual Studio by pressing F5. The application can run on either the physical device or the emulator. However, you will not be able to debug the application on the physical device if you are connected to Zune, because it stops the multimedia functionalities.
Windows Phone 7 : Isolated Storage - Saving a Photo in Isolated Storage (part 1)
In this recipe, you will play with some features of Windows Phone, combining them in an interesting application. You know how isolated storage works and how you can add files to it and open them.
Windows Phone 7 : Isolated Storage - Modifying Settings of Your Application
IsolatedStorageSettings enables you to easily and locally store user-specific data as key/value pairs in the object IsolatedStorageFile.
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 : Saving a File in Isolated Storage and Loading It
The class that provides the ability to access data in isolated storage is IsolatedStorageFile, contained in the namespace System.IO.IsolatedStorage, which in turn is contained inside the mscorlib assembly.
Windows Phone 7 : Media Management - Adding Integration with the Music-Videos Hub
The Music-Videos hub is an aggregator application available from the Windows Phone 7 operating system. It groups all the applications installed on the phone that reproduce media files such as music and videos.
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.
Microsoft XNA Game Studio 3.0 : Creating Game Components - Adding Artificial Intelligence
The posh name for what you are doing now is artificial intelligence (AI). You want to make it look as though the tangerines are being controlled by an intelligent opponent who knows where you are and is heading that way.
Microsoft XNA Game Studio 3.0 : Creating Game Components - Adding 100 Killer Tangerines
The List collection also provides Remove methods that let you remove elements from a list. When an element is removed, the list is "shuffled down" to so that there is no empty slot. This would be a very useful way of removing items from game that have been destroyed. If they are removed from the list, they are not drawn.
Windows Phone 7 : Using the Microphone in the Funny Repeater Application
In the Microsoft.Xna.Framework.Audio namespace, the Microphone class is defined; this class provides access to the device's microphone. The Microphone class has the BufferReady event that is raised at regular intervals depending on the BufferDuration setting.
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.
Microsoft XNA Game Studio 3.0 : Creating Game Components - Constructing Class Instances
Any BaseSprite instance referred to now always has a texture and a rectangle, which means that it can be drawn without problems. You have been using new in this way ever since your first program. Even this code uses new in the constructor call to set up the Rectangle being used to make the BaseSprite.
Microsoft XNA Game Studio 3.0 : Creating Game Components - Objects and Abstraction
Abstract classes let you design a system by working out what a particular kind of object needs to do and then setting a specification or template to ensure that all the objects of that kind can do these things.
Creating Transitions and Interactivity (part 2) - Visual State Manager
The Visual State Manager (VSM) is a tool available within Expression Blend. It allows the developer / designer to visually define Visual State Groups that represent UI state for controls in that state, represented as a Storyboard.
Creating Transitions and Interactivity (part 1) - Toolkit Page Transitions
The Silverlight for Windows Phone 7 toolkit enables transitions that match the built-in native transitions available in Windows Phone 7, allowing your application to have the same look and feel without a lot of work.
Silverlight for Windows Phone 7 Toolkit (part 4) - LongListSelector Control
The LongListSelector control is the uber-ListBox control available for Windows Phone 7. It supports flat lists (like in a ListBox), but it can provide better performance than the standard ListBox control.
Silverlight for Windows Phone 7 Toolkit (part 3) - WrapPanel Control
The WrapPanel control works very similarly to the same named control available in the desktop Silverlight toolkit. It arranges child items left to right, row by row or top to bottom, column by column.
Silverlight for Windows Phone 7 Toolkit (part 2) - ContextMenu , DatePicker, TimePicker, ListPicker & ToggleSwitch Control
The ToggleSwitch control configures a boolean value as On or Off. It can take a simple Header attribute for a text value to display across the top above the switch and current status as shown in the first two ToggleSwitch controls in Figure 6.
Silverlight for Windows Phone 7 Toolkit (part 1) - AutoCompleteBox Control
The toolkit was extended to Windows Phone 7 with the initial release for phone in September 2010, with the latest update available as of this writing releasing mid-November 2010.
Windows Phone 7 : Using Media Player to Shuffle Songs in Your Media Library
You have to use the MediaLibrary class provided by the XNA Framework and use its property collections such as Songs and Albums.
Windows Phone 7 : Picking a Photo from Your Media Library
The PhotoChooserTask chooser class provides the Show method, which shows the picture library and lets you to pick a photo from it. When the photo has been chosen, the Completed event is raised.
The Model-View-ViewModel Architecture (part 2) - GalaSoft MVVM Light Toolkit
The MVVM Light Toolkit works across WPF and desktop Silverlight as well, which greatly aids in porting code to another screen such as a Windows Slate application.
The Model-View-ViewModel Architecture (part 1) - MVVM Overview
The MVVM pattern is defined to help you grasp how it works with XAML. If you are familiar with MVC, MVVM will look somewhat familiar to you – but it is much more than just MVC.
Developing for Windows Phone and Xbox Live : Graphics Performance
For some reason, when people discuss performance in games, a lot of times, they talk about graphics performance specifically. It’s rare they speak of physics performance or audio performance—it’s almost always graphics.
Developing for Windows Phone and Xbox Live : General Performance
Optimizing code that is already “fast enough” just makes the code harder to read and maintain, or worse yet, it can introduce new bugs and regressions into the code.
Windows Phone 7 : Media Management - Taking a Photo from Your Phone Camera
You need to take a photo from your application without pressing the hardware Camera button provided by the phone.
Windows Phone 7 : Sensors - Indicating the User's Position via Coordinates
At application startup, you want to localize by position of the phone to see where in the world is and what is the relative address.
Developing for Windows Phone and Xbox Live : Custom Avatar Animations (part 3)
The sample project, AvatarCustomAnimationSample, is an Xbox 360 project, but it should use the types you created previously in the CustomAvatarAnimationWindows project. To use these types, build them as a library for the Xbox 360.
Developing for Windows Phone and Xbox Live : Custom Avatar Animations (part 2) - Creating the Content Processor
Now that you have the types that make up the avatar’s custom animation, create the custom content processor that converts the model’s animation data into the format that you want at runtime.
Developing for Windows Phone and Xbox Live : Custom Avatar Animations (part 1) - Building the Custom Animation Type
Although the built-in animations presets provided by AvatarAnimation are a convenient way to animate the avatar, you will want to utilize custom animations in your game.
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.
Windows Phone 7 : Sensors - Indicating the User's Position?
You want an application (or game) that gives information about the area where your user is located. (For a game, you could choose to let the user play in the city where the user is located, against other players around there.)
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server