Originally Posted by kodomo
Side product of my first steps using the SDK:
I've hacked a few simple applications that may serve as ui primitives when scripting.
There's an application to open a message window, an application to open an input dialog, and an application to open a confirmation request window.
Moreover, there's an example script using these to allow input of a simple noninteractive shell command and to output its result.
Maybe the hacks will be of use to someone.
Source and binaries attached.
I made an additional scripting primitive, a filebrowser
. It is basically the filebrowser from peter-x's scribble application made into a standalone application. Currently is is limited to selecting files, i.e. no directories can be selected. Furthermore, I made an example script which can be used to open any file with the built in text editor (in the current implementation of the boox ui one can only access txt files in the directory "text editor" on either the flash or the sd. With the script "textedit_open.oar" you can edit files anywhere, also in your root filesystem so you can easily edit configuration files. As usual: use at your own risk.
1: Unpack the files to your device.
2: Run install_primitives.oar