Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

BackgroundImage and Pin to start in Windows Phone 7 using Visual Studio

DZone's Guide to

BackgroundImage and Pin to start in Windows Phone 7 using Visual Studio

· Mobile Zone
Free Resource

Launching an app doesn’t need to be daunting. Whether you’re just getting started or need a refresher on mobile app testing best practices, this guide is your resource! Brought to you in partnership with Perfecto

In one of my previous posts , i talked about  How to change the StartPage of the Windows Phone 7 Application in Visual Studio 2010 ? and talked bout how we can change the page in the WMAppManifest.xml.

You might be wondering about the section BackgroundImageURI in the WMAppManifest.xml file in the following code

<Tokens>

<PrimaryToken TokenID="WindowsPhoneApplication4Token" TaskName="_default">

<TemplateType5>

<BackgroundImageURI IsRelative="true" IsResource="false">Background.png</BackgroundImageURI>

<Count>0</Count>

<Title>WindowsPhoneApplication4</Title>

</TemplateType5>

</PrimaryToken>

</Tokens>

The BackgroundImageURI section contains the 173 X 173 image that will be displayed on the start screen of the Windows Phone 7 when the user pins  the Application .
Hold Down the Mouse Button on the test App which will display a popup menu .

This provides the option to Pin the Application to start screen as well as Uninstall the Application .

 

Click the Pin to start button.

No go back to the Start page to see the Application Icon :)

 

Again you can change the Text for the Start Page from the title section in the above xml code . Just change

<Title>WindowsPhoneApplication4</Title>

to

<Title>test</Title>


Keep up with the latest DevTest Jargon with the latest Mobile DevTest Dictionary. Brought to you in partnership with Perfecto.

Topics:

Published at DZone with permission of Senthil Kumar, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}