1 / 21

Windows Live SDK for Windows Phone 7

Download Presentation

Windows Live SDK for Windows Phone 7

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Interest in the Windows Phone 7 platform is growing quickly and the need for apps is increasing faster still. However, not everything related to a consumer's Live profile is available on the phone natively. On Dec. 7, 2011 Microsoft released a new Windows Live SDK which allows access to Calendars, Contacts, Documents, and more. We'll be walking through the SDK and learn how to implement calls to Windows Live in order to support the rich functionality desired by consumers of Windows Phone 7. Windows Live SDK for Windows Phone 7

  2. Who Am I? • Danny Warren • Working for InterKnowlogy in Carlsbad, CA • http://www.interknowlogy.com • http://blogs.interknowlogy.com/author/dannywarren/ • Twitter @dannydwarren

  3. What is Windows Live? • Cloud Service • Backbone of Microsoft’s consumer world • Email • Calendaring • Documents • Storage • Social Networking • Photos and Videos (media) • More…

  4. What is Windows Phone? • Microsoft’s answer to the iThisAndThat, Robots, and cool RIMs • A different take on the smart phone with Metro • The mobile frontend of Windows Live (lite edition) • Growing Market

  5. Helpful Phone Links • Aggregated Data Sources (check list) • http://msdn.microsoft.com/en-us/library/hh202972(v=vs.92).aspx • UserData namespace • http://msdn.microsoft.com/en-us/library/hh220665(v=vs.92).aspx • Launchers and Choosers • http://msdn.microsoft.com/en-us/library/ff769542(v=vs.92).aspx • Scope Definitions: • http://msdn.microsoft.com/en-us/library/hh243646.aspx • Live Connect Site • http://msdn.microsoft.com/en-us/windowslive/default.aspx

  6. What is the Live SDK? • A lot of needed APIs missing on the Phone • Near full access to Windows Live • Calendaring • Social Networking • Full SkyDrive Access • Audio • Photos • Videos • Documents • Think WCF Data Service (REST API)

  7. Phone APIs vs. Live SDK FIGHT! • FACT – As a developer you need both sets of APIs in order to create the best experience • FACT – The phone can read just about anything • FACT – Live SDK can create, read, update, or delete just about anything • FACT – Another name for a Microsoft Windows tutorial is 'Crash Course'! • http://www.funfunnyfacts.com/Fun-Funny-Facts.html

  8. Contacts (Phone – The Cans) • Save Single Email • Choose Single Email • Save Single Phone Number • Choose Single Phone Number • Using the Contacts API developers can access all contacts on the phone and their information including non-Windows Live contacts (contacts are read-only) • http://www.jeffblankenburg.com/2011/11/08/31-days-of-mango-day-8-contacts-api/ • http://msdn.microsoft.com/en-us/library/microsoft.phone.userdata.contact(v=VS.92).aspx

  9. Contacts (Phone – The Cannots) • Cannot Create, Update, Delete Contacts (from a third party app) • Cannot save Email and Phone Number at the same time • Cannot make your bed or clean your room

  10. Contacts (Live SDK – The Cans) • Can Create and Read (limited) Contacts • http://msdn.microsoft.com/en-us/library/hh243648.aspx#contact • http://msdn.microsoft.com/en-us/library/hh243648.aspx#user • Update? • Delete?

  11. Contacts (Live SDK – The Cannots) • Read is limited • Can’t read email addresses, postal addresses, work profile, or phone numbers • These can be created just not read? • Update and Delete are not mentioned in the documentation • May or may not be supported

  12. Contacts (End Result) Phone Live SDK Create Contacts Here • Use the Contacts API to read contact information • Jailbreak your users phones to support Update and Delete from third party apps?

  13. Calendars (Phone – The Cans) • The Appointments API allows read-only access to all events in the user’s calendars • When using this API understand that there is no way to know which calendar the event is on, only which account owns that event • http://msdn.microsoft.com/en-us/library/microsoft.phone.userdata.appointment(v=vs.92).aspx

  14. Calendars (Phone – The Cannots) • Cannot Read a specific Calendar • Cannot Create, Update, or Delete Calendars, or Events

  15. Calendars (Live SDK – The Cans) • Can Create, Read, Update, and Delete Calendars, and Events • http://msdn.microsoft.com/en-us/library/hh243648.aspx#calendar • http://msdn.microsoft.com/en-us/library/hh243648.aspx#event • Access to calendars and events is restricted only by what permissions the user has on those calendars and events • As a developer we can view that information • Can Subscribe to Public Calendars • Can only Read and Delete Recurring Events

  16. Calendars (Live SDK – The Cannots) • Cannot Create or Update Recurring Events

  17. Calendars (End Result) Phone Live SDK Create, Update, and Delete (Calendars and Events) Use for reading when you want to read a specific calendar Subscribing to Public Calendars • Use the Appointments API to read events when the owning calendar does not matter • Use the Appointments API when no data connection exists • Inform the user they need to go to the Calendar Application to create or update a recurring event

  18. SkyDrive (Phone – The…Cannots) • NOT POSSIBLE • BUMMER • LAME • Cannot access any files on the phone from a third party app

  19. SkyDrive (Live SDK – The Cans) • Create, Read, Update, Delete • Folders • Albums • Photos • Videos • Audio • Documents • The key here is to pass the URL of the document to the WebBrowserTask and let the OS take over for us • Other Files • Pretty much what ever you want to do you can!

  20. SkyDrive (End Result) LIVE SDK FTW!!!!

  21. Code… http://winlivehelper.codeplex.com Slides are boring! Show us some code!

More Related