pebble / pebblekit

Pebble's app development toolkit for the Pebble smartwatch, Android and iOS
199 stars 13 forks source link

Missing example for +[PBitmap pebbleBitmapWithUIImage: ] on watch #50

Open plaetzchen opened 11 years ago

plaetzchen commented 11 years ago

Hi there,

I am missing some documentation on how to use +[PBitmap pebbleBitmapWithUIImage:]: Of course I can construct such a bitmap but I can't find any example on how to send such an bitmap to the watch (without crashing it) and how I can use it on the watch.

Regards, Philip

sarfata commented 11 years ago

Hi Philip,

You have to split the images into messages small enough to be sent with appmessage (less that 124 bytes) and then push them one by one and reconstruct the bitmap on pebble. Unfortunately we do not have an example to show that now. I will keep this bug open to add one.

thomas

caichunjian520 commented 7 years ago

I also can't find an example about how to transform an UIImage to bitmap and reveal on pebble.