introduction to the resources of pocket pc

Post on 09-Jan-2016

37 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Introduction to the Resources of Pocket PC. Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University. Outline. Introduction to PDAs Palm vs. Pocket PC Introduction to Windows CE Pocket PC Emulators Windows CE Programming. Introduction to PDAs. What is a PDA? - PowerPoint PPT Presentation

TRANSCRIPT

Introduction to the Resources of Pocket PC

Bo-Yuan Pengbypeng@cobra.ee.ntu.edu.tw

National Taiwan University

Outline

• Introduction to PDAs

• Palm vs. Pocket PC

• Introduction to Windows CE

• Pocket PC Emulators

• Windows CE Programming

Introduction to PDAs

• What is a PDA?– PDA: Personal Digital Assistant– Mobile computing tool– Real “notebook”– Replacement of laptop PC?– Replacement of cellular phone?

Introduction to PDAs (cont’d)

• How powerful is it?– Notebook– Calculator– Tape(??) recorder– eBook– Mobile Internet (!!)– Game– MATLAB?? (Oh, my god?)

Palm vs. Pocket PC• Palm • Pocket PC

Palm vs. Pocket PC (cont’d)• Palm

– CPU: Motorola DragonBall chip MC68k series

– Display : TFT; LCD( gray or color ) 160 x 160 pixels

– ROM/FROM : 2 ~ 4 MB

– RAM : 2 ~ 8 MB

– Expansion Card Slot

– Serial port; USB connector; Infrared

– Wireless

• Pocket PC– CPU: Intel Strong ARM;

MIPS; SH3

– Display: 240x320x12; TFT Touch Screen

– ROM: 16~32 MB Flash

– RAM: 16~32 MB SDRAM

– Audio: Record/Play (MP3!!)

– Expansion Pack

– USB; Infrared; serial port; Wireless

• Palm- CodeWarriorhttp://www.metrowerks.com/products/palm/

- Appforgehttp://www.appforge.com/

- GCChttp://sourceforge.net/projects/prc-tools/

- etc…

Palm vs. Pocket PC (cont’d)• Pocket PC- Appforgehttp://www.appforge.com/

- eMbedded Visual Toolshttp://www.microsoft.com/mobile/develope

r/downloads/

$399 !!

$899 !![$699 before May 31st 200

3]$0 of course $0 ! Miracle!

$899 !![$699 before May 31st 200

3]

Palm vs. Pocket PC (cont’d)

• So why do we choose Pocket PC?– Easier Development Tools– Familiar Environment– Color– Well… Politics :P

Introduction to Windows CE

• Open and MS Standard System

• 32-bit Operating System

• Multi-task and Multi-thread

• Support Unicode (2 bytes)

• Database

• Wireless

• Current Version: Pocket PC 2002

Introduction to WinCE (cont’d)

• Applications– Pocket Office

• Pocket Word

• Pocket Excel

– Pocket Outlook– Pocket Internet Explorer– Windows Multimedia Player

Introduction to WinCE (cont’d)

• Where can other applications be found?– www.google.com

• “PDA”

• “Pocket PC”

• “Windows CE” “WinCE”

– www.hp.com• Compaq iPAQ’s homepage

• 802.11 driver (Where is it?)

Pocket PC Emulators

• Emulators provided by eMbedded Visual Tools– Pocket PC SDK

– Handheld PC SDK

– Palm-Size PC SDK

• But none of them work on iPAQ! So…– Pocket PC 2002 SDK

http://www.microsoft.com/mobile/developer/downloads/ppcsdk2002.asp

– Traditional Chinese Localehttp://www.microsoft.com/mobile/developer/downloads/ppc2002emulator/default.asp

Pocket PC Emulators

• Emulators provided by eMbedded Visual Tools– Pocket PC SDK

– Handheld PC SDK

– Palm-Size PC SDK

• But none of them work on iPAQ! So…– Pocket PC 2002 SDK

