What is doroLuarida
DoroLuarida is an application to package the files needed to run a Lua script.
Lua is a light and fast scripting language that has been developed for embedded devices.
With doroLuarida, you can create applications that run on Android by writing a script.
To run Lua scripts on Android, it needs an application Luarida.
Luarida is developed by Minao YAMAMOTO also known as Tarosa, and allows to execute Lua scripts on Android.
Luarida offers many functions to control the Android, so you can create GUI applications with Lua scripts.
Note, if you run doroLuarida in a device with Luarida not been installed,
the dialog is displayed and prompts you to install.
Android Market - page of Luarida
Dorokuri will use the default resources (icon images, ZIP file etc), if you don't upload doroLuarida files.
| Basic Information | |||
|---|---|---|---|
| APK file name | Specify file name of your application. | ||
| Application name | Specify the name that shown with icon on home screen. | ||
| Icon image | Select the image file of icon. PNG format image files (72 * 72pixels) are required. | ||
| Material data | |||
|---|---|---|---|
| ZIP file |
Select the ZIP file containing the Lua script and images, audio files. Please note that images can not be displayed if the image names are not the same as follows (if you create a script, this shall not). [ Rules for creating a ZIP file ] Folder ∟ template.lua ∟ img_1.jpg ∟ img_2.jpg ∟ img_3.jpg ∟ img_4.jpg * Please create Lua scripts with UTF-8 without BOM. * Please upload the ZIP file under 49M bytes. * You can obtain the template ZIP file from sample. |
||
| Option | |||
|---|---|---|---|
| Make public | If checked, anyone can down load your application. Not checked, no one can down load your application except you. | ||
If you create own a Lua script, please note the following two points.
1. Placement of a Lua script to start
2. Reference path to files
The following provides an example of a ZIP file when you upload to the server.
When you create applications in a web page of dorokuri, doroLuarida is generated containing a ZIP file as above. When you install doroLuarida to the Android phone and run, the ZIP data will be decompressed to the SD card.
If there are multiple Lua scripts in the folder extracted at the SD card,
a Lua script which is the top-level hierarchy will be loaded in preference.
So, a Lua script that you want to start should be placed at top-level hierarchy.
In the above figure, first.lua will be loaded.
The files (such as images) must be identified with an absolute path on a Lua script.
Using the functions (system.getAppPath) provided by Luarida,
you can retrieve the file path of a running Lua script itself.
Please specify absolute paths to identify the file by using this function.
The grammar or the methods of Lua or Luarida, please refer to the following pages.
Lua: reference manuals
Luarida reference(Japanese)
| Material data | |||
|---|---|---|---|
| ZIP file |
Download | ||
This sample is a picture book having branches.
In this template script, if you tap the left half of the img_2.jpg, the next image is img_3.jpg. And if you tap the other half, the next image is img_4.jpg.
When using this standard script, doroLuarida is a picture book packing four images, but you can create more complex applications by uploading your own script.