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 5 of 8, items 201 to 250 of 376.
Windows Phone 7 : Sensors - Creating a Seismograph
You want to create a seismograph, by merging into a single project the use of Microsoft XNA drawing capabilities with the sensitivity of the accelerometer .
Developing for Windows Phone and Xbox Live : Avatars Using Render Targets
Although the avatars render in 3D, it is possible to use them within your 2D game easily. One method to do this is to draw the animating avatars to a render target and then use the texture from the render target as you would any other 2D texture in your game.
Developing for Windows Phone and Xbox Live : Interacting with Objects
Sometimes you want the avatar to interact with items in your game. If you have a baseball game, you might want the avatars to be able to hold a baseball bat and throw a baseball.
Windows Phone 7 : Resetting a form by shaking the phone!
When the device is shaken, we want all the text in the text boxes to be erased. As you know, people are fascinated by features that make a device's functionality more interesting.
Developing for Windows Phone and Xbox Live : Blending Between Animations
To accomplish this, blend from using one set of transforms to the other over a short period of time. The bone’s position and rotation values need to be interpolated over the time from one animation to the other.
Managing Gestures from the Silverlight for Windows Phone 7 Toolkit
You have different options here, including using the gestures and techniques explained in the previous recipes. However, this time we suggest another solution to accomplish drag-and-drop or other gestures management: GestureListener, provided by the Silverlight for Windows Phone 7 toolkit.
Windows Phone 7 : Handling Gestures in a Graphical Context Such as a Game Menu
You can create a mask image from the original image, load it in memory without showing it in your application, and use the Pixels array to retrieve the color of the chosen pixel. In your code, you have associated a color to an operation or a menu item, so you know what to do.
Developing for Windows Phone and Xbox Live : Modifying Avatar Lighting & Playing Multiple Animations
Although we have been concentrating on the built-in animations, it is possible to customize the animation. One example might be that you want to play a walking animation on the lower half of the avatar while the upper arms of the avatar throw a baseball.
Windows Phone 7 : Adding Gestures Management to Click-less Silverlight Controls
Almost all Silverlight controls in Windows Phone 7 have the Tap and Double Tap gestures associated to the Click and Double Click events.
Managing Gestures in a Silverlight Windows Phone 7 Application
Various techniques are available for enabling you to know where a user touched the screen and how many fingers were used. You can use the Touch static class, which provides the FrameReported event rose when the screen is touched.
Developing for Windows Phone and Xbox Live : Introduction to Avatars (part 2) - Loading Avatar Animations with AvatarAnimation & Drawing the Avatar Using AvatarRenderer
There are a number of built-in animations that enable you to quickly animate an avatar in your game. The animations that are provided were created for use in the Xbox dashboard and consist of idle animations along with some expressive animations like celebrate and clap.
Developing for Windows Phone and Xbox Live : Introduction to Avatars (part 1) - Accessing Avatar Information Using AvatarDescription
The avatar APIs in XNA Game Studio 4.0 provide a high-level abstraction that provides the capability to animate and render avatars with a simple API. The process of loading and managing the models and textures used to draw the avatars is hidden from the developer.
Windows Phone 7 : User Interface With Expression Blend - Customizing a Control
With XAML, you have the ability to create multiple controls together—so, for example, items in a list box can be a series of check boxes. You can also use XAML to set the contents of a button to be not text but an image.
Windows Phone 7 : User Interface With Expression Blend - Creating Some Cool Animation
You will consider the idea of creating storyboard-based animations, and bind them to the various states of your controls.
Windows Phone 7 : User Interface With Expression Blend - Changing the Skin of Your App
You want to customize your application with a different resource dictionary, depending on whether the light or dark theme is selected, and you want test it with fake data.
Windows Phone 7 : User Interface With Expression Blend - Getting Ready for Light and Dark
You want your application to display a list of items inside a list box. This list box needs a custom layout that enables you to display a rectangle next to each list item. The rectangle will appear when the item is selected.
Developing for Windows Phone 7 and Xbox 360 : Using the Content Pipeline - Combining It All and Building Assets
After you load the TextureContent, you are ready to move on to the object list. Copy the Position and Rotation over, and then perform a similar operation to the Model as you did to the Background earlier.
Windows Phone 7 Execution Model : Managing Obscured and Unobscured Events
You need to create an application that continues to run either when the Windows Phone operating system locks the phone screen or you receive a phone call.
Windows Phone 7 Execution Model : Managing Tombstoning in Windows Phone 7 XNA Applications
An XNA game responds to the OnActivated event when the application is either run or resumed from tombstoning. The game responds to the OnDeactivated event when the application is either tombstoned or closed.
Windows Phone 7 Execution Model : Managing Tombstoning in Windows Phone 7 Silverlight Applications
The Windows Phone 7 operating system doesn't provide support for executing concurrent applications concurrently in the foreground. The application that you run on your phone is the only one executed in foreground, and no third-party application can run in the background.
Windows Phone 7 Execution Model : Navigating Between Pages with State
Sometimes you have to share data between pages that is not suitable for the QueryString property—for instance, when you have to provide a complex object such as an array or list to another page
Windows Phone 7 Execution Model : Navigating Between Pages by Using Global Application Variables
You have to navigate between pages sharing data across them. You want to avoid using a query string because your application has a lot of pages, and you need a smart way to share data between pages.
Windows Phone 7 Execution Model : Passing Data Through Pages
To retrieve the parameters' values in the destination page, you have to use the QueryString collection provided by the NavigationContext property of the PhoneApplicationPage class.
Windows Phone 7 Execution Model : Navigating Between Pages
The Windows Phone 7 Silverlight application is based on pages and a frame. The latter is the top-level container that provides features such as page orientation and reserves space for the pages' rendering and status bar.
Developing for Windows Phone 7 and Xbox 360 : Using the Content Pipeline - Content Importers
You create your level object that you’ll return after importing the data. You create the two lists that will store the data. You then use the standard runtimes StreamReader class to read through the file
Developing for Windows Phone 7 and Xbox 360 : Using the Content Pipeline - Content Processors
Notice that the ContentProcessor is a generic type with two types required. The first type is the input type of the data that is incoming, and the second is the output type that is returned after processing is complete.
Developing for Windows Phone 7 and Xbox 360 : Introduction to Custom Effects - Effect States
Effect files have the capability to also set these states within their effect pass blocks. When your game calls EffectPass.Apply, if the effect pass contains any state changes, then they will be set on the device.
Creating a Trial Windows Phone 7 Application
Depending on the framework chosen to write your application, either XNA or Silverlight, there are different ways to check whether the application is running in trial mode.
Deploying the Windows Phone 7 Application on the Device
The October 2010 update of the Windows Phone Developer Tools includes the WPConnect.exe program. When your application uses the Windows Phone media library or plays a song, it will find those resources locked by Zune software.
Deploying the Application to the Windows Phone 7 Emulator
This emulator is very powerful. It supports multi-touch capabilities if your PC monitor supports touching. It supports graphics acceleration if your graphical device supports DirectX 9 or higher.
Creating a Simple XNA Windows Phone 7 Application
The XNA game framework enters into a loop in which two methods are automatically called one by one—first the Update method and then the Draw method
Creating a Simple Silverlight Windows Phone 7 Application
Use Visual Studio 2010 (either the Express, Professional, or Superior edition). Use the Windows Phone Application project template.
Developing for Windows Phone 7 and Xbox 360 : Lighting (part 5) - Point Lights
Point lights have a known position in 3D space, which differs from directional lights that only have a direction. The direction to the point light must be calculated because it changes depending on the location of the object drawn.
Developing for Windows Phone 7 and Xbox 360 : Lighting (part 4) - Fog
In games, you can simulate the fog that obscures objects by interpolating the color of an object as it moves farther into the distance with a fog color. Fog can be any color, but all objects should use a similar fog color; otherwise, some objects will stand out more than others.
Developing for Windows Phone 7 and Xbox 360 : Lighting (part 3) - Emissive Lighting & Specular Lighting
In the real world, not all objects are flat shaded. Some objects are shinny and reflect light very well. Think of a bowling ball and how shinny it is. If you look at a bowling ball, notice how there might be bright spots on the ball where the lights in the bowling alley are better reflected.
Developing for Windows Phone 7 and Xbox 360 : Lighting (part 2) - Triangle Normals & Diffuse Lighting
The type of lighting you are going to model first is called directional light. The light is considered to come from a constant direction in parallel beams of light. This is similar to how sunlight reaches earth.
Developing for Windows Phone 7 and Xbox 360 : Lighting (part 1) - Ambient Lighting
The simple light to simulate is light that has no general direction and has a constant intensity in all directions on an object. This light is scattered many times meaning it has bounced off many other objects before hitting the final object you are shading.
Developing for Windows Phone 7 and Xbox 360 : Introduction to Custom Effects - Vertex Color & Texturing
Textures are mapped to triangles using texture coordinates. Each vertex gets a specific texture coordinate to tell the graphics hardware that at this vertex, the following coordinate should be used to sample from the texture.
Developing for Windows Phone 7 and Xbox 360 : Drawing with a Custom Effect
The Effect type is used with custom effects and is the base type of the five built-in effects. There are a number of built-in vertex types. The VertexPositionColor contains both the vertex position and the color for the vertex
Developing for Windows Phone 7 and Xbox 360 : Creating Your First Custom Effect & Parts of an Effect File
Effect files in XNA Game Studio are written in the High Level Shading Language or HLSL for short. HLSL was created by Microsoft for use by applications written using Direct3D.
Developing for Windows Phone and Xbox Live : SamplerStates
The first is LinearClamp, which is just like the one you created previously, except Mirror replaced with Clamp as the addressing mode
Windows Phone 7 Development : Understanding Device Physical Security & Meeting Certification Requirements
Microsoft documentation on security in Windows Phone 7 lists explicit requirements regarding application code that gets rejected during the certification phase of an application.
Windows Phone 7 Development : Implementing Data Security (part 2) - Using Rfc2898DeriveBytes and AES to Encrypt Data
To encrypt data from prying eyes on a Windows Phone 7 device, you need a strong encryption mechanism that, in turn, relies on the strong key to make encryption withstand all of the known attempts to break it.
Windows Phone 7 Development : Implementing Data Security (part 1) - Using HMACSHA1 and HMACHSHA256
Both HMACSHA1 and HMACSHA256 functions are one-way: once the message authentication code is generated using either of those functions, it is impossible to recreate the original message from the generated MAC
Developing for Windows Phone and Xbox Live : Back to Device States (part 2) - RasterizerState
When you’re rending an object with WireFrame enabled, you see only the triangles rendered, but not the pixels inside of them. For the next option, turn on the ScissorTestEnable (the default is false)
Developing for Windows Phone and Xbox Live : Back to Device States (part 1) - The Stencil Buffer
The last two are the states you use for the stencil buffer—the first to create the cutout, and the second to use the cutout to render. However, by default, your application doesn’t even have a stencil buffer; it has only a depth buffer
Developing for Windows Phone and Xbox Live : Render Targets (part 2) - Faking a Shadow with a Depth Buffer and Render Targets
The render target object is used to store the shadow data . You also need a small texture to form the cutout of your objects, along with the ground texture.
Developing for Windows Phone and Xbox Live : Render Targets (part 1)
A RenderTarget2D object is a special kind of texture (it inherits from Texture2D) that enables you to use it as a source for rendering, instead of the device. This enables you to use the render target on your device, and then later, use that rendered scene as a texture.
Windows Phone 7 Development : Implementing Network Security
If your application accesses sensitive data over the network, it is critical that this data is encrypted during transit from the remote location to the Windows Phone 7 device.
Windows Phone 7 Development : Understanding Application Security
A firewall is designed to protect a computer or network by controlling inbound and outbound traffic. Most firewalls operate with an implicit deny philosophy. In other words, all traffic is blocked (implicit deny) unless there is a rule that explicitly allows the traffic.
 
 
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