Hi Steve,

Thanks for your advice, let we try!

On Monday, August 29, 2016 at 10:33:22 PM UTC+8, Steve Hannah wrote:
>
> Your native function doesn't do what you think it does.  You are returning 
> sFilePath from your function, but its value is being changed inside of your 
> dispatch_async call - which happens after you've already returned from your 
> function. 
>
> Since your function uses async callbacks internally to set the sFilePath, 
> you'll need to change your native function to by asynchronous also, and use 
> a callback to pass the string back to your app.
>
> Steve
>
> On Sun, Aug 28, 2016 at 11:00 PM, <[email protected] <javascript:>> 
> wrote:
>
>> It is tried but the problem retain.
>>
>> Thanks,
>>
>> On Monday, August 29, 2016 at 1:25:16 PM UTC+8, Shai Almog wrote:
>>>
>>> Hi,
>>> try [sFilePath retain];
>>>
>> -- 
>> 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] 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/ba08dbf5-f6ae-469c-96c6-3e2ea3ec3c74%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/ba08dbf5-f6ae-469c-96c6-3e2ea3ec3c74%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
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].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7277664e-ada7-4d80-b7f4-f7e9acaafa26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to