Cool New APIs And Controls In Windows Mobile 5 Marcus Perryman Microsoft

Slides:



Advertisements
Similar presentations
EMB304 Building Trustworthy Windows CE Embedded Devices and Applications Ganapathy Raman Program Manager Windows CE Security Team Microsoft Corporation.
Advertisements

DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
.Net Compact Framework. Microsoft.Net is often referred as Plateform for web services But.net vision is more than web services – It talks about how people.
Top 10 Pocket PC Support Questions Marcus Perryman
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Thursday Evening 6.30VB.NET Introduction 7.30Break for food 8.00VB.NET Migration 8.45Q & A 9.00Done.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Amit Chopra APP209 Introducing “Orcas” Huh ? What’s “Orcas”?
NameTitle Microsoft Corporation. For businesses with Visual Basic 6.0 assets, Visual Basic 2008 is the natural, most productive choice for Windows, Web,
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Maarten Struys Windows Mobile Evangelist Alten-PTS Session Code: MOB201-SUN.
Punit Shah Technical Lead | Microsoft
A tour of Visual Studio 2008 and the.NET Framework v3.5 Daniel Moth Developer & Platform Group Microsoft
Visual Studio 2008 for ASP.NET developers Daniel Moth Developer and Platform Group Microsoft
Intro to dot Net Dr. John Abraham UTPA – Fall 09 CSCI 3327.
Windows Mobile 5.0 Features & Functionality! Wim Verhaeghen - Erwin van Hunen -
EMB313 Increasing Developer Productivity With Windows CE 5.0
Using.NET Skills To Build Mobile Applications In Compact Framework Punit Shah Technical Lead | Microsoft |
EMB318 Improve Product Quality Using Windows CE Error Reporting (Watson) James Stulz Program Manager Windows CE Core Tools Microsoft Corporation.
Java Beans.
Session 1 - Introduction and Data Access Layer
Windows CE 시스템 개발 개요. 임베디드시스템소프트웨어 -Windows CE 2 Overview  Selecting a Windows Embedded Operating System  The Windows CE Platform Development Cycle.
Nilotpal Bhattacharya Partner Technical Consultant| Microsoft.
EMB423 Creating A Trusted Environment For Windows CE 5.0 Nat Frampton President Real Time Development
Olaf Feldkamp Development Platform Advisor Microsoft Schweiz GmbH.
Overview of System Development. Overview Selecting a Windows Embedded Operating System The Windows CE Platform Development Cycle The Application Development.
.NET Compact Framework 2.0 and OpenNETCF Smart Device Framework 2.0
Tony Goodhew Product Planner DEV328.
Slide 1.NET Development for Project 2003 Samples from the Project 2003 SDK Jim Corbin Programmer Writer Office Developer Documentation Microsoft Corporation.
tom perkins1 XML Web Services -.NET FRAMEWORK – Part 1 CHAPTER 1.1 – 1.3.
Name Microsoft Student Partner Overview of the Visual Studio 2005 Express Products.
Windows CE 시스템 개발 개요. 모바일운영체제 - Windows CE 2 Overview  Selecting a Windows Embedded Operating System  The Windows CE Platform Development Cycle  The.
Enabling Enterprise Applications Marcus Perryman Microsoft
Developing Applications with Visual Studio 2005 (part 2) Marcus Perryman
C# 2.0 and Future Directions Anders Hejlsberg Technical Fellow Microsoft Corporation.
Intro to dot Net Dr. John Abraham UTPA CSCI 3327.
PRIOR TO WEB SERVICES THE OTHER TECHNOLOGIES ARE:.
MBL490 Deploying Applications to Smartphone and Microsoft® Powered Pocket PC Marcus Perryman Consultant.
Programming Handheld and Mobile devices 1 Programming of Handheld and Mobile Devices Lecture 18 Microsoft’s Approach 1 –.NET Mobile Framework part 2 Rob.
The 100% Inspiration Tour. An Introduction to Building Connected Mobile Applications Gavin King Academic Team, Microsoft UK
Mobile Development Community Chung Webster Consultant Microsoft Developer Services.
What’s New in Windows Forms 2.0 Stephen Turner Software Design Engineer
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
CLI210 Introduction To Managed Development For Devices With Visual Studio 2005 Scott D. Smith Program Manager Visual Studio for Devices Microsoft Corporation.
DEV394.NET Framework: Migrating To Managed Code Adam Nathan QA Lead Richard Lander Program Manager Microsoft Corporation.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter One Introduction to Exchange Server 2003.
Service Pack 2 System Center Configuration Manager 2007.
.NET Mobile Application Development XML Web Services.
My Sessions here at Tech Ed Mon, 16:00, TLA201, Auditorium A Tour of Visual Studio 2008 and the.NET Framework 3.5 Tue, 10:45, MED202, Room 113 Building.
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Advanced Windows Mobile Application Development
Introducing the Microsoft® .NET Framework
Introducing the Windows Mobile development
5/15/2018 5:43 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Visual Studio Tools for Office 2005
Wonderware Online Cost-Effective SaaS Solution Powered by the Microsoft Azure Cloud Platform Delivers Industrial Insights to Users and OEMs MICROSOFT AZURE.
Developing Drivers in Visual Studio
Office Power Hour New developer APIs and features for Apps for Office
Microsoft Build /8/2018 5:15 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
The Application Lifecycle
Auth0 Is Identity Made Simple for Developers, Built by Developers and Supported by the High Availability and Performance of Microsoft Azure MICROSOFT AZURE.
Office 365 Development.
1/14/2019 3:57 AM © 2004 Microsoft Corporation. All rights reserved.
Office 365 Development.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
Enterprise Developer Camp Jumpstart
Overview of System Development for Windows CE.NET
Windows Forms in Visual Studio 2005: An in-depth look at key features
Mark Quirk Head of Technology Developer & Platform Group
Running C# in the browser
Presentation transcript:

