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

This is an old revision of the document!


Wifi Ide

The Wifi IDE (or web IDE) is the tool that allows the editing of DroidScript programs in any computer connected to the same Wifi network as your phone.

Loading images, sounds and other assets to your app

The Wifi IDE allows you to transfer images, sounds and other files to your DroidScript program. To do this just open the program that you want to edit, select the “assets” icon on the left pane and then upload the the file to the corresponding option (Images, Sounds, Html and Misc) using the upload button.

The Asset Manager

This is an annotated image of the components of the asset manager:

Using uploaded images

The images that you upload with the Wifi IDE get saved inside the folder of your current AdroidScript program, in the folder “Img”.

So for example to access an image called “MyImage.png” that you uploaded to the Images folder you should use the code:

imgMyImage = app.CreateImage( "Img/MyImage.png" );

App Icon

If the image has exactly the same name as the app, it will be used as the app icon

e.g. if your script is called “MyApp” the icon should be “MyApp.png”.

Tutorials

See also the official DroidScript tutorials
First app.part 1
First app.part 2

getting_started/wifi_ide.1426001100.txt.gz · Last modified: 2015/03/10 23:25 (external edit)