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 [2014/10/08 08:42]
administrator
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 AndroidScript programs in any computer connected to the same Wifi network than 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 AndroidScript 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 programin the folder "Img".+==== App Icon ==== 
 +If the image has exactly the same name as the appit will be used as the app icon
  
-So for example to access an image called "MyImage.png" that you uploaded to the Images folder you should use the code:+e.g. if your script is called “MyApp” the icon should be “MyApp.png”. 
 + 
 +That's the same whether your app is a .js or .html based app. 
 + 
 +(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 
  
-<code>imgMyImage = app.CreateImage( "Img/MyImage.png" ); 
-</code> 
getting_started/wifi_ide.1412757720.txt.gz · Last modified: 2014/10/08 16:42 (external edit)