Keeping%20It%20in%20Sync - PowerPoint PPT Presentation

About This Presentation
Title:

Keeping%20It%20in%20Sync

Description:

The Palm Model. Do minor processing on the handheld. Minor data entry ... More Information. Palm OS Development: http://www.palmone.com/us/developers ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 7
Provided by: michaelk99
Learn more at: http://cs.uccs.edu
Category:

less

Transcript and Presenter's Notes

Title: Keeping%20It%20in%20Sync


1
Keeping It in Sync
  • HotSync-ing Palm Programs, Java Style
  • by Mike Kirschman

2
The Palm Model
  • Do minor processing on the handheld.
  • Minor data entry
  • Data display (often only a subset of data)
  • Small remote database queries (if capable)
  • Etc.
  • Do major processing on PC/Laptop
  • Large data entry
  • Extended processing
  • Internet (though, some appearing on HH)
  • Larger database queries.

3
The Conduit Bridging the Gap
  • Once the processing is done on the HH or PC, the
    other needs to be updated of the data changes.
    The vehicle for these changes is the Conduit.
  • The coding options presented in the Palm OS
    Conduit Development Kit (CDK)
  • C
  • Java
  • Com

4
Java Conduits
  • Overall Design
  • Read HH data to PC (HotSync)
  • Read PC copy of data into conduit (see diagram ?)
  • Read PC data
  • Determine type of sync necessary
  • HH ? PC
  • HH ? PC
  • HH ? PC
  • Write data to HH or PC as necessary

gnt.GNTConduit
1 Request DB Open
palm.conduit.SyncManager (opens HH database)
gnt.GNTOptions
2 Read this Record
3 ReadOptions
gnt.GNTRecord
4 Read this File
gnt.GNTConduit
5 Repeat for each file (known by options)
(Left for a later time)
5
Data Stream to Read
Text Database, Record 0
File 1 Boolean editable Boolean compressed UInt16
recNum UInt16 numGraphics UInt16
category Char65 name
File N Boolean editable Boolean compressed UInt16
recNum UInt16 numGraphics UInt16
category Char65 name
Options UInt16 openFile UInt16 openGraphic UInt16
numRecs UInt32 optionsRecSize

Text Database, Record j ? 1..N
Char fileText
6
More Information
  • Palm OS Development http//www.palmone.com/us/
    developers
  • Other Palm Resources http//ardiri.com (look
    for Palm Development Kit, PilRC, jCode)
  • Conduit Development http//www.palmos.com/dev/t
    ech/conduits
  • IDE-based development http//www.metrowerks.com
    /MW/develop/Wireless/PalmOS/Professional/
Write a Comment
User Comments (0)
About PowerShow.com