DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


Sidebar

News

Version1.42 is out since December 2nd 2016


Frequently Asked Questions


Namespaces

Note for contributors

If you wish to create a new page in the DroidScript wiki, please click on the most appropriate namespace above and follow the notes for contributors there.

Because of spam, it has been necessary to add a CAPTCHA to the registration form and the save option for editing pages. You will not need to prove you are human if you are logged in, so please register.

Please feel free to improve any existing page, as well as adding new pages to increase the sum of public knowledge about DroidScript.

Formatting Syntax

tips_tricks:tip_its_javascript

Tip - it's JavaScript

There's something you want DroidScript to do and you can't find out whether DroidScript can do it.

Maybe you want to find the current time or date but the and DroidScript docs don't mention it.

Remember, you are mostly using JavaScript. If JavaScript can do it, there's a good chance DroidScript can do it.

The number of times I've typed things like javascript slice into google is legion. I often end up at w3schools.com for my answer.

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("demo").innerHTML = Date();

and replace it with something from DroidScript like

  txt.SetText( Date() );

but you'll find lots of things JavaScript can do that are not specific to DroidScript.

tips_tricks/tip_its_javascript.txt · Last modified: 2014/10/13 15:57 by stevegarman