introduction to the resources of pocket pc bo-yuan peng [email protected] national taiwan...

19
Introduction to the Resources of Pocket PC Bo-Yuan Peng [email protected] w National Taiwan Universit y

Upload: judith-bates

Post on 24-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Introduction to the Resources of Pocket PC

Bo-Yuan [email protected]

National Taiwan University

Page 2: 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

Page 3: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Introduction to PDAs

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

Page 4: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Introduction to PDAs (cont’d)

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

Page 5: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Palm vs. Pocket PC• Palm • Pocket PC

Page 6: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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

Page 7: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

• 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 !!

$0 of course

$899 !!

$0 ! Miracle!

Page 8: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Palm vs. Pocket PC (cont’d)

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

Page 9: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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

Page 10: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Introduction to WinCE (cont’d)

• Applications– Pocket Office

• Pocket Word

• Pocket Excel

– Pocket Outlook– Pocket Internet Explorer– Windows Multimedia Player

Page 11: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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?)

Page 12: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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

Page 13: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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/

Page 14: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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)

Page 15: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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

Page 16: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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!”

Page 17: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

Frequently Asked Questions

• I got an error message including “Start Menu” during “playing” or compiling.– 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.– Compile it twice. Windows XP is tricky. :P

Page 18: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

FAQ (cont’d)

• Where is the AOE game demo?– Well, can you pay more attention to programming rather than gami

ng?

• 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

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

PDA internet software)

Page 19: Introduction to the Resources of Pocket PC Bo-Yuan Peng bypeng@cobra.ee.ntu.edu.tw National Taiwan University

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?– [email protected]

– Of course, if you do not ask me where AOE game is.I will try my best.