background image
Original Author Paul Laughton, 2011
Page 228
De Re BASIC!
For more complex projects, here is another way to do it.
1.
In the Eclipse Package Explorer, expand your program's assets folder.
2.
If you have a my_program.bas in your assets folder, delete it.
3.
In a file browser, browse to the file containing your program.
4.
Drag your program from your file browser to your assets/<your-app>/source folder in Eclipse.
5.
If your program uses INCLUDE files, drag them to the source folder, too.
With either method, you now have a program to run. If your program uses graphics, audio files, or other
resources, you must put them in your Android assets folder, too.
If your program uses data files, drag them to your assets/<your-app>/data folder.
If your program uses data base files with the ".db" extension, create a new folder for them called
assets/<your-app>/databases and drag your file into the new folder.
The result might look something like this:
Notice that the top folder in assets matches the "app_path" value, and there is a program in its source
folder named the same as the "my_program" value.
Application Icons
Android specifies that Application icons must be provided in specific sizes: low dpi (36x36 pixels),
medium dpi (48x48 pixels), high dpi (72x72), x-high dpi (96x96), and so on. The icons must be .png files.
There are tens of thousands of free icons available on the web. Most image editing programs can be