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
Previous 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/10/21 14:57] (current)
Line 1: Line 1:
 ====== Frequently Asked Questions ====== ====== Frequently Asked Questions ======
-This faq is expected to grow significantly over time. Please feel free to add to it or correct any mistakes.+This faq is expected to grow significantly over time. Please feel free to add ideas to it or correct any mistakes.
 ===== What measurements does DroidScript use? ===== ===== What measurements does DroidScript use? =====
 In order to maintain the scale of graphical objects in devices with different screen resolutions and orientations, all positioning and sizing values are given as a decimal **fraction** of the screen width or height.  In order to maintain the scale of graphical objects in devices with different screen resolutions and orientations, all positioning and sizing values are given as a decimal **fraction** of the screen width or height. 
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.1471507875.txt.gz · Last modified: 2016/08/18 16:11 (external edit)