Wholesale Nfl,Nhl,Nba,New Era Hats,Red Bull Hats,Snapback Hats Outlet,Cheap New Era Hats: 3 Ways to Update the Application Tile Content in Mango

Wednesday, September 12, 2012

3 Ways to Update the Application Tile Content in Mango


Introduction
Ever thought about how to upgrade the Application To pick from in your House windows Phone Six Mango request? Me way too. But before all of us dig within, let's look at a properties of a Tile.

Ms defines every one as listed below:
Title: A string indicating the title of the application. Your Title need to fit one line of word and should stop wider compared to the actual Tile. Approximately 12-15 characters is going to fit in a title previous to being cut down.
BackgroundImage: An image displayed on the front on the Tile. We recommend that you always have a credentials image around the front on the Tile.
Count (described as Badge): An integer worth from Just one to 99. If the worth of Count is not arranged or it's set to 0, the actual circle image and price will not screen in the Floor tile.
BackTitle: A string displayed at the bottom of the back of a Tile. The BackTitle must fit on a single collection of text and really should not be bigger than the true Tile. Roughly 15 figures will slot in the concept before being truncated.
BackBackgroundImage: A graphic displayed on the rear of the Hardwood.
BackContent: A string displayed in the body on the back of a Tile. Around 40 people will integrate the Hardwood before staying truncated.
(Images taken from MSDN overview.)
Consider started.
That which you are going to give attention to today is the three ways for you to update the appliance Tile.
The 1st way is quite weak that you can only change two options. This Title plus the Background Photograph. If you suitable click on the task and head to Properties, then you'll definitely see that you possibly can set the actual Title and also Background image.

If you manage this, it can be pretty tedious stuff:

The next option is much much better mainly because it allows you to modify all the houses by the use of theWMAppManifest.xml. If you ever create a new Windows Mobile phone 7 Apple Application plus head right to the Attributes –> WMAppManifest.xml then you will see the examples below:

If you work the request and flag it on the start monitor in the emulator, then you definitely should see something like that:
Pretty standard stuff right? Well, let me change the add up and headline of the Use Tile by means of heading time for theWMAppManifest.xml and changing the Count and Title to the following:
After you deploy it once more and "Pin to help start" then it really should be updated seeing that shown below. We could possess changed the backdrop image, fo the time being the go delinquent will do.
But that's not all we are able to do. If we type your ", it brings up creative options as revealed below:
Why don't we play with these real quick.
So if instead we install it once more and give this a few seconds, the approval Tile is going to flip above and expose the information we merely set for the back tile.
Also a thing to to note in advance of we depart this section is that often Comments perform just fine around the WMAppManifest.xmlfile.

The third approach we can modify the Application Floor tile content is as a result of code:
 Collapse | Copy CodeShellTile firstTile Equals ShellTile.ActiveTiles.First(); var newData = new StandardTileData() Title = "MichaelCrump.Net", BackgroundImage = new Uri("background.png", UriKind.Relative), Count = 6, BackContent = "New BackContent", BackTitle = "New BackTitle", BackBackgroundImage = new Uri("background.png", UriKind.Relative), ; // Replace the go delinquent tile firstTile.Update(newData);
We proceed to run your application right now and result in this signal, through a Click event or perhaps whatever. Only then do we will see all of our Application Hardwood has up-to-date:
and when this tile flips, it looks like this:
Conclusion
Essentially, it is fairly easy to bring up to date the Application Porcelain tile. The one thing to keep in mind about replacing the Application Porcelain tile is that your information will place and it is far better use one to two words if you can. We will look at creating Stay tiles over the next part of this series. Thanks for looking at and have a terrific day.



0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home