Commit graph

18 commits

Author SHA1 Message Date
Daniel Kochmański
46693c9b31 android/example: add .gitignore 2015-10-28 19:59:24 +01:00
Daniel Kochmański
458b52e70d android/example: simplify example even further
Remove the menu. Adjust AndroidManifest.xml
2015-10-28 18:40:05 +01:00
Daniel Kochmański
546b06b7b1 android/example: adjust README a bit 2015-10-28 18:28:14 +01:00
Daniel Kochmański
fd7547aaa6 android/example: simplify the example
This is just a "Hello world" example. Simplify it and improve the
readme. More feature full application may be found at:

https://gitlab.common-lisp.net/ecl/ecl-android
2015-10-28 17:24:55 +01:00
Daniel Kochmański
4ee8e62135 android/example: cosmetic: indent / untabify 2015-10-26 11:13:48 +01:00
Daniel Kochmański
5e2edcae92 android/example: don't add *.a to assets
This files shouldn't be copied. They are big, duplicate binaries in fas
files and are no use without the gcc compiler on the target system.

Also clean assets directory on the clean target and use a symblink
`ecl-libdir' to access the libraries directory.
2015-10-26 10:13:28 +01:00
Daniel Kochmański
8af6929bc8 android/example: add short name for the launcher 2015-10-26 10:13:08 +01:00
Daniel Kochmański
a61a0cb0a3 android/example: minor tweaks with the build
Add some menu stubs, icon, change application name, remove generated
file, some indentation fix.
2015-10-25 22:57:25 +01:00
Daniel Kochmański
5ccf29f697 android/example: add the build.xml file
`-post-compile' target is customized to copy necessary files to the assets
directory from the installed ecl-android/ directory.
2015-10-25 21:22:05 +01:00
Daniel Kochmański
ade07de762 android/example: adjust sdk versions
Set minimal API to 2 and the target API to 23. It covers virtually all
devices present on the market.
2015-10-24 09:29:17 +02:00
Daniel Kochmański
66f79450bc android/example: cosmetic ecl_boot tweaks
Unify comment style, change some LOGI messages and wrap the long lines.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
899a88a727 android/example: clean up the init scripts
Move the ASDF cache initialization below it's inclusion and don't be so
noisy with swank.

Also add the function sysinit which downloads and installs the Quicklisp
and replaces it's interpreted gunzip with our precompiled deflate.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
35a6e91488 android/example: use ecl shared library
Don't statically link with the ECL. Use libecl.so instead. Thanks to
that we don't have to link explicitly with each module we want to use
and the whole process is simpler.
2015-10-23 18:18:58 +02:00
Daniel Kochmański
221c58b51b cosmetic: remove unndecessary message 2015-10-23 18:18:58 +02:00
Daniel Kochmański
b8edd5cda8 android: arrange resources directory
Separate different directories for the resources.
 #P"SYS:" -> #P"lisp/lib" - ECLDIR with the modules
 $HOME -> lisp/home       - user provided files, quicklisp, 3rd party contribs
           lisp/etc       - init scripts and the configuration
2015-10-23 18:17:09 +02:00
Daniel Kochmański
2e86acd398 mobile: fix initializing the required modules 2015-10-23 18:16:50 +02:00
Daniel Kochmański
7280f14f55 mobile: fix compilation of android app from examples/
Don't use C99 specific syntax for `for' loop and use functions
lib_init_* instead of main_lib_init_* which aren't exported.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-10-23 18:16:50 +02:00
Evrim Ulu
641a12b4e1 mobile: add sample android application (HelloECL)
Developed by Sylvain Agenau, added to the repository by Evrim Ulu with
a few minor fixes by Daniel Kochmański.
2015-10-23 18:16:38 +02:00