80 likes | 192 Vues
This document provides a comprehensive analysis of the challenges associated with the Palm client, particularly focusing on OBEX (Object Exchange) issues encountered during development. Key topics include the implementation of OBEX file sharing via IrDA, the functionality of the Metrowerks IDE, and specific issues such as the absence of the "Get" command for retrieving directory and file lists. Solutions pertaining to the "Put" command functionality in the Palm environment are also discussed, along with noteworthy examples highlighting the pitfalls of API mismanagement in application development.
E N D
Meeting Ball In depth issue analysis
Introduction • Issues surrounding Palm client • David Hall
Palm Client • OBEX • Metrowerks IDE • Palm Platform
OBEX • Connectionless file sharing via IrDA • Main use is OBEX “Get” or “Put” • Our needs: • Get directory/file list • Get desired file • Problem? No “Get” on Palm! • But: “Put” implemented nicely
Solution • Series of OBEX file “Puts” • Files contain “commands” File specifying directory contents or file to get Palm “Put” Palm Meeting Ball MB “Put” File specifying contents of new directory
Metrowerks IDE • IDE messes up • Constructor? • Mis-implemented API’s? • Example: • Add a Field, set visible attrib • Call FldSetTextPtr/FldDrawField • Result: nothing!
Palm Platform • Event based if (! SysHandleEvent()) if (! MenuHandleEvent(&event)) if (! AppHandleEvent(&event) FrmDispatchEvent(&event); • Example: Wasn’t exiting loop, hosed two palms!
Summary of Issues • OBEX • Metrowerks IDE • Palm Platform Development