Feed on
Posts
Comments

Monthly Archive for October, 2010

I’m working on a Windows Phone 7 application that is using the Microsoft ad network.  Microsoft simplifies the process by providing an AdControl control in the Advertising SDK. To add the control to your XAML is easy.     <my1:AdControl Grid.Row=’0′                   ApplicationId=‘ba766 etc.’                   AdUnitId=’100xxxxxxx’                   Width=’480′                   Height=’80′                   HorizontalAlignment=‘Center’                   VerticalAlignment=‘Center’ /> Next, [...]

Read Full Post »

I’m one of the lucky few to have access to a developer device.  I’m currently using the Samsung Taylor and it is really a nice phone.  I’m looking forward to seeing the production phones, which have a faster processers, more RAM etc. Having the device is invaluable for debugging and testing.  For example one of [...]

Read Full Post »

Expression Blend is a nice supplemental tool for Visual Studio developers. Blend contains tools that will simplify Silverlight or WPF UI creation. For example, if you want to edit a control template in a WYSIWYG designer, then Blend is the tool for you. There simply is nothing comparable in Visual Studio. Unfortunately, once you start [...]

Read Full Post »

You can customize the image shown in your Windows Phone 7 Tile.  All you need to do is change the BackgroundImageURI value in the WMAppManifest.xml file. <Tokens> <PrimaryToken TokenID="MyAppToken" TaskName="_default"> <TemplateType5> <BackgroundImageURI IsRelative="true" IsResource="false"> /Images/Coins/tileImage.png</BackgroundImageURI> You can also change this value in the Visual Studio 2010 Property page. Figure 1:  Change Background Image in Property [...]

Read Full Post »

It’s easy to embed information inside your assembly. Just add it to the assemblyInfo.cs/assemblyInfo.vb  file or use the Visual Studio properties window. Reading the AssemblyInfo data When you want to read this information from a Silverlight/WindowsPhone assembly you can call on the Assembly class to get the desired data. You can use the GetExecutingAssembly method [...]

Read Full Post »

Sizeable, yet square, content control

Hard coding the size of control is not a good choice in many situations.  If you specify the height of a button and the font size increases you might see the bottom of your text clipped.  If you hard code the width of the button it can’t grow or shrink to accommodate changes in content [...]

Read Full Post »