This shows you the differences between two versions of the page.
tips_tricks:tip_its_javascript [2014/09/21 15:16] 81.174.242.106 created |
tips_tricks:tip_its_javascript [2014/10/13 23:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tip - it's JavaScript ====== | ||
- | There' | ||
- | Maybe you want to find the current time or date but the AndroidScript docs don't mention it. | ||
- | |||
- | Remember, you are mostly using JavaScript. If JavaScript can do it, there' | ||
- | |||
- | The number of times I've typed things like **javascript slice** into google is legion. I often end up at [[http:// | ||
- | |||
- | If you look at js sample code, you may need to ignore the bit that tries to display it for you such as | ||
- | document.getElementById(" | ||
- | and replace it with something from AndroidScript like | ||
- | txt.SetText( Date() ); | ||
- | but you'll find lots of things JavaScript can do that are not specific to AndroidScript. |