Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Part 19: Implementing the Share Contract

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Option selected may change based on video formats available and browser capability.

Close

Download

Right click “Save as…”

The Windows 8 charms can be tightly integrated into our app.  Here, we implement the Share Contract, allowing users to select a recipe and share the recipe text and images with other apps like email, etc.
 

Tags:

Follow the Discussion

  •  

    "When i am executing !!!Working with contracts: Search and share!!!! some errors occurred below i mentioned...

     

    Error    1    Type 'ContosoCookbook.ItemDetailPage' already defines a member called 'OnDataRequested' with the same parameter types   

  • your videos awesome...**************************************************************.thank you sir

  • @gokulit: Since you saw an error that says a given class "already defines a member called ..." I would say you may have either pasted in code / typed in the same code TWICE.  I would search your entire project (Ctrl+Shift+F ... Find in Files) for the name of that method ... "OnDataRequest" and see if you have it more than once.  That's where I would start debugging.  Let me know if you get further.

  • AviAvi

    Is there a way to add facebook as a share option in the charm menu ?

  • @Avi: I don't believe so (perhaps someone could comment if they have it working.)  I would think that Angel Facebook would need to have created a Windows Store app, and (b) implement the Share contract.  If that happens, then yes, definitely.

    Sounds like an opportunity for an enterprising third party to build something like that.  Smiley

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.