LowlandsWPDev 2014 - Background tasks in universal apps
Click here to load reader
-
Upload
nico-vermeir -
Category
Technology
-
view
1.395 -
download
1
description
Transcript of LowlandsWPDev 2014 - Background tasks in universal apps
![Page 1: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/1.jpg)
Background tasks in Universal AppsNico Vermeir
@NicoVermeir
#lowlandswpdev
21/10/2014
![Page 2: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/2.jpg)
@NicoVermeirNico_vermeir
@hotmail.com
www.spikie.be
Who am I?
21/10/2014
![Page 3: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/3.jpg)
Disclaimer
21/10/201
4
![Page 4: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/4.jpg)
Agenda• Background tasks?
• Types
• Constraints
• Debugging
• Q&A
21/10/201
4
![Page 5: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/5.jpg)
Background tasks?• IBackgroundTask
• BackgroundTaskBuilder
21/10/201
4
![Page 6: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/6.jpg)
Adding a BG task• Add runtime component
• Add class with IBackgroundTask
• Add Declaration
• Call RequestAccessAsync()
• Register task
21/10/201
4
![Page 7: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/7.jpg)
Triggers
21/10/201
4
![Page 8: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/8.jpg)
Conditions
21/10/201
4
![Page 9: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/9.jpg)
Types Triggered
Geofencing
Push
21/10/201
4
![Page 10: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/10.jpg)
DEMO TIME!
Nobody likes slides anyway…
21/10/201
4
![Page 11: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/11.jpg)
Constraints
21/10/201
4
Op batterij:
![Page 12: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/12.jpg)
WP only constraints
21/10/201
4
![Page 13: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/13.jpg)
Debugging• Debug location toolbar
• Launch background task from VS
21/10/201
4
![Page 14: LowlandsWPDev 2014 - Background tasks in universal apps](https://reader038.fdocuments.in/reader038/viewer/2022100604/559838a81a28ab41628b46a1/html5/thumbnails/14.jpg)
Q&A
21/10/201
4