1 / 13

CSE 497B : Hands-on Handhelds

CSE 497B : Hands-on Handhelds. Instructors: Dr. Anand Sivasubramaniam (anand@cse.psu.edu) Dr. Mahmut Kandemir (kandemir@cse.psu.edu) Teaching Assistant: Partho Nath (nath@cse.psu.edu). Course Information. Access online at http://www.cse.psu.edu/~anand/497b/index.html

ginny
Download Presentation

CSE 497B : Hands-on Handhelds

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE 497B : Hands-on Handhelds Instructors: Dr. Anand Sivasubramaniam (anand@cse.psu.edu) Dr. Mahmut Kandemir(kandemir@cse.psu.edu) Teaching Assistant: Partho Nath(nath@cse.psu.edu)

  2. Course Information • Access online at http://www.cse.psu.edu/~anand/497b/index.html • Lectures: 11:00-12:15 M in 302 Pond • Lab Sessions: 11:00-12:15 W in 127 Hammond

  3. Course requirement outline • Hardware requirements • Compaq (HP?) iPAQ 3975 Pocket PC. (Other vendors like Casio, Symbol permitted) • Serial/USB docking cradles + AC power + rechargeable battery pack • PC Card Expansion jackets (must be able to accommodate PCMCIA wireless cards) • PCMCIA Wireless Ethernet cards

  4. Software requirements • Desktop PC running Windows 98, 2000, XP, Linux. • Microsoft Embedded Visual Tools (Embedded Visual C++, Embedded Visual Basic). • Pocket PC 2002 SDK • Includes Pocket PC 2002 device emulator

  5. Lab outline • PART-1 (Windows-based desktops) • Familiarizing with the iPAQ Pocket PC device. • Setting up Windows CE. • Embedded Visual Tools (eVC++/eVB). • Pocket PC 2002 SDK/device emulator. • Microsoft Foundation Classes and Visual C++. • Windows CE GUI. • .NET framework for deploying applications. • Wireless networking with Windows CE.

  6. PART-2 (Linux/Windows-based desktops) • Setting up Linux. • Configuring gcc (cross-compiler), program development. • Familiarizing with Java, development tools. • Wireless networking with Linux.

  7. Course Projects • Project-1: Due Feb 17. • Address book Application. • Project-2: Due Mar 3. • Tetris Application. • Project-3: Due Mar 24. • Pager/Chat Application. • Project-4: Due Apr 28. • Final project is left for your group to decide.

  8. Lab Policies • Office hours and grading policies will be announced by the TA shortly. • Please keep checking the website for further announcements. • Additional lab sessions can be scheduled with the TA.

  9. Pocket PC • Windows powered mobile devices • Pocket PC, Pocket PC Phone Edition, Smartphone, and Handheld PC. • For more information check http://www.microsoft.com/mobile/pocketpc/default.asp. • Pocket PC developer information check http://www.microsoft.com/mobile/developer.

  10. Pocket PC Device Emulation • Behaves like a physical device. • Complete hardware virtual machine. • Uses TCP/IP (default) as the transport protocol to communicate with the host. • Visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k2/html/ppc_gapps.aspfor more details. • Facilitates debugging.

  11. Creating a simple application in eVC++with Microsoft Foundation Classes • Start EVC++ by clicking the Start button on your desktop. Then select Programs. • Select Microsoft eMbedded Visual Tools and then select eMbedded Visual C++ 3.0. • From the menu bar, select File, and then select New. • From the Projects tab, select WCE Pocket PC MFC AppWizard (.EXE). • Type “DebugSample” (or any name you choose) in the Project Name edit box. • Make sure that all target CPUs you want to support are checked in the CPUs list, especially the Win32 (WCE x86em) item, as shown in Figure 1. • Click OK. • For the sake of this example, leave everything at the default settings. • Click FINISH, and then click OK to create the project.

  12. “Hello World” in eVC++. • Start eMbedded Visual C++. • Select New under File. • In the dialog box select WCE Pocket PC Application and enter the project name: Helloworld. As soon as you click OK, the WCE Pocket PC Application wizard will start. • When the wizard asks you what kind of application you would like to create, select a typical Hello world application. • Tap Finish. The wizard will summarize what it's going to do. As soon as you acknowledge the summary by tapping OK, the wizard generates the sources for your first Hello World application. • Make sure that Win32 (WCE x86em) Debug and Pocket PC Emulation are selected in the Windows CE Configuration toolbar. • Now tap the Rebuild All button to create your new application. The eMbedded Visual C++ software will now compile your application and download it to the Pocket PC desktop emulator. • Finally, tap the Debug button, and you should see your first Hello World application in the Emulator window.

  13. Helpful/Useful links • C:\Windows CE Tools\htmlhelp\pocketpc • PPC2.chm — Platform SDK for PocketPC — some developer help • PPC2ADOC.chm — ADOCE help file • PPC2OD.chm — OLE DB SDK for Windows CE • PPC2SDKR.chm — Pocket PC API Reference

More Related