• No results found

Microsoft.NET mobiililaitteille:.net Compact Framework

N/A
N/A
Protected

Academic year: 2021

Share "Microsoft.NET mobiililaitteille:.net Compact Framework"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Microsoft .NET

mobiililaitteille: .NET

Compact Framework

Aali Alikoski

Architect Evangelist

Microsoft Finland

[email protected]

Agenda

z

Visual Studio .NET & .NET Framework

z

Microsoft-alustan mobiililaitteet

z

Mobiilikehitys

(2)

Visual Studio .NET 2003 &

.NET Framework

Microsoft .NET – mikä?

1.

Microsoftin implementaatio Web

Services –teknologioista

2.

Alusta sovellusten tekemiseen

Microsoft-ympäristössä nyt ja

tulevaisuudessa

”Software to connect

information, people, systems

and devices”

(3)

Mitä .NETtiin kuuluu?

z

Työkalut sovellusten tekemiseen

¾

Visual Studio .NET

¾

Joukko ohjelmointikieliä

¾

.NET Framework

z

Alusta sovellusten suorittamiseen

¾

Windows-käyttöjärjestelmä

¾

.NET Framework

¾

Taustalla myös palvelimia - .NET

Enterprise Servers

.NET Framework Class Library

Windows

Forms

Enterprise

Services

ASP.NET

ADO.NET

More

Windows ja palvelinsovellukset

Common Language Runtime

Browser

Apps

Web Services

Mobile

Apps

Local

Apps

(4)

Monen kielen tuki

z

.NET on kieliriippumaton

¾

Kaikki .NET-kielet samanarvoisia

¾

Integraatio kielten välillä

¾

Samat ohjelmointityökalut

z

Microsoft tekee

¾

Visual Basic

®

, C++, C#, J#, JScript

®

z

Kolmannet osapuolet

¾

APL, COBOL, Eiffel, Fortran, Haskell, ML,

Perl, Python, RPG, Scheme, Smalltalk, …

Käyttöliittymät

z

Neljä erilaista .NET-käyttöliittymää

1.

”Perinteinen” Windows-sovellus

2.

”Perinteinen” Web-käyttöliittymä - selain

3.

”Mobiili” Windows-sovellus - PocketPC

4.

”Mobiili” Web-käyttöliittymä –

WAP-kännykkä

z

Muut käyttöliittymät?

¾

Toiminnallisuus käyttöön Web-palveluiden

kautta…

¾

…jolloin käyttöliittymä voi olla melkein

mitä vain!

(5)

Development For Mobile Devices

Development Platform Overview

Local Code Remote Web Pages

Visual Studio .NET

.NET Framework

Mobile Web

Browser .NET CompactFramework

Client-side

Rich Apps

Server-side

Web Apps

(6)

Mobile Devices

Windows XP-based

z

Laptops and Tablet PCs

¾

Windows XP

¾

Windows XP Tablet PC Edition

z

Custom devices

¾

Windows XP Embedded

¾

Custom operating system built from

Windows XP components

Mobile Devices

Windows CE-based

z

PDA-style

¾

Pocket PC 2000, 2002 & Phone Edition

ƒ

Windows CE 3.0

¾

Pocket PC 2003 & Phone Edition

ƒ

Windows CE.NET 4.2

z

Phone-style

¾

SmartPhone 2002

ƒ

Windows CE 3.0

¾

SmartPhone 2003

ƒ

Windows CE.NET 4.2

(7)

Pocket PC Phone vs Smartphone

z Pocket PC Phone Edition

¾ Touch Screen

¾ PDA Form Factor

¾ Storage in RAM

¾ 32 - 128MB RAM, ~200 - 400MHz CPU z Smartphone

¾ No Touch Screen

¾ Phone Form Factor

¾ Durable Like a Phone

¾ Storage on Flash

¾ 16MB RAM, ~125 - 200MHz CPU z Both

¾ Multimedia Features

¾ Pocket Outlook, Pocket Internet Explorer

¾ GSM/GPRS or CDMA Radio

¾ SD Card

¾ More…

Network Connectivity

z

Technologies supported by Windows

CE

¾

WLAN

¾

Bluetooth

¾

GSM/GPRS/CDMA

¾

IrDA

z

Hardware support

¾

Varies by device

¾

Not all technologies supported in all

devices

(8)

Laitteiden saatavuus

Suomessa

z

Pocket PC

¾

Tarjontaa paljon

z

Puhelinlaitteet (Phone Edition &

SmartPhone)

¾

Qtek maahantuoja M-Technology Oy

ƒ

http://www.m-technology.fi

¾

Useita jälleenmyyjiä

ƒ

http://www.qtek.fi/retailers.htm

Mobile Browser

Applications

(9)

Development For Mobile Devices

Mobile Browser Applications

Visual Studio .NET

.NET Framework

Mobile Web

Browser .NET CompactFramework

Local Code Remote Web Pages

Range of Devices

Web

Site

(10)

The Solution:

ASP.NET Mobile Controls

z

Adaptively render to devices based on

browser, device and gateway

combination

z

Extend ASP.NET to empower web

developers to build mobile web

applications

z

Integrates with the Visual Studio .NET

development environment for ease of

use.

z

Formerly known as Microsoft Mobile

Internet Toolkit.

The Solution:

ASP.NET Mobile Controls

z

Single mobile Web page that adapts to

multiple devices

z

Support multiple mark-up languages

¾

WML1.1 (WAP), cHTML 1.0, xHTML Mobile

and Basic profile, and HTML 3.2

z

Support for a variety of devices

¾

Web enabled Cell Phones, PDAs, and

Pagers

z

Customizable and extensible framework

¾

Add new controls and devices

¾

Support for new devices with out having to

rewrite or recompile your application

(11)

Supported Mobile Browsers

z

V1.0: Support for 80+ devices

¾

ACCESS Compact, Ericsson, GoAmerica

Go.Web, Microsoft Mobile Explorer, Microsoft

Pocket Internet Explorer, Nokia, Openwave

UP.Browser 3.x and 4.x, many more…

z

Device Update 1, May 2002: ~150 devices

z

Device Update 2, January 2003: 200+

devices

z

Device Update 3, August 2003: 236 devices

z

If your device is not supported in a Microsoft

Device Update pack:

¾

Extensibility features allow you to add your own

support

Mobile Windows

Applications

(12)

Development For Mobile Devices

Mobile Windows Applications

Visual Studio .NET

.NET Framework

Mobile Web

Browser .NET CompactFramework

Local Code Remote Web Pages

Managed Code Development

Visual Studio .NET & .NET Compact Framework

z

Rich, deep API for smart devices

¾

User Interface: GDI+, Windows Forms

¾

Connectivity: Web services, TCP/IP, IrDA

¾

Data Access: ADO.NET, XML

¾

Native code interoperability

z

JIT compiled, not interpreted

¾

Best of managed & native worlds

z

Visual Studio .NET IDE

(13)

Visual Studio .NET 2003

z

Supports Pocket PC 2002 out of the

box

¾

Pocket PC 2002 Emulator

z

2003 versions supported via free

downloads

¾

Windows Mobile 2003 Pocket PC SDK

¾

Windows Mobile 2003 Smartphone SDK

¾

Emulators for 2003 versions

¾

www.microsoft.com/windowsmobile/devel

oper

Visual Studio .NET 2003

Device Features

z

Visual Basic .NET and Visual C# .NET

Compact Framework Support

z

Features

¾

Device project templates

¾

Rich designers and editors

¾

Integrated help and samples

¾

Emulation

¾

Remote debugging

(14)

Compact Framework Support in

Devices

z

Windows Mobile 2003

¾

Based on Windows CE .NET 4.2 operating system

¾

Includes Compact Framework in ROM

z

Pocket PC 2003

¾

Full compact framework

z

Smartphone 2003

¾

Subset of compact framework features

¾

Most Pocket PC features fully supported

ƒ

Controls adapted to have Smartphone look & feel

ƒ

Smartphone navigation model supported

ƒ

Support for keypad navigation and keypad events

Supported Controls

Pocket PC and Windows CE.NET

Button

CheckBox

ComboBox

ContextMenu

DataGrid

DomainUpDown

FileOpenDialog

HScrollBar

ImageList

Label

ListBox

ListView

TreeView

FileSaveDialog

z

Supported controls

MainMenu NumericUpDown Panel PictureBox ProgressBar RadioButton StatusBar TabControl TextBox Timer ToolBar VScrollBar MessageBox Form

(15)

Supported Controls

Smartphone

Button

CheckBox

ComboBox

ContextMenu

DataGrid

DomainUpDown

FileOpenDialog

HScrollBar

ImageList

Label

ListBox

ListView

TreeView

FileSaveDialog

z

Supported controls

MainMenu

NumericUpDown

Panel

PictureBox

ProgressBar

RadioButton

StatusBar

TabControl

TextBox

Timer

ToolBar

VScrollBar

MessageBox

Form

Smartphone Developer Kit

z

red e SC1100 Smartphone device

z

Null SIM

z

Mobile Development Toolkit

(Resource CD)

¾

VS .NET 2003 trial

¾

Smartphone 2003 SDK

¾

Whitepapers, Getting Started, etc.

z

Available for $499.00

(16)

Data Access in Compact

Framework

z

ADO.NET DataSet

z

Providers for SQL Server

¾

7.0, 2000

¾

CE 2.0

z

Strategies

¾

Always connected

¾

Caching

¾

Occasionally connected

SQL Server CE 2.0

z

SQL Server engine for Windows CE

devices

¾

Only Pocket PC supported currently

z

Many SQL Server features supported

z

Local access via

System.Data.SQLServerCE

(17)

Futures

.NET Futures

z

Next generation

¾

.NET Framework 2.0

¾

Visual Studio ”Whidbey”

¾

SQL Server ”Yukon”

ƒ

SQL Server CE ”Laguna”

z

Beyond

¾

Windows ”Longhorn”

(18)

Core Concepts For Whidbey

z

Integrated Native and Managed

Development Environment

z

Enhanced Language Support

z

Performance – Making the machine

faster

z

Extensibility – Extend and integrate the

.NET CF platform into your device

z

Library Evolution – Increased

developer productivity and code

portability

Summary

z

Developer tools for 2003 versions are

available now

¾

Pocket PC & Smartphone

¾

VS.NET 2003 & Compact Framework 1.0

for managed development

z

Target non-MS devices with ASP.NET

(19)

© 2003 Microsoft Corporation. All rights reserved.

References

Related documents

[r]

John’s has done this by the Education Ministry delivering Sunday School bags to dozens of children; by Caring Ministry phoning and providing supportive conversations to many;

Add 100 ml of 1X TEA buffer (dilute 10X TEA buffer to make 1X – 10ml of TEA to 90 ml of distilled water in graduated cylinder.) Place agarose and buffer in microwave and heat

In Spring 2011 the Library launched its first Library Technology Student Survey to discover which technologies our students were using, which current library service and resources

To illustrate how the returned emigrants reacted towards members of other religious denominations than the traditional Roman Catholic, it is necessary to provide anecdotal

Ovulation induction with fertility drugs is also commonly used in patients without ovulatory dysfunction to stimulate the ovaries to produce more than one mature follicle per

Students should first take a look at their own values (using a tool, such as the Values Chart from Maximizing Study Abroad, attached). They can compare how they vary across their

In Section 2, I develop the main static general equilibrium model which exhibits multiple Pareto-ranked equilibria when con- sumers have non-homothetic preferences; a simplifying