This shows you the differences between two versions of the page.
getting_started:faq [2015/04/10 15:51] 65.124.239.82 Added another question that someone might have an answer to. |
getting_started:faq [2017/10/21 14:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Frequently Asked Questions ====== | ||
- | This faq is expected to grow significantly over time. Please feel free to add to it or correct any mistakes. | ||
- | ===== How do I set an icon for my app? ===== | ||
- | To see a personalized icon for your script in the program overview of DroidScript, | ||
- | e.g. if your script is called " | ||
- | |||
- | The easiest way to do this uses the **[[getting_started: | ||
- | ===== What is an SPK and how do I use it? ===== | ||
- | An SPK is a DroidScript package. | ||
- | |||
- | To use an SPK, you need to import it into DroidScript. | ||
- | |||
- | ===== How can I get the Display Size? ===== | ||
- | I am trying to get the width and height (in pixels) that I have available to work with in the application. Is there a way to get the values? | ||
- | |||
- | Have you tried using app.GetDisplayWidth() & app.GetDisplayHeight()? | ||
- | |||
- | ===== Can I use an anonymous function as a callback? ===== | ||
- | I am trying to use an anonymous function in a button event handler: | ||
- | < | ||
- | |||
- | Sorry, DroidScript does not support anonymous functions as callback parameters.\\ | ||
- | This is due to a limitation within the Android WebView-> | ||
- | |||
- | =====How Do I Implement In-app-purchases in my DroidScript app?===== |