User Tools

Site Tools


getting_started:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
getting_started:faq [2016/08/18 08:11]
splitlocked [How Do I Add Advertisements to my App?] Fix bad wiki syntax
getting_started:faq [2017/02/08 13:55]
37.21.161.169 [Can I use an anonymous function as a callback?]
Line 37: Line 37:
 <code>btn.SetOnTouch(function({myCallback(arg1,arg2...)}))</code> to pass arguments to the callback, but it doesn't work. <code>btn.SetOnTouch(function({myCallback(arg1,arg2...)}))</code> to pass arguments to the callback, but it doesn't work.
  
-Sorry, DroidScript does not support anonymous functions as callback parameters.\\  +Sorry, DroidScript does support anonymous functions as callback parameters only beginning from version >= 1.4.5.\\  
-This is due to a limitation within the Android WebView->Java bridge.+This was due to a limitation within the Android WebView->Java bridge.
  
 =====How Do I Implement In-app-purchases in my DroidScript app?===== =====How Do I Implement In-app-purchases in my DroidScript app?=====
getting_started/faq.txt · Last modified: 2017/10/21 14:57 (external edit)