User Tools

Site Tools


getting_started:wifi_ide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
getting_started:wifi_ide [2015/11/14 01:18]
118.148.148.82 [App Icon]
getting_started:wifi_ide [2018/02/24 22:21] (current)
Line 1: Line 1:
-====== Wifi Ide ====== 
-{{:pics:screenshot_2014-10-08-06-54-32.png?200|}} 
  
-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 {{:assets.png?100|}} 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: 
-{{:assetnote.png?d400|}} 
  
-==== 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: 
- 
-<code>imgMyImage = app.CreateImage( "Img/MyImage.png" );</code> 
  
 ==== App Icon ==== ==== App Icon ====
Line 30: Line 15:
 That's the same whether your app is a .js or .html based app. That's the same whether your app is a .js or .html based app.
  
-(Chris Hopkin ...)+(Chris Hopkin on Google Group...)
  
 If you want to change your App icon, you will need to copy a .png image file to your App's Img assets folder. The name of the image file should be the same as your App name, e.g. If you want to change your App icon, you will need to copy a .png image file to your App's Img assets folder. The name of the image file should be the same as your App name, e.g.
Line 40: Line 25:
 http://wiki.droidscript.me.uk/doku.php?id=getting_started:wifi_ide#using_uploaded_images http://wiki.droidscript.me.uk/doku.php?id=getting_started:wifi_ide#using_uploaded_images
  
-(Steve Garman...)+(Steve Garman on Google Group...)
  
 DroidScript needs to make versions of your launcher icon in several sizes. DroidScript needs to make versions of your launcher icon in several sizes.
 http://stackoverflow.com/questions/12768128/android-launcher-icon-size http://stackoverflow.com/questions/12768128/android-launcher-icon-size
 +
 I recommend including a png 192 pixels square so it will scale well. I recommend including a png 192 pixels square so it will scale well.
  
Line 50: Line 36:
 You might be interested in these guidlines as well You might be interested in these guidlines as well
 http://android-developers.blogspot.co.uk/2013/07/making-beautiful-android-app-icons.html?m=1  http://android-developers.blogspot.co.uk/2013/07/making-beautiful-android-app-icons.html?m=1 
-==== Tutorials ==== +
-There is a good description of the use of the WiFi IDE in the official DroidScript tutorials\\ +
-[[http://www.androidscript.org/Home/tutorials/tut_first_app_part_1.html|My first app.part 1]] \\ +
-[[http://www.androidscript.org/Home/tutorials/tut_first_app_part_2.html|My first app.part 2]] \\+
getting_started/wifi_ide.1447463889.txt.gz · Last modified: 2015/11/14 09:18 (external edit)