Hi,
I'm experimenting with two versions of my watchface:
First is using background bitmap 218x218, 4 Bit color depth what makes it around 2K in Size
Second is using programmed Shapes using drawCircle, drawRectangle, etc.
With the first I sometimes get out of memory errors in simulator, sometimes it runs saying mem usage is 55 of 64 K
The second one is laggy, It takes more time to switch between Screens and messages are shown one or two seconds after vibration
Mem Usage is 40K.
And so are my questions:
- Why does a 2K Bitmap use 14K of memory? Bitmap ist loaded in onLayout and drawn in onUpdate ?
- I'm using caches for sin and cos calculations. My second watchface is making around 85 calls to draw... or fill...
with one call to setColor per call. Is that really so costly that I should experience lag ?
Thanks!
Peter