bartop

palmoswerks ARCHIVE
Palm OS programming tips from a (former) CodeWarrior insider

header

Navigation

Search
Home
About
Stories
Stuff I Like
Articles
PilRC
CodeWarrior
palmos.techwood.org
DevTools List
Palm OS Dev FAQ

SDK 5 Wizard Fixes

Due to changes in the UIResDefs.r file in the Palm OS SDK, both the original Palm OS application wizard in CW Palm OS V8 and the Object Library for Palm OS Wizard in CW Palm OS V8 Enterprise Edition fail. Fortunately, the fix is fairly easy.

The problems for both of these wizards are in the Rez templates used to generate resources for the new projects. For the app wizard, this file is called app-res-template.mtl, and it lives in the 'Templates/Palm OS Templates' folder. For the POL Wizard, this file is called res-template.mtl, and its in the 'Templates/POL Templates' folder.

In the Palm OS 5 SDK, PalmSource extended the type definitions in UIResDefs.r to include support for high density bitmaps in the bitmap family defintions. However, due to this, the Rez source isn't compatible. I've prepared new versions of these two template files that work with SDK 5. However, at resource compilation time, there's no good way to tell if you're building against SDK 4 or SDK 5, do if you use the updated files, you'll also need to move to SDK 5 as you primary SDK (not a bad idea, IMHO).

Here's the update. This will probably be included in the 8.3 patch, maybe as an optional component.

MacHack: Analysis

I'm back in Austin after MacHack now. It was a really fun show, although probably more interesting to Mac diehards than Palm OS fans. Apparently, Palm has sponsored parts of earlier shows, but they were barely there this year, with just a few employees there among the attendees. The "Bash Metrowerks" session was pretty cool; we got a lot of good IDE feedback from the group. I completed and entered my hack: a Matrix-style visual demo for Palm OS. This is also my first entry in the MobileWizardy contest.

The hack contest was the best part. There was a lot of creativity and technical wizardry. The winner was an app called FireStarter which used direct DMA writes to video memory to do a fire display on the Macintosh on the other end of a FireWire cable. To say this is an unexpected behavior is an understatement. Another cool hack hooked the display size up to the load meter, reducing the system's screen size when the CPU load goes up.

brought to you by weblogger.com


Send feedback to combee@techwood.org
Copyright © 2004 Benjamin L. Combee
Palm OS is a registered trademark of PalmSource, Inc.
Metrowerks and CodeWarrior are registered trademarks of Metrowerks Inc.

The views expressed on this website/weblog are those of mine alone and do not necessarily reflect the views of PalmSource or Metrowerks.

This is a Manila Site

qwertYAK / frobnovich