Hi,
how do I transfer a bitmap from an Android / iOS app to the app running on the watch?
Thanks for any help!
Yeah, you're not missing anything here. At this time, the only way to get an external image into a ConnectIQ app is with makeImageRequest(). It isn't possible to send them over from a partner app with…
Unless you write an Android/iOS companion app, you don't. The only thing you can do is download an image with the makeImageRequest() method. Note that neither of these options are possible from a watch face or data field.
Argh! I have led you astray. The only thing I see that you can do is transmit data via Comm.transmit(), but once you do that there isn't any way to generate something that can be displayed. There is no way that I see to generate or receive a bitmap on the device side except for makeImageRequest().
Maybe the Garmin folks could chime in. I suppose it might be possible to call makeImageRequest() from the device to very simple web server running on on the phone, but I'm just making stuff up as I go now.. :(
Travis
Argh! I have led you astray. The only thing I see that you can do is transmit data via Comm.transmit(), but once you do that there isn't any way to generate something that can be displayed. There is no way that I see to generate or receive a bitmap on the device side except for makeImageRequest().
Maybe the Garmin folks could chime in. I suppose it might be possible to call makeImageRequest() from the device to very simple web server running on on the phone, but I'm just making stuff up as I go now.. :(
Travis
Yeah, you're not missing anything here. At this time, the only way to get an external image into a ConnectIQ app is with makeImageRequest(). It isn't possible to send them over from a partner app with Comm.transmit().
I'm not sure building a bitmap on the device from a byte array is something we will be able to include because the images have to be converted into a device format, and doing that conversion natively on the device might not be something we can integrate. I don't think there are any technical limitations to doing that conversion in the phone SDKs, and being able to send them to the device using Comm.transmit, so I will put a feature request ticket in for that.