WordPress database error: [INSERT, UPDATE command denied to user '51213-2'@'10.10.20.207' for table 'wp_options']
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1715198326.4409990310668945312500', 'yes') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)


Warning: Cannot modify header information - headers already sent by (output started at /home/lexiqued/www/WordPress/wp-includes/wp-db.php:1502) in /home/lexiqued/www/WordPress/wp-includes/feed-rss2.php on line 8
Mango – Jonathan ANTOINE's thoughts http://www.jonathanantoine.com Yet another blog about... Fri, 05 Aug 2011 13:52:05 +0000 en-US hourly 1 https://wordpress.org/?v=5.5.3 MANGO live tile: use a picture in the IsolatedStorage as a background for your tile http://www.jonathanantoine.com/2011/08/03/livetileisolatedstoragemango/ http://www.jonathanantoine.com/2011/08/03/livetileisolatedstoragemango/#comments Wed, 03 Aug 2011 23:18:29 +0000 http://lexique-du-net.com/WordPress//?p=1 One on the nice feature coming with WP7’s mango is “live tiles” . You can create tiles directly from your application and update them from a background agent.

Here is the sample which creates a “secondary tile” for your application:

[code language=”csharp”]//This is a .Net class named StandardTileData
var theTile= new StandardTileData
{
Title = "Secondary Tile", //The title
BackgroundImage = new Uri("FrontImage.jpg", UriKind.Relative),
Count = 12, //Notification number
BackTitle = "Back’s page title", //The title of the back page
BackContent = "A text is nice here",
BackBackgroundImage = new Uri("backImage.jpg", UriKind.Relative)
};

// Add the live tile to the Home screen (will exit the app)
ShellTile.Create(new Uri("/MainPage.xaml", UriKind.Relative), theTile);[/code]

Now, you may want to generate a screenshot of your application (using WriteableBitmap) and use it as the tile background. This is possible !

To do so, you have to store the picture in a folder named “Shared/ShellContent” otherwise you will have an NotSupportedException throwned.

The URI to use will then look like this one : “isostore:/Shared/ShellContent/background.png”. You can read this MSDN page  for more information.

It takes me some time and Wilfried   to figure this out, I hope this post will save you the search !

]]>
http://www.jonathanantoine.com/2011/08/03/livetileisolatedstoragemango/feed/ 1