WordPress database error: [INSERT, UPDATE command denied to user '51213-2'@'10.10.20.180' for table 'wp_options']
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_doing_cron', '1714828564.5837171077728271484375', '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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372

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/rest-api/class-wp-rest-server.php on line 1372
{"id":289,"date":"2011-09-18T01:21:38","date_gmt":"2011-09-18T00:21:38","guid":{"rendered":"http:\/\/www.jonathanantoine.com\/?p=289"},"modified":"2011-09-26T18:04:58","modified_gmt":"2011-09-26T17:04:58","slug":"windows-8-the-sharing-contract","status":"publish","type":"post","link":"http:\/\/www.jonathanantoine.com\/2011\/09\/18\/windows-8-the-sharing-contract\/","title":{"rendered":"Windows 8 : the sharing contract in Metro \/ WinRT applications"},"content":{"rendered":"

\"\"<\/a>Metro applications introduce the use of contracts in your applications. You can think of them as “system interfaces” telling Windows: “my app is able to perform this operation<\/em>“. <\/p>\n

One of them, and I think the one which will be the most interesting, is the “Share contract<\/em>” which enable sharing (how strange !) trough an application.
\n<\/strong><\/p>\n

It works in pair with the “send contract” but in this post, we are going to focus on the share contract and describe what it is, how to put it in your app and how to use the shared data.<\/p>\n

<\/p>\n

What is it ?<\/h3>\n

The windows 8’s sharing capability provide a way to the user to share data to the world. The sharing is done trough application which tells the system they are abble to do it. This is a three step process:<\/p>\n

First, the user click on the share button (it is in the start menu) and the system ask what to share:
\n
\"\"<\/a><\/p>\n

Then you have to select which application to use:
\n
\"\"<\/a><\/p>\n

And finally a sharing screen is bringed. This one is specific to the application :
\n
\"\"<\/a><\/p>\n

What can we share ?<\/h3>\n

At the time of the post, you can share – only – 6 different types of data. These types are represented in the StandardDataFormats class as static properties<\/strong>:<\/p>\n