background preloader

Windows Phone

Facebook Twitter

3D Graphics for Windows Phone 7 Using the XNA Framework. Introduction Applications with 3D graphics are very popular today, one of the best examples being modern video games.

3D Graphics for Windows Phone 7 Using the XNA Framework

We have already got used to games for personal computers (or modern game consoles) that amaze us by realistic 3D graphics and the beauty of visual effects while games for mobile phones are considerably behind in the visual plan. With the development of mobile technologies, there is now a possibility to place powerful hardware within the tiny cases of phones, and because of that, modern mobile phones can cope with the problem of rendering rather difficult three-dimensional scenes.

In this article, we are going to look at the Microsoft XNA Framework which allows you to develop applications with 3D graphics for the new Windows Phone 7 devices. Prerequisites Before starting to work with examples from this article, please make sure that your PC meets the requirements described below and all the required software is installed. Basics of the XNA Framework Coordinate systems.

Chris Tacke - Bitmaps in the Compact Framework. The Bitmap class in the Compact Framework is a confusing thing, largely because it has abstracted what the OS is doing underneath a little too far.

Chris Tacke - Bitmaps in the Compact Framework

For example, look at the following code: Bitmap bmp1 = new Bitmap(fileStream);Bitmap bmp2 = new Bitmap(200, 200); Let’s assume that fileStream is a valid stream to a resource bitmap file that is 100×100 in size. So is there any difference between bmp1 and bmp2, other than the fact bmp1 presumably has some color data in it? The answer is yes – there’s a very big difference, and that difference can have a huge impact on application performace as well as cause exceptions. So let’s look at this a little deeper with some examples. Int iterations = 0; while (true){ try { iterations++; Bitmap b = new Bitmap(GetImageStream()); if (iterations % 100 == 0) { Debug.WriteLine(string.Format(“{0} objects”, iterations)); } } catch { Debug.WriteLine(string.Format(“Failed after {0} objects”, iterations)); Debugger.Break(); }}

Windows phone and xbox live indie games development. [REF]WP7 Registry tweak (Updated 15/05) How to turn your Windows Phone 7 device into a USB drive. Entering week two of Windows Phone 7 and we're moving right along with those hacks and tweaks.

How to turn your Windows Phone 7 device into a USB drive

First was USB tethering (here & here), now we have USB drive support via MobilTechWorld, something we thought wasn't supported. Well, it's not. Officially. The good news is that this is an easy hack to do. The bad news is it's computer specific, meaning you can't just use your WP7 device as a universal USB drive on any computer, just the one that you modify and sync with. The trick is quite easy and will take you less than 5 minutes to do, so it's well worth it, even if just to try. WP7 Hacking for Beginners - Chevron, Theming, Ringtones, Registry, MMS/Data.

WP7 Hacking for Beginners - Chevron, Theming, Ringtones, Registry, MMS/Data Thought I would write a thread showing how to simply complete an unlock with Chevron WP7 and some common homebrew apps/tweaks for all platforms.

WP7 Hacking for Beginners - Chevron, Theming, Ringtones, Registry, MMS/Data

The information is scattered and varied, but I will edit this post to be as useful as possible for beginners as a one stop source. [REF]WP7 Registry tweak (Updated 15/05) - Page 5. Designing hubs, good examples using the panoramic control. One of the requests I get most often from the developer community is “can you gave us good examples of panoramas”?

Designing hubs, good examples using the panoramic control.

As described in some of our previous posts the “panoramic control” also called “hub” or simply “panorama” offers a unique way to view content by using a long horizontal canvas that extends beyond the confines of the screen. This unique visualization model is a signature component of the WP platform and consequently of any app using it. Add the fact that, in the majority of cases, the panorama is where users land when entering an application, gives this control even more significance to the quality of your panorama control.

How you can add custom ringtones to your Windows Phone 7 from your app (w/out Marketplace) We all know that Windows Phone 7 doesn't carry support ringtone modifications (not by default).

How you can add custom ringtones to your Windows Phone 7 from your app (w/out Marketplace)

This can be a bit frustrating for people who don't like any of the 30 pre-loaded tunes (although it's probably hard to find one). In this article I am going to show you how it is possible to upload your own ringtone to your WP7 device. If you are not interested in the code part of the problem and detailed explanations related to it, I would recommend going to Chris Walshie's blog and downloading the ringtone installer right away. First thing you need to know is that this method is not official. Using it in your app will most likely cause the app to be rejected from the Windows Phone Marketplace.

The easiest method is to use the Microsoft.Phone.Media.Extended library - it can be downloaded directly from this place. Before I start coding, prepare a bunch of ringtones that you want to copy to the phone. 1.RingtoneLibrary lib = RingtoneLibrary.Instance; 1.lib.AddRingtone(stream, "Morning.wma"); [HOW TO] Custom Ringtones and Notifications. Assistant Forum Admin / Moderator Committee / Haggis Muncher - OP Thanks Meter 8364 Posts: 22,401 Join Date: Jan 2006 Location: NSW, Australia Likes: Anything alcoholic or caffeinated.

[HOW TO] Custom Ringtones and Notifications

Get the tools and submit your Mango apps! - Silverlight SDK.