Introduction to the Resources of Pocket PC BoYuan
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? – 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 – e. Book – Mobile Internet (!!) – Game – MATLAB? ? (Oh, my god? )
Palm vs. Pocket PC • Palm • Pocket PC
Palm vs. Pocket PC (cont’d) • Palm – CPU: Motorola Dragon. Ball chip MC 68 k 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; SH 3 – Display: 240 x 320 x 12; TFT Touch Screen – ROM: 16~32 MB Flash – RAM: 16~32 MB SDRAM – Audio: Record/Play (MP 3!!) – Expansion Pack – USB; Infrared; serial port; Wireless
Palm vs. Pocket PC (cont’d) • Palm - Code. Warrior • Pocket PC $399 !! http: //www. metrowerks. com/products/palm/ - Appforge $899 !! [$699 before May 31 st 2003] $0 of course - GCC http: //www. appforge. com/ http: //sourceforge. net/projects/prc-tools/ - etc… - Appforge $899 !! [$699 before May 31 st 2003] - e. Mbedded Visual Tools http: //www. appforge. com/ http: //www. microsoft. com/mobile/develope r/downloads/ $0 ! Miracle!
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 Win. CE (cont’d) • Applications – Pocket Office • Pocket Word • Pocket Excel – Pocket Outlook – Pocket Internet Explorer – Windows Multimedia Player
Introduction to Win. CE (cont’d) • Where can other applications be found? – www. google. com • “PDA” • “Pocket PC” • “Windows CE” “Win. CE” – www. hp. com • Compaq i. PAQ’s homepage • 802. 11 driver (Where is it? )
Pocket PC Emulators • Emulators provided by e. Mbedded Visual Tools – Pocket PC SDK – Handheld PC SDK – Palm-Size PC SDK • But none of them work on i. PAQ! So… – Pocket PC 2002 SDK http: //www. microsoft. com/mobile/developer/downloads/ppcsdk 2002. asp This is the story – Traditionalbefore Chinese 2003! Locale Too old! http: //www. microsoft. com/mobile/developer/downloads/ppc 2002 emulator/ default. asp
Pocket PC Emulators [2003] • Emulators provided by e. Mbedded 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/ppc 2002 emulator/ default. asp
Windows CE Programming • e. Mbedded Visual Tools – e. Mbedded Visual Basic – e. Mbedded Visual C++ • SDKs for all platforms • What language fits your need? • Microsoft Active. Sync 3. 5 http: //www. microsoft. com/mobile/pocketpc/downloads/
Win. CE Programming (cont’d) 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 Active. Sync 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 Yes No
Win. CE Programming (cont’d) • Tricks – Chinese Locale: Modify the registry HKEY_LOCAL_MACHINESoftwareMicrosoftWindows CE ToolsPlatform Manager {F 384 D 888 -F 9 AA-11 D 1 -BB 9 E-00 A 0 C 9 C 9 CCEE} {DE 9660 AC-85 D 3 -4 C 63 -A 6 AF-46 A 3 B 3 B 83737} {F 384 D 894 -F 9 AA-11 D 1 -BB 9 E-00 A 0 C 9 C 9 CCEE} {67 C 8 D 913 -F 0 CF-486 A-8 CF 0 -CE 7 D 116225 E 8} Path
Win. CE Programming (cont’d) • Tricks (cont’d) – Memory Size Setup: Modify the registry HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows CE ToolsPlatform Manager {F 384 D 888 -F 9 AA-11 D 1 -BB 9 E-00 A 0 C 9 C 9 CCEE} {DE 9660 AC-85 D 3 -4 C 63 -A 6 AF-46 A 3 B 3 B 83737} {F 384 D 894 -F 9 AA-11 D 1 -BB 9 E-00 A 0 C 9 C 9 CCEE} {67 C 8 D 913 -F 0 CF-486 A-8 CF 0 -CE 7 D 116225 E 8} Memory – Download Path Windows「開始」功能表 • Demo: “Hello, Pocket PC!”
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 e. VB 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 e. VC++. • Try not to use these "special" components in e. VB. • 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 Ao. E or FIFA 2002 Pocket. PC? – 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? – e. Mbedded Visual Tools – Pocket PC 2002 SDK – Traditional Chinese Locale(Skin, Image, whatever) for Pocket PC 2002 Emulator – Active. Sync 3. 5 – i. PAQ 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 i. PAQ? – 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 Ao. E or FIFA 2002 is, I will try my best.
- Slides: 20