Lua Invoke, Call AsyncTask, Return value calculated in Post Execute?

Info: Java + Lua Connected 

Greetings,

Is there a method for LUA to call an invoke function that contains an AsyncTask, and return the value calculated in post-execute back into LUA via Invoke? Part of the reason of getting Enterprise is the ability to call Native Java code, but i am having a hard time finding away to do certain tasks asynchronously, ie including a spinning progress dialog, waiting, and then using the results.

I have looked through the Enterprise and Non Enterprise Sample code, and have not found any examples. I have checked via Stackoverflow, and not much luck there as well.

Thanks!

Have a look at Corona Enterprise sample project “SimpleLuaExtensions”.  Particularly the “AsyncCallLuaFunction.java” file.  It shows you exactly how to do this and there are plenty of comments documenting how it works.

Have a look at Corona Enterprise sample project “SimpleLuaExtensions”.  Particularly the “AsyncCallLuaFunction.java” file.  It shows you exactly how to do this and there are plenty of comments documenting how it works.