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/03/10 20:51]
stevegarman [Tutorials]
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 27: Line 12:
  
 e.g. if your script is called “MyApp” the icon should be “MyApp.png”. e.g. if your script is called “MyApp” the icon should be “MyApp.png”.
-==== Tutorials ==== + 
-There is a good description of the use of the WiFi IDE in the official DroidScript tutorials\\ +That's the same whether your app is a .js or .html based app. 
-[[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]] \\+(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. 
 + 
 +/sdcard/DroidScript/MyApp/Img/MyApp.png 
 + 
 +The easiest way to do this is from the assets tab in the Wifi IDE -  
 + 
 +http://wiki.droidscript.me.uk/doku.php?id=getting_started:wifi_ide#using_uploaded_images 
 + 
 +(Steve Garman on Google Group...) 
 + 
 +DroidScript needs to make versions of your launcher icon in several sizes. 
 +http://stackoverflow.com/questions/12768128/android-launcher-icon-size 
 + 
 +I recommend including a png 192 pixels square so it will scale well
 + 
 +You will also need a version 512 px square if to upload to Google Play, if relevant. 
 + 
 +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  
getting_started/wifi_ide.1426020700.txt.gz · Last modified: 2015/03/11 04:51 (external edit)