Andrej Radinger, MVP APPA Mundi Ltd. MOB303.

Slides:



Advertisements
Similar presentations
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

Scott myKB.com, Inc. Session Code: DEV301r.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Nickolas Landry, MVP Principal Architect Infusion Development WMB304.
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Announcing Demo Announcing.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Tess Ferrandez ASP.NET Escalation Engineer Microsoft Session Code: WIA402.
Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Robert LevyDoug Kramer Program ManagerDevelopment Lead DTL337.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Tony Whitter Principal, Whitter Technology WMB401 Author Jeff Neafsey Mobility Architect Microsoft.

Jeff Neafsey Mobility Architect Microsoft Corporation WMB402.
customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Eric Carter Development Manager Microsoft Corporation OFC324.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Arend-Jan Speksnijder Solutions Architect Microsoft Dynamics Lighthouse team Dynamics AX2009 Technical Overview and Demo (DYN301)
Sara Ford Program Manager Microsoft Corporation DPR301.
Warren Stevens-Baytopp Director YoungBlood Consultants Session Code BIN303.

Luke Hoban Senior Program Manager Microsoft Session Code: DTL319.
Scott Morrison Program Manager Microsoft Corporation Session Code: WUX308.
Ian Griffiths Principle Interact Software Ltd. Brian A. Randell Senior Consultant MCW Technologies DEV302.
Tech·Ed North America /6/2018 2:20 AM
Windows Summit /11/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be.
6/23/2018 8:42 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Sysinternals Tutorials
11/21/2018 4:57 AM SIA303 Advanced Persistent Threats (APT): Understanding the New Era of Attacks! Marcus Murray Security Team Manager, Microsoft MVP –
11/22/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Jason Zander Unplugged
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /7/2018 2:51 PM
Ben Robb MVP, SharePoint Server cScape Ltd Session Code: OFS207
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech·Ed North America /17/2019 1:47 AM
1/17/2019 9:05 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Overview: Dynamics 365 for Project Service Automation
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Building Silverlight Apps with RIA Services
2/28/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Tech Ed North America /12/2019 6:45 AM Required Slide
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
TechEd /28/2019 7:58 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Tech·Ed North America /25/ :53 PM
Hack-proofing your Clients using Windows 7 Security!
Шитманов Дархан Қаражанұлы Тарих пәнінің
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Optimizing your content for search and discovery
7/5/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Tech·Ed North America /6/2019 7:10 PM
6/20/2019 1:09 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Andrej Radinger, MVP APPA Mundi Ltd. MOB303

About Andrej Radinger Director for Consulting and Training at APPA Mundi Microsoft MVP for Mobile Devices since 2004 Regular speaker on Microsoft events in the region Contact me at: Mobile Services: Consulting, Development, Training

Assumptions & Disclaimers This is a level 300 session! You already know the basics of Windows Mobile development with.NET Compact Framework Making things easy: Windows Mobile 6 Professional = Pocket PC Windows Mobile 6 Standard = Smartphone All demos in this session apply to both Windows Mobile 6.1 & 6.5 Based on hardware-specific APIs

Agenda Windows Mobile Device Input Options Mobile UI Design Guidelines & Best Practices Next Generation Input for Devices Unified Sensor API (Codeplex) Working with Accelerometers Working with Light Sensors Detecting Simple Touch Screen Gestures Provide Sensory Feedback to Users Summary

Windows Mobile Device Form Factors Pocket PC (including Pocket PC Phone) Tactile screen, stylus, standard buttons QWERTY Keyboard: Built-in, “slideable”, none Smartphone Numeric keypad or full QWERTY keyboard No stylus, cursor keys Industrial/Embedded “Ruggedized” Pocket PCs Numeric/Alphanumeric keypads Handheld PC Clamshell, Tablet-style VGA, ½-VGA screen QWERTY Keyboard

Understanding the Windows Mobile User Interface Limited Screen Real Estate Limited Memory Environment Touch-Sensitive Screen on Pocket PCs: Stylus or Finger Input Soft Input Panel (Pocket PC) Hardware Keys Built-in/slideable Keyboards (on certain models) Numeric Keypad (Smartphone) Voice Commands

Key User Interface Principles Design a new UI for a mobile device, don’t port your desktop UI Completely redesign the user interface Business logic may be reusable Choose the correct model based on the form factor Pocket PC should always be full-screen Limit free text entry on devices with no keyboards Keep the user interface simple Avoid control overcrowding Limit the required number of clicks as much as possible Take advantage of new UX hardware options!

New UX Hardware Options User Experience (UX) includes input & output Touch Screen Gestures Feedback via Vibration Feedback via Sounds Accelerometers Light Sensors Navigation Wheels Capacitive Touch Screens* Not featured on any Windows Mobile device announced to date

Unified Sensor API Allows developers to easily access the hardware sensors that are available on various devices Accelerometer (GSensor) Light Sensor Stylus Sensor Navigation Wheel CodePlex Open Source Community Project Created by Koushik K. Dutta Devices: HTC Touch*, Samsung Omnia/Instinct

Accelerometer: GSensor Return a device orientation vector The vector is the direction of force relative to the orientation of the device. Tilt X: 0 is flat, to Tilt Y: 0 is flat, to Tilt Z: 0 is straight up, is flat, 1000 is face down Switch between landscape/portrait mode Can be used to as an alternative to 4-way cursor keys +Y -Y +X -X +Z -Z

Unified Sensor API Working with the Accelerometer using GSensor

Light Sensor Return the ambient luminance based on a device’s light sensor Single numerical value Ranges from 0 to 30 Change UI color scheme based on ambient lighting Create a new light sensor with HTCSensorOpen(HTCSensor.Light) in HTCSensorSDK.dll

Unified Sensor API Detecting Ambient Lighting with LightSensor

Touch Screens & Gestures Windows Mobile devices use a resistive touch screen: single touch point Can detect simple gestures using the “mouse” events in.NET Compact Framework Stylus and fingers fire mouse events in Compact Windows Forms MouseDown: Capture the start position MouseUp: Detect end position, calculate direction, even the distance if needed Track the position with MouseMove if the user goes off-screen

Detecting Simple Screen Gestures Tracking the Stylus with “Mouse” Events in WinForms

Providing Feedback to the User Visual Cues on Screen Playing Sounds Vibrating the device

Vibration Providing vibration feedback to the user

Playing Sound in NETCF 3.5 // Play custom sound files with SoundPlayer Dim soundplayer As New Media.SoundPlayer With soundplayer.SoundLocation = "\My Documents\My Ringtones\murloc.wav".Play() End With // Play standard system sounds Media.SystemSounds.Asterisk.Play() Media.SystemSounds.Beep.Play() Media.SystemSounds.Exclamation.Play() Media.SystemSounds.Hand.Play() Media.SystemSounds.Question.Play()

Summary Users expect more from their mobile devices Create a next generation user experience (UX) Tap into the advanced hardware capabilities of your Windows Mobile devices Make your device application input intuitive Use simple gestures to add another layer of interaction to your mobile application Provide audible and sensory feedback to your users Download and test drive the Windows Mobile Unified Sensor API from CodePlex

Additional Resources Windows Mobile Developer MSDN Online Koushik Dutta’s Blog: My Brain Hurts Microsoft Mobile Development Handbook By Andy Wigley, Daniel Moth, Peter Foot – Microsoft Press (2007)

Andrej Radinger, MVP APPA Mundi

Sessions On-Demand & Community Resources for IT Professionals n n Resources for Developers Microsoft Certification & Training Resources Resources Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online.

Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. Required Slide