mrossen Active Member Licensed User Longtime User Jan 11, 2015 #1 Hi, Any one there knows how to pass data from inline code to b4i code Ex. I have this "NSInputStream *is" in the inline code. I would like to pass it to at string or a array, Mogens
Hi, Any one there knows how to pass data from inline code to b4i code Ex. I have this "NSInputStream *is" in the inline code. I would like to pass it to at string or a array, Mogens
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2015 #2 NSInputStream is not a string or array. you cannot simply cast it to such object. You can return an NSInputStream from the method and then cast it to InputStream: B4X: Dim in As InputStream = NativeMe.RunMethod("method that returns an InputStream", ...) Upvote 0
NSInputStream is not a string or array. you cannot simply cast it to such object. You can return an NSInputStream from the method and then cast it to InputStream: B4X: Dim in As InputStream = NativeMe.RunMethod("method that returns an InputStream", ...)