If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device

As you mentioned in native iOS call back to call a function from iOS with 
NSString arg 

*public 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7a40c34d-e4b1-407a-bc55-f3378ae3c2ec%40googlegroups.com.

Reply via email to