Cool New APIs And Controls In Windows Mobile 5 Marcus Perryman Microsoft

e.g. Whats new in Windows Mobile 5 (and CF 2.0) for managed code developers Marcus Perryman Microsoft … PART 1

Agenda Using Visual Studio 2005 for managed code development Migration Tools and debugging Compact Framework 2 New Managed class libraries: Contact picker Camera control Sending Mail

Visual Studio 2003 Features In our first version toolset we have Visual Basic and C# Project types Application Class Library Cross-language debugging Forms Designer X86-based emulator SQLCE 2.0 for PPC Build CAB for PPC

Customer Feedback Visual Studio 2003 was a great start, but we need more… Better emulator Forms Designer improvements Custom Controls support Data Designer support Customized CAB creation App/CAB Signing COM Interop Remote tools Accurate Intellisense NetCF V1 Project Support Porting from VS 2003 SDK Extensibility

Upgrading Apps, Design-Time and The Device Emulator

Compatibility Applications written using prior versions of the.NET Compact Framework just work on new versions Goal is full backward compatibility New versions of.NET Compact Framework run on previous versions of Windows CE and Windows Mobile Windows Mobile support policy: n-2 Windows CE support policy: n-1 Supported Devices V1V2 PocketPC 2000 PocletPC 2002 PocketPC 2003, SE SmartPhone 2003 WinCE 4.1 WinCE 4.2 WinCE 5.0 Pocket PC 2003 SE Pocket PC 2005 Smart Phone 2005 WinCE 5.0

Release Roadmap Pocket PC Smartphone PPC 2002 SP 2002 WM 2003 WM 2003 SE WM 5.0 Visual Studio Visual Studio 2003 Visual Studio 2005 Windows CE NET Compact Framework Size Size Portability Portability Compatibility Compatibility (redist) 1.0 SP1 Smartphone Smartphone 1.0 SP2 Perf update Perf update Landscape Landscape Autoscroll Autoscroll Bug fixes Bug fixes 2.0 Generics Generics COM interop COM interop Controls Controls MD3DM MD3DM Performance Performance (redist) 1.0 SP3 Bug fixes Bug fixes

Release Vehicles OEMs Adaptation Kits (and AKUs) Platform Builder (and PB Updates) Developers Microsoft Visual Studio (and SPs) Developer Redistributable on microsoft.com.NET Developer Platform SDK (New!) End Users In ROM on their device In the setup of their applications End User Redistributable on microsoft.com

V2 Drivers Customer feedback New devices New operating system features New.NET features Continuous improvement

Improvements In V2 Language & Tools GUI Class Libraries Native Code Interop SecurityPerformance While maintaining application compatibility

Generics Classes and methods that work similarly on values of different types Variables are specific types, not objects No casting required Benefits Re-use common code Find bugs at compile time class Stack { private T[] store; private int size; public Stack() { store = new T[10]; size = 0; } public void Push(T x) { // push code goes here } public T Pop() { return store[--size]; } } void Add(Stack s) { int x = s.Pop(); int y = s.Pop(); s.Push(x+y); }

More New C# Language Features Anonymous Methods – Code blocks encapsulated in a delegate // in constructor button.Click += new EventHandler(sender,args) { // increment a counter or other action }; // in constructor button.Click += new EventHandler(ProcessClick); // separate method void ProcessClick(object sender,EventArgs e) { // increment a counter or other action } Before After public partial class Foo { public void CodeGenFunc() { // emitted by tool } } public partial class Foo { public void UserFunc() { // user code } } Foo-Part1.cs Foo-Part2.cs Partial Types – Split definitions for types and class members across multiple files C# compiler combines all definitions to make a single class

VB.NET Easiest and most productive way to develop.NET applications.NET Compact Framework continues to support VB.NET New support for a subset of VB.NET My namespace My.ResourcesMy.WebServicesMy.Forms

More Controls MonthCalendarLinkLabelHelpWebBrowserDataContainer New on Smartphone Datagrid Textbox IME switching Enable multiple menu items on left softkey

UserControl Easily build and reuse your own custom controls Well integrated into design time experience

Forms And Drawing More Keyboard Support EventsForm.KeyPreviewTabs Clipboard support Drawing Bitmaps (including save as…) Rotatable fonts Custom Pens Control.Handle – retrieve window handle Lots of additional properties, methods, events HP4300 Integrated keyboards Rotated text using LOGFONT

Displays And Layout Support for new and future devices Orientation Support ChangeOrientation method Docking and Anchoring AutoScroll property – forms, panels Suspend/Resume Layout methods Resolution Support Automatic scaling Graphics DpiX/DpiY

Managed D3D Mobile Included in WinCE 5.0 and future versions of Windows Mobile Native API is DX8 inspired Managed APIs are DX9 inspired Features Complete access to the underlying native D3DM API Fixed point support (Vertex Data, Matrices, Lights, and Materials) SpriteFontMeshTextureLoader Tutorials and Samples

Native Code Interop Enhancements Enhanced P/Invoke Type Marshalling Marshal delegates as function pointers Additional types – arrays, strings, structures Embedded arrays – structs with char[], array[] MarshalAs – type hinting Use COM objects in your managed code RCW support enables calling from managed applications into COM objects CCW support enables callbacks from native to managed code Support for late-bound and early-bound calls (IDispatch & vtable) Integrated into Visual Studio shell – cool!! Integrated into Visual Studio shell – cool!! Subset of the InteropServices namespace Cannot activate managed objects through COM (“regasm”) Multi-threaded apartments (MTA) only No custom marshalers or auto-generated Class Interfaces

Base Class Libs, Networking, Web Services Serial Port Four ports Supported in the emulator IPv6 Generic-based collections classes Leverage the power of new Generics language feature Web services Faster XmlSerializer Support for SOAP 1.2

System.Messaging (MSMQ) Use for bi-directional communications over intermittent (unreliable) connections Server Application Data transferred when connection available. Device application does not need to be running. Operating System Message Queue.NET Compact FrameworkApplication SmartDevice Note: Can be used for Inter-Process communications also

Security Managed apps have identical security experience as native apps Mobile Operators can restrict app install/start to signed apps only Operators can control cert chain of trust, and/or rely on Mobile2Market Malicious applications can be revoked if device is restricted Security features added: V1 V1 SP1 V2 Permissions Integration with WM load- time infrastructure for run/no-run decision Cryptography Certificates Certificates ASN1/X.509 ASN1/X.509Hashing MD5, SHA1 MD5, SHA1 Symmetric key encryption RC2, RC4, 3DES, DES RC2, RC4, 3DES, DES Asymmetric key encryption RSA, DSA RSA, DSA Network Protocols Authentication Authentication Digest Digest HTTPS (Server auth only) HTTPS (Server auth only) Authentication Authentication Negotiate Negotiate NTLM NTLM Kerberos Kerberos

Performance Improvements Since V1 Pocket PC 2003, XScale 400MHz V1 V1 SP2 V2Beta1V2Beta2+ Method Calls ( Calls/sec) 3.7M7.1M8.1M Virtual Calls ( Calls/sec) 2.4M2.7M5.6M Simple P/Invoke ( Calls/sec) 733K1.7M Primes (to 1500) (iterations/sec) GC Small (8 bytes) (Bytes/sec) 1M7M7.5M GC Array (100 int’s) ( Bytes/sec) 25M43M112M XML Text Reader 200KB (seconds) DataSet (static data) 4 tables, 1000 records (seconds) DataSet (ReadXml) 3 tables, 100 records (seconds) Bigger is better Smaller is better

Data Performance

Using Some of the new Windows Mobile 5 API’s Application Spec: Capture an image Allow the user to pick recipient from contacts list Enter a message body Send an Exchange mail

Cool API’s

V.Next Plans Maintain binary compatibility with prior versions Maintain compatibility with full.NET Framework Additional Scalability and Performance SecurityTools Performance analysis Profiling tools WinFX Consistency with Longhorn Rich XAML-based UI markup (Avalon) Writing applications for intermittent connectivity Better configuration & deployment

NETCF V2… Delivers next generation features and productivity enhancers Retains compatibility with V1 and the full.NET Framework Can support industrial strength applications Is Customer Driven – we’re listening

Tools & Resources msdn.microsoft.com/ embedded microsoft.public. windowsxp.embedded windowsce.platbuilder windowsce.platbuilder windowsce.embedded.vc windowsce.embedded.vc blogs.msdn.com/ mikehall Windows CE 5.0 Eval Kit Windows XP Embedded Eval Kit msdn.microsoft.com/ mobility microsoft.public. pocketpc.developer smartphone.developer dotnet.framework.compactframework blogs.msdn.com/ windowsmobile vsdteam netcfteam Windows Mobile 5.0 Eval Kit Websites Newsgroups Blogs Tools Build Develop

© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.