Windows Forms for mobile development

Slides:



Advertisements
Similar presentations
Microsoft Research Faculty Summit 2003 Brad A. Myers & Jeffrey Nichols The Personal Universal Controller and.NET CF Pebbles Research Project Human Computer.
Advertisements

Cross Platform UI testing using Sikuli
VIPI - VIRTUAL PORTAL FOR INTERACTION AND ICT TRAINING FOR PEOPLE WITH DISABILITIES National ViPi Workshop 03/10/2011, Larnaca, Cyprus
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
Introduction to Microsoft Mobile Devices 22 April, 2003
Top 10 Pocket PC Support Questions Marcus Perryman
Optimize tomorrow today. TM 1 Optimize tomorrow today. Arlene Minkiewicz, Chief Scientist PRICE Systems, LLC Software.
Every company is a software company “CIOs will measure the impact of their business technology agenda based on the impact on the consumer – and not.
Development of mobile applications using PhoneGap and HTML 5
Maarten Struys Windows Mobile Evangelist Alten-PTS Session Code: MOB201-SUN.
Building Windows Apps Jason Keicher, Technical Specialist
More than You Want to Know About Pocket PC’s. What is a Pocket PC?
Windows 8 An overview.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Developing Applications for Mobile Devices Dr. Frank McCown GUI Programming Fall 2008.
Introduction CIS 136 Building Mobile Apps 1. What is a mobile app? 2  Computer program  Designed for small devices  Smartphones  Tablets  Other handhelds.
Connected 3D Game Development for Mobile Devices using X-Forge Game Developers Conference 2005 March 11, San Francisco Petrus Lundqvist.
Understanding Xamarin Development Matt
GroupNotes User Interface (UI) Design Lijun Cao Supervisor: Haifeng Shen.
Introduction to Android OS Димитър Н. Димитров Astea Solutions AD.
Android operating system N. Sravani M. Tech(CSE) (09251D5804)
CHAPTER 7 Operating System Copyright © Cengage Learning. All rights reserved.
Call Windows 10 of Microsoft comes with innovative features to make MS office experience more user-friendly and engaging with best stuff.
Mary Ganesan and Lora Strother Campus Tours Using a Mobile Device.
Building Azure Mobile Apps
Mobile Application Solution
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Introduction A bit of history At bit of architecture
Introduction to Mobile Computing
Introduction to Visual Basic. NET,. NET Framework and Visual Studio
Microsoft Evangelist Presentation
Introducing the Windows Mobile development
Building Windows 8 App.
4/26/ :28 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Chapter Objectives In this chapter, you will learn:
Support for the Development of Interactive Systems
Wireless Communication and Networks
The Universal Windows Platform
11.10 Human Computer Interface
Chapter 5: Using System Software
Introduction to Mobile Web Applications
Chapter 2 – Introduction to the Visual Studio .NET IDE
Java Look-and-Feel Design Guidelines
Activities and Intents
Mobile Application Solution
The Android Activity Lifecycle
MOBILE DEVICE OPERATING SYSTEM
Mobile Website vs. Mobile App
Migrating Oracle Forms Using Oracle Application Express
MonoGame and Windows 8.
Introduction to Silverlight
User Interface Design and Development
Making Your Site Mobile-Ready
Windows Mobile 2003 For The Enterprise
CS323 Android Getting Started
GEOMATIKA UNIVERSITY COLLEGE CHAPTER 2 OPERATING SYSTEM PRINCIPLES
Chapter 2 – Introduction to the Visual Studio .NET IDE
Architecting and integrating sensor drivers
Application Development A Tutorial Driven Course
Power Apps Canvas and Model-Driven
Direct Manipulation.
GRAPHICAL USER INTERFACE GITAM GADTAULA. OVERVIEW What is Human Computer Interface (User Interface) principles of user interface design What makes a good.
GRAPHICAL USER INTERFACE GITAM GADTAULA KATHMANDU UNIVERSITY CLASS PRESENTATION.
Web Standards and Accessible Design.
Best practices for packaging and distributing device drivers
05 | Desktop Applications
Cooper Part II Making Well-Behaved Products Different Needs
COSadmin COSC513 Ping Lu.
Running C# in the browser
Presentation transcript:

Windows Forms for mobile development Tautvydas Dagys 2009

Do you remember?

Windows Mobile Development Tools? Challenges? Emulators? Device differences? Windows forms for mobile?

Windows Forms

Windows Forms Development Drag and drop controls from the toolbox to the visible form in the Forms Designer Consider different screen orientations

Handling Device Differences Windows Mobile platform & tools Win32 provides consistent APIs across devices .NET Compact Framework provides consistent runtime Also provides specific support for adjusting display Docking & Anchoring, AutoScroll, and AutoScale Native provides DeviceResolutionAware.h Over 20 functions & macros for adjusting application display Visual Studio 2008 Integrated orientation & form factor design-time support Wide variety of emulators At least one for each supported form factor

Handling Device Differences – Plan of Action Supporting device differences is fundamental Decide minimum device profile you wish to support Touch-screen required? Phone required? Keyboard required? Abstract application logic from device differences Separate user interface & application logic as possible Test across different device types early and often Take advantage of emulators Incorporate features from newer platforms / devices Provide better user experience Avoid targeting lowest common denominator Downgrade gracefully for older or more basic devices

Don’t think PocketPC vs Smartphone Windows Mobile devices are converging Applications shouldn’t focus on Pocket PC vs Smartphone The differences between each are becoming subtle Many Pocket Pcs have phone support Smartphone screen sizes are increasing All Windows Mobile devices now have soft-keys Both PPC & Smartphone may have full keyboard Think in terms of touch-screen support Does your app expect stylus-based input? Can your app be used easily with navigation control & soft-keys? Does your app require hand-writing support?

Create auto upgrade applications Create basic nontouch-screen layout Determine device touch-screen support on startup Create additional controls when on touch-screen device Don’t over do it Focus on easier ways to perform existing features Avoid introducing entirely new features Be careful not to change UI too much Should still feel like the same application

Battery Friendly Development Win Mobile devices are very powerful However, they are useless with empty batteries Decreasing the used power means increasing the battery life Don’t do anything unless it is absolutely necessary! When interacting with the user, an application is free to consume as much as necessary Reducing the “necessary” amount is what performance optimization is all about In the background, it should consume very little memory, and ZERO battery power

Simple ways to increase battery life Don’t use the processor Disable radio’s when not needed Absolutely don’t use the processor when the application is in the background Don’t use polling at any time Limit application functionality when the battery level is low Don’t keep the backlight on

Standard vs Professional Windows Mobile Standard Device can either be on or off When off nothing works Windows Mobile Professional Device can be in suspend mode (sleep) Separate state between on and suspend, called unattended When the device seems off it is probably asleep

Using Power Manager OS Component responsible for meeting the power needs of system Application interface Allows communication of power needs Allows notification of power events Device interface Allows drivers to request a change to their power state Allows PM to set device power state

Demo

References http://msdn.microsoft.com/en- us/windowsmobile/default.aspx http://msdn.microsoft.com/en- us/rampup/dd807370.aspx

Questions and answers