User Tools

Site Tools


Sidebar

Privacy Policy

News

Version 2.50 is out since Jan 1st 2022


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

getting_started:wifi_ide_hot_to

To start the WiFi IDE
Invoke the DroidScript app on your Android Device, then touch the WIFI Icon (top row, 2nd icon), it will show you an IP address and a password.
On a PC or Mac open your browser and enter the IP address in the address bar, then enter the password.
You will see a screen like this.
wifinums.jpg To exit the WiFI IDE
On your Android Device press BACK (bottom icon on the Android screen.
(Make sure you have saved any work.)
To open an existing App/Project
On the PC/Mac Click on the top left Icon (see red 1 on screen shot above), then click on the App/Project.
(If you hover your mouse over an App icon you will see mini icons for Rename, Run and Delete)
To create a new App/Project
On the PC/Mac Click on the top left Icon (see red 1 on screen shot above), then click on New Javascript App or New HTML App.
Editing/Running/Stopping your code
Just type in your code (as you type the Smart Editor will prompt/autocomplete).
To Save press Ctrl+S.
To Undo changes press Ctrl+Z, and to re-do changes press Ctrl+Y.
To run your code (on your Android device) press Alt+R.
(On the right hand area you can click on Debug to see messages from your running code)
To stop your code press Alt+S.
You can Cut Ctrl+X, Copy Ctrl+C, and Paste Ctrl+V.
Search/Replace, Jump to Functions
To search your code press Ctrl+F, to search again press F3, to search backwards press Shift+F3.
To replace press Ctrl+F a second time.
(The search/replace box also has mini icons for regular expresssions, ignoring case and whole word search).
To jump to a specific function click on Functions in the top menu.
Expand/Collapse your code
Click on the small triangles next to the line number to expand/contract blocks of code.
Click on - icon (top menu) to contract all your functions (see red 11 on screen shot above).
Click on + icon (top menu) to expand all functions (see red 12 on screen shot above).
Left Hand menu
Click the Pencil icon to come back to the editor (see red 2 on screen shot above).
Click the Asset icon (see red 3 on screen shot above) to add Assets (images etc) to your App (from your PC/Mac) and/or see your existing assets
(Existing assets have mini icons below them to Rename and Delete)
Using multiple files.
To create another file in your app, click the circle+ icon in the top menu (see red 5 on screen shot above).
To edit a specific file click the file name in the top row.
(There's a small icon to the top-right of each file to Delete it).
To use additional javascript files then your main file should include app.Script(“filename.js”)
(Non_Premium users are limited to 3 files per App).
Miscellaneous
To make your edit area wider/narrower click the Expand Editor icon (see red 13 on screen shot above).
On the right hand area you can see News about Droidscript, Documentation, Samples, Debug or Chat.
(You can copy/paste code from Examples in the Documentation, and Samples) To switch between dark and light backgrounds click the moon icon in the top-right.

YouTube

You may find it useful to view the demo on YouTube at https://youtu.be/7F9ySNFaHJM

Problems
See the Google Groups for problems with the IDE.
For example https://groups.google.com/g/androidscript/c/kiSsRVObWFU/m/xH5cStT6AgAJ

getting_started/wifi_ide_hot_to.txt · Last modified: 2021/06/01 13:20 by al4he6