Forum: Android

Here is a forum space for SDK: Android.

111. Send a picture

How to send a picture public to the channel?
I send a byte array from a jpeg but it is not displayed.
Do you need to set a header?

Jul 27 '19 at 19:17 (GMT0) created by Philip

 
The ProPTT2 SDK don't support the sending picture.
So you have to implement it yourself by using sendPublicCustomMessage
http://dev.proptt2.com/sdk-client-ref2-pttchannel.html#sendPublicCustomMessage
Thanks.

Jul 28 '19 at 13:16 (GMT0) created by ProPTT2 dev

 
We have announced ProPTT2's custom message format.
You can use it.
http://dev.proptt2.com/sdk-client-custommessage.html
Thanks.

Jul 28 '19 at 14:57 (GMT0) created by ProPTT2 dev