> > this is a known problem.. the best solution? use compression or
> > supply two different versions. i use compression on my color bitmaps
> > (and the other ones) and with the compression so far, the application
> > has increased by a small amount (< 20k).
>
> Someone suggested compiling for different targets. What I did was
> remove the color bitmap and use a BITMAP rather than BITMAPFAMILY,
> then compiled. This produced the smaller code and was rather easy
> to compile two different version. The code for color remained. It
> is a good alternative.
be careful here tho.. this is a pretty good technique:
a) use ICONFAMILY for the icons
b) check the operating system state and then decide to terminate
or continue the application.
- you can throw up a "incompatable alert".
if you use ICONCOLOR - you will get FATAL EXCEPTIONS on any device
prior to 3.5 (from memory) - as your bitmap will be in the version
2 family, which earlier operating systems dont like so much :P
this technique will allow your app to be installed, without crashing
the machine, but with good code - you can decide if the app can
run or not in your startup routines.
cheers.
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html