Palm OS Development - PowerPoint PPT Presentation

About This Presentation
Title:

Palm OS Development

Description:

Palm OS Development Target Your Hand Palm OS Development Overview Architecture Palm OS Application Development Conduit Development Web Clipping Overview Numbers ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 36
Provided by: targetyou
Category:
Tags: development | palm

less

Transcript and Presenter's Notes

Title: Palm OS Development


1
Palm OS Development
  • Target Your Hand

2
Palm OS Development
  • Overview
  • Architecture
  • Palm OS Application Development
  • Conduit Development
  • Web Clipping

3
Overview
  • Numbers
  • Devices

4
Overview - Numbers
  • Palm has shipped over 12 million devices
  • Handspring has shipped over a million devices
  • Palm OS accounts for over 86 of PDA sales

5
Overview - Numbers
6
Shipping Palm OS Devices
  • Device OS Memory Features
  • Palm Vx 3.5 8MB Slim, rechargeable
  • Palm IIIc 3.5 8MB Color, rechargeable
  • Palm VIIx 3.5 8MB Web Clipping
  • Palm m100 3.5 2MB Low end
  • Palm m105 3.5 8MB Low end with more memory (IIIxe
    replacement)
  • Symbol SPT 1500 3.0 2/4MB Barcode scanner
  • Symbol SPT 17XX 3.2 2/8MB Barcode scanner,
    wireless
  • Kyocera 6035 3.5 8MB Cell phone, Web clipping,
    rechargeable
  • Handspring Visor 3.1 2/8MB Springboard slot, USB
  • Handspring Prism 3.5 8MB Springboard slot,
    Color, rechargeable, USB
  • Handspring Platinum 3.5 8MB VZ processor
    (faster), USB, springboard
  • Handspring Edge 3.5 8MB Slim, rechargeable, USB,
    springboard
  • Sony CLIE 3.5 8MB Memory stick, USB
  • TRG Pro 3.3 8MB Compact Flash slot

7
Announced Palm OS Devices
  • Device OS Memory Features
  • Palm m500 4.0 8MB Slim, rechargeable, expansion
    slot, USB cradle, universal connector, vibrating
    and silent alarm
  • Palm m505 4.0 8MB Color, slim, rechargeable,
    expansion slot, USB cradle, universal connector,
    vibrating and silent alarm
  • Samsung SPH-I300 3.5 8MB Cellular phone, color,
    slim, rechargeable, 160x240 resolution
  • Garmin ? ? Embedded GPS

8
Architecture
  • Motorola 68k Processor
  • User Interface
  • Graffiti handwriting recognition
  • Wireless

9
Architecture Processor
  • Motorola 68x328 Dragon Ball
  • 16-33 MHz
  • Similar processing power of an early Macintosh
  • 8MB RAM addressable
  • Single UART for serial and IrDA

10
Architecture User Interface
11
Architecture Graffiti
12
Architecture - Wireless
  • Palm VII
  • Integrated transceiver
  • Mobitext network
  • Lacks full TCP/IP support
  • Supports InetLib which provides an HTTP oriented
    interface
  • No cookie support (OS 4.0 will have cookie
    support)

13
The back-end
  • Palm Desktop
  • HotSync
  • Conduits

14
The back-end
  • Demonstration

15
Palm OS App Development
  • C - CodeWarrior, GNU
  • Satellite Forms
  • CASL Forms
  • Pendragon Forms
  • Visual Basic (Appforge)
  • Java 2 Micro Edition
  • Misc nBasic, TinyC, Forth, etc.

16
POSE
  • Palm OS Emulator
  • Windows, Mac Linux
  • Uses ROM images
  • Useful for debugging
  • Gremlins
  • CodeWarrior integration

17
POSE
  • Demonstration

18
Databases
  • Implemented as a collection of relocatable chunks
    of memory accessed via handles using Dm functions
  • They have nothing to do with modern relational
    databases
  • Saved by generic conduit as a .PDB file
  • The developer determines record layout
  • Less than 64k limit to record length
  • Records may be Deleted or Archived

19
A simple C app
  • Functions
  • Palm Main
  • Application Event Handler
  • Form Event Handler
  • AppStart
  • Message loop
  • AppStop
  • Resources

20
C app PalmMain
  • Check ROM version
  • Check launch code
  • Call AppStart
  • Open first form
  • Run the App Event Loop
  • Call AppStop

21
C app - AppStart
  • Open and/or Create database(s)
  • Load preferences

22
C app - Message Loop
  • static void AppEventLoop(void)
  • UInt16 error
  • EventType event
  • do
  • EvtGetEvent( event, evtWaitForever )
  • if ( ! SysHandleEvent( event ) )
  • if ( ! MenuHandleEvent( 0, event, error ) )
  • if ( ! AppHandleEvent( event ) )
  • FrmDispatchEvent( event )
  • while ( event.eType ! appStopEvent )

23
C app - AppStop
  • Save preferences
  • Close Databases
  • Close all open forms
  • Clean-up

24
C app Demo
25
Conduits
  • Development Tools
  • Functionality
  • Conduit Wizard Demo

26
Conduits Development Tools
  • Tools
  • Microsoft VC
  • Delphi
  • 4.0 desktop supports COM

27
Conduits Functionality
  • Decide what functionality your conduit will
    implement
  • Two-way mirror image synchronization
  • Upload from the organizer
  • Download to the organizer
  • Custom

28
Conduit Wizard
  • Demonstration

29
Web Clipping
  • Index vs. Local vs. Remote pages
  • Elaine
  • Tags
  • Tables
  • QAB

30
Web Clipping Tags
  • ltMETA NAME"PalmComputingPlatform"
    CONTENT"TRUE"gt
  • ltMETA NAME"PalmLauncherRevision" CONTENT"X"gt
  • ltsmallscreenignoregt
  • deviceid
  • zipcode
  • Frames arent supported

31
Web Clipping Tables
  • Tables are supported
  • Palm OS devices have 160 pixel wide screens,
    fixed width tables could end up with horizontal
    scrolling

32
Web Clipping QAB
  • Query Application Builder
  • Takes simple HTML and provides framework

33
QAB - Demo
  • Demonstration

34
Resources
  • www.TargetYourHand.com (soon)
  • www.PalmOS.com
  • Get on the PalmDev mailing list
  • Mailing list archive at www.Escribe.com

35
Fin
  • Questions?
  • Thanks!
Write a Comment
User Comments (0)
About PowerShow.com