Más contenido relacionado Similar a Building a charming Windows 8 app (20) Más de Microsoft Developer Network (MSDN) - Belgium and Luxembourg (20) Building a charming Windows 8 app2. Who am I?
www.spikie.be
Nico_vermeir
@NicoVermeir
@hotmail.com
3. Agenda
• What are charms?
• Search contract
• Share contract
• Share source
• Share target
• Settings contract
• Take aways
4. What are charms?
• Universal way of doing tasks that are found in most applications
• Found on the charms bar
• Win + C
5. What are charms?
Searching throughout the Operating System and inside apps
Share content between applications
Application or OS settings
6. Search contract
• Add search page
• Implement search
• Add filters
• Add search suggestions
• From code
• From a folder
• From an OpenSearch API
8. Share contract
• Share information with other applications
• Text
• HTML
• Links
• Images
• ...
• Receive share information from other applications
10. Share contract
• Source
• Prepare share info
• Respond to DataRequested event
• Target
• Add TargetPage
• Set declaration
• Interpret data in Activate method
12. Settings contract
• The best only place to set your in-app settings
• Handle CommandsRequested event for the SettingsPane
• Add SettingsCommands
• Add fly-out...
• ...but only when you’re using JavaScript
13. Callisto
• Open source toolkit by Tim Heuer
• Controls
• Including a SettingsFlyout
• Converters
• Extensions and Helpers
• https://github.com/timheuer/Callisto/wiki
15. Take aways
• Implementing charms provide a universal way of working with apps
• Easy to implement
• Use Callisto for fly-outs
Notas del editor Search for an installed appClick store to search the app in the storeShare wikipedia article to mail Search for an installed appClick store to search the app in the storeShare wikipedia article to mail