[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua for mobile development
- From: Michal Kottman <k0mpjut0r@...>
- Date: Thu, 21 Jun 2012 18:34:57 +0200
On 21 June 2012 18:23, Jose <firstname.lastname@example.org> wrote:
>> and they have to be implemented in their own class, so there will
>> never be a pure-Lua way of developing rich Android applications.
> Why not a LuaJIT-based approach (that overrides the need to know/use Java,
> Objective-C or C#) ? Is that feasible or not ?
You definitely can create an application in C/C++, and therefore also
using Lua / LuaJIT. The problem is that in order to access the GUI,
you need to have a Java class implementing an Activity, which is also
specified in the AndroidManifest and is able to receive Intents (so
that it can be started from the launcher).
After more research, the closest thing I could find are the
NativeActivity  and a tutorial for it .
It allows you to implement functionality in C/C++ without the need to
implement any Java code, so in theory this could be used to create
single-activity Lua applications. Hmm, definitely something I will
look into later...