As well as creating graphical interfaces, you have access to Sensors like the Accelerometer, Compass, Light meter or other device components like Wifi, Bluetooth, Camera, GPS, SD Card, SMS, Emails, Internet and more. We're always adding new functionality to the engine, so if you want something added just let us know via email or leave a comment on the forum.
You can edit Apps right here on your phone or tablet using the built-in script editor by long pressing on the App's icon and selecting the 'Edit' option.
You can also edit your Apps on a PC or Mac in a browser using the built in Wifi editor, by touching the small arrow button at the top and following the instructions shown. Editing with a full size keyboard is much easier and we recommend that you use the WiFi editing for long coding sessions, especially for larger projects. The Wifi editor also allows you to easily upload image and sound resources to your App.
DroidScript comes with many sample Apps, ranging from very simple "Hello World" type Apps which show a single button to more complex ones which involve Web pages, Wifi and Phone-PC communication. It's a good idea to copy the script in one of these samples as a starting point for your own Apps. Try to find the one which best matches your requirements. Have a look at them right now!
In order to maintain the scale of graphical objects in devices with different screen resolutions and orientations, all positioning and sizing values are given as a decimal fraction of the screen width or height. For example creating a button with a width of 0.5 would make the button half the screen width and using a height of 0.1 would make the button one tenth of screen height. You can however specify -1 or leave out the width and height parameters completely on many controls if you want the control to size according to its contents.
Before starting to write your own Apps it's a good idea to read the documentation explaining 'Layouts' as these are a fundamental part of every DroidScript App.