--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7a40c34d-e4b1-407a-bc55-f3378ae3c2ec%40googlegroups.com.
Here's an example from the Websocket cn1lib doing exactly this.Steve
On Wed, Sep 4, 2019 at 7:46 AM Hasni Faiçal <hasni....@gmail.com> wrote:
If you are experiencing an issue please mention the full platform your issue applies to:--
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
DeviceAs you mentioned in native iOS call back to call a function from iOS with NSString argpublic static void callback(String arg) {}we should use fromNSString this a call like:fromNSString(CN1_THREAD_GET_STATE_PASS_ARG nsStringValue);how to do the same to call this interface from iOS:public static void callback(byte[] arg) {}My objective is to call an interface with byte[] arg with NSData* argument (NSData represent a data from an image)
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7a40c34d-e4b1-407a-bc55-f3378ae3c2ec%40googlegroups.com.