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

getting_started:wifi_ide [2018/02/24 14:18]
107.77.245.6 [Wifi Ide]
getting_started:wifi_ide [2018/02/24 22:21]
Line 1: Line 1:
- 
- 
- 
- 
- 
- 
- 
-==== 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 ==== 
-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”. 
- 
-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  
  
getting_started/wifi_ide.txt · Last modified: 2018/02/24 22:21 (external edit)