http://www.microsoft.com/mobile/developer/downloads/ppcsdk2002.asp

– Traditional Chinese Localehttp://www.microsoft.com/mobile/developer/downloads/ppc2002emulator/default.asp

This is the story before 2003! Too old!

Pocket PC Emulators [2003]

• Emulators provided by eMbedded Visual Tools– Pocket PC 2002 SDK– Smartphone PC 2002 SDK

• If you want to develop under other platform...– Pocket PC SDK– Handheld PC SDK– Palm-Size PC SDK

• If you want to develop Chinese PPC program...– Traditional Chinese Locale

http://www.microsoft.com/mobile/developer/downloads/ppc2002emulator/default.asp

Windows CE Programming

• eMbedded Visual Tools– eMbedded Visual Basic– eMbedded Visual C++

• SDKs for all platforms

• What language fits your need?• Microsoft ActiveSync 3.5

http://www.microsoft.com/mobile/pocketpc/downloads/

Feature Visual C++ Visual Basic

Result is processor independent No (except using Common Executable Format)

Yes

Development of COM components

Yes No

Development of drivers Yes No

Development of ActiveSync filter Yes No

Rapid development, testing, deployment

No Yes

Degree of freedom High Low

Access to the Full Pocket PC API Yes No

Easy data access using ADOCE No Yes

WinCE Programming (cont’d)

WinCE Programming (cont’d)

• Tricks– Chinese Locale: Modify the registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows CE Tools\Platform Manager\{F384D888-F9AA-11D1-BB9E-00A0C9C9CCEE}\{DE9660AC-85D3-4C63-A6AF-46A3B3B83737}\{F384D894-F9AA-11D1-BB9E-00A0C9C9CCEE}\{67C8D913-F0CF-486A-8CF0-CE7D116225E8}

Path

WinCE Programming (cont’d)

• Tricks (cont’d)– Memory Size Setup: Modify the registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Tools\Platform Manager\{F384D888-F9AA-11D1-BB9E-00A0C9C9CCEE}\{DE9660AC-85D3-4C63-A6AF-46A3B3B83737}\{F384D894-F9AA-11D1-BB9E-00A0C9C9CCEE}\{67C8D913-F0CF-486A-8CF0-CE7D116225E8}

Memory

– Download Path\Windows\ 「開始」功能表 \

• Demo: “Hello, Pocket PC!”

Frequently Asked Questions• I got an error message including “Start Menu” during “playing” or compi

ling.– Did you forget the “ 「開始」功能表” story? :P

• I cannot read Chinese in my emulator.– Install the traditional Chinese locale.– Modify the registry.

• I have a program with eVB grid control, but there is error messages telling me I cannot show the control in any of the computers of the NMM Lab.– Well, dxxn Genuine that it installs incomplete Windows XP Pro on our computers.

The following three solutions may be applied:• Try eVC++.• Try not to use these "special" components in eVB.• Program and debug at home, your notebook, whatever. Not in the Lab.

(What a tricky solution!)

– This problem is to be the end in this summer vacation, and that means... :P

FAQ (cont’d)• Where is either AoE or FIFA2002 PocketPC?

– Well, can you pay more attention to programming rather than gaming?

– I see, you promise it. Try http://www.ziointeractive.com/ .

• I am crazy that there are so much software to download to develop my own program. Can you give a summery?– eMbedded Visual Tools– Pocket PC 2002 SDK– Traditional Chinese Locale(Skin, Image, whatever) for Pocket PC 2

002 Emulator– ActiveSync 3.5– iPAQ wireless PC card driver for Pocket PC (if you want to design

PDA internet software)

FAQ (cont’d)

• Can you tell me the story about Bluetooth on iPAQ?– Looking books up is not my job…

• What’s your email address? Would you give me a favor in the future?– bypeng@cobra.ee.ntu.edu.tw

– Of course, if you do not ask me where AoE or FIFA2002 is,I will try my best.

top related