Presentation is loading. Please wait.

Presentation is loading. Please wait.

Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints.

Similar presentations


Presentation on theme: "Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints."— Presentation transcript:

1

2

3 Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints (small screen, battery, etc.)

4 User is the center of the experience, not the device. Available on the right device at the right time Input model optimized for the experience. Enabling Mobile Experiences with Universal Apps The Experience you want on the device you want User

5 Create shared mobile experiences whatever the device

6

7 7 Windows.Storage.ApplicationDataContainer roamingSettings = Windows.Storage.ApplicationData.Current.RoamingSettings; roamingSettings.Values["userName"] = name.Text; var composite = new Windows.Storage.ApplicationDataCompositeValue(); composite["intVal"] = 1; composite["strVal"] = "string"; roamingSettings.Values["exampleCompositeSetting"] = composite;

8 8 Windows.Storage.ApplicationDataContainer roamingSettings = Windows.Storage.ApplicationData.Current.RoamingSettings; if (roamingSettings.Values.ContainsKey("userName")) { name.Text = roamingSettings.Values["userName"].ToString(); }

9

10 Windows.Storage.ApplicationData.Current.DataChanged += Current_DataChanged;... void Current_DataChanged(ApplicationData sender, object args) { // Refresh your settings... }

11

12

13

14 Do not use Roaming Data as a general purpose data syncing mechanism

15

16

17 MSAAAD

18 void SaveCredential(string username, string password) { PasswordVault vault = new PasswordVault(); PasswordCredential cred = new PasswordCredential("MyAppResource", username, password); vault.Add(cred); } IReadOnlyList RetrieveCredential(string resource) { PasswordVault vault = new PasswordVault(); return vault.FindAllByResource(resource); }

19

20

21 More information: //BUILD/ session 3-734 New OneDrive APIs for Developing Against OneDrive AND OneDrive for Business http://channel9.msdn.com/Events/Build/2015/3-734

22

23

24

25

26

27

28

29

30 The best mobile apps handle network interruptions gracefully

31 Adding offline sync to an app is usually hard. With Azure Mobile App, it’s easy.

32

33

34

35 Client Conflict resolution Server Conflict resolution

36 ▲, 1 ■, 2 ▲, 1 ●, 2 ■, 2 Device 1 Server Device 2 ▲, 1 ■, 2 ▲, 1 Create Fetch Update ■, 2 ✘

37

38

39 Platform Notification Service App back-end Client app 1 2 3 4 5 6

40 PNS App back-end Client app 1 2 2 4 5 6 Notification Hub 3 4

41

42

43

44


Download ppt "Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints."

Similar presentations


Ads by Google