180 likes | 334 Views
SharePoint on Mobile Devices. Chun Liu Singapore. Windows Store App. Support touch and works great with mouse and keyboard Running in the sandbox Support a variety of devices Can be distributed via Windows Store. Windows Phone App. Very unique UI and UX Live tiles and notifications
E N D
SharePoint on Mobile Devices Chun Liu Singapore
Windows Store App • Support touch and works great with mouse and keyboard • Running in the sandbox • Support a variety of devices • Can be distributed via Windows Store
Windows Phone App • Very unique UI and UX • Live tiles and notifications • Familiar programming languages
Window Store App and Window Phone App • Share a set of common native APIs. • Share a set of common Window Runtime APIs. • Share the same .NET engine. • Similar XAML UI controls.
Why SharePoint? • Bring SharePoint to mobile. • Get your enterprise social network in your pocket. • Make SharePoint even more touch friendly. • Great opportunity for developers. • For fun !!!
Dev Environment • A Windows 8 Pro or Enterprise machine. • For Windows Phone 8 App, Windows 8 x64 Pro and above with Hyper-V enabled. • Visual Studio 2012 • Developing app for on-premise SharePoint 2013, a SharePoint 2013 develop environment is required.
demo Say Hello to the World
Options: REST and WCF Data Services • Why? • Managed CSOM cannot be used in Windows Store app. • SharePoint Mobile API is only for Windows Phone 7.1 by far. • Results of REST can be returns as ATOM XML or JSON. • Easy to use.
Data binding with MVVM pattern • Retrieve data from SharePoint • Bind data to default view model • Customize template
demo Data binding – SharePoint 2013 WCF Data Services
SharePoint Online - Authentication • Claims based authentication. • Claims can be from multiple IP-STS. • Two cookies are set upon the successful sign-in, FedAuth and rtFA. • The two cookies needs to be passed along with any subsequent requests.
SharePoint Online - Authentication * Developing Windows 8 Store Apps for SharePoint Online with SSO
demo SharePoint Online Authentication – Windows Store App
Other integration points • Contracts • Search • Share • Live Tiles • Notification
Resources • Windows 8 Store Apps + new Office 365 Enterprise Preview • Remote Authentication in SharePoint Online Using Claims-Based Authentication • SPC025 – Bring SharePoint to the Desktop