This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
getting_started:faq [2015/11/14 01:32] 118.148.148.82 [How do I set an icon for my app?] |
getting_started:faq [2017/10/21 06:57] 120.20.139.27 [Frequently Asked Questions] |
||
---|---|---|---|
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, | In order to maintain the scale of graphical objects in devices with different screen resolutions and orientations, | ||
Line 26: | Line 26: | ||
An SPK is a DroidScript package. | An SPK is a DroidScript package. | ||
- | To use an SPK, you need to import it into DroidScript. | + | To use an SPK, you need to import it into DroidScript. |
===== How can I get the Display Size? ===== | ===== How can I get the Display Size? ===== | ||
Line 37: | Line 37: | ||
< | < | ||
- | Sorry, DroidScript does not support anonymous functions as callback parameters.\\ | + | Sorry, DroidScript does support anonymous functions as callback parameters |
- | This is due to a limitation within the Android WebView-> | + | This was due to a limitation within the Android WebView-> |
=====How Do I Implement In-app-purchases in my DroidScript app?===== | =====How Do I Implement In-app-purchases in my DroidScript app?===== | ||
Line 126: | Line 126: | ||
If your ad network provides HTML ads( which almose every one of them does ) then you can use it in WebView. | If your ad network provides HTML ads( which almose every one of them does ) then you can use it in WebView. | ||
For HTML ads, your network will give you link and you have to use it in <script src> tag.(Chris Hopkins told this useful information) Something like this : | For HTML ads, your network will give you link and you have to use it in <script src> tag.(Chris Hopkins told this useful information) Something like this : | ||
- | < | + | < |
+ | webView.LoadHtml('< | ||
+ | </ | ||
| |