Presentation on theme: "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."— Presentation transcript:
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.
Danny Warren Working for InterKnowlogy in Carlsbad, CA ren/ ren/
Cloud Service Backbone of Microsoft’s consumer world Calendaring Documents Storage Social Networking Photos and Videos (media) More…
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
Aggregated Data Sources (check list) UserData namespace Launchers and Choosers Scope Definitions: Live Connect Site
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)
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'!
Save Single Choose Single 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) mango-day-8-contacts-api/ mango-day-8-contacts-api/ us/library/microsoft.phone.userdata.contact(v=VS.92).aspx us/library/microsoft.phone.userdata.contact(v=VS.92).aspx
Cannot Create, Update, Delete Contacts (from a third party app) Cannot save and Phone Number at the same time Cannot make your bed or clean your room
Read is limited Can’t read 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
PHONE Use the Contacts API to read contact information LIVE SDK Create Contacts Here Jailbreak your users phones to support Update and Delete from third party apps?
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 us/library/microsoft.phone.userdata.appointment (v=vs.92).aspx us/library/microsoft.phone.userdata.appointment (v=vs.92).aspx
Cannot Read a specific Calendar Cannot Create, Update, or Delete Calendars, or Events
Can Create, Read, Update, and Delete Calendars, and Events us/library/hh aspx#calendar us/library/hh aspx#calendar us/library/hh aspx#event us/library/hh 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
Cannot Create or Update Recurring Events
PHONE Use the Appointments API to read events when the owning calendar does not matter Use the Appointments API when no data connection exists LIVE SDK Create, Update, and Delete (Calendars and Events) Use for reading when you want to read a specific calendar Subscribing to Public Calendars Inform the user they need to go to the Calendar Application to create or update a recurring event
NOT POSSIBLE BUMMER LAME Cannot access any files on the phone from a third party app
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!