Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Compiling to Android Java Code

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Schnell

The FPC team is working on enabling the compiler to create (Android) Java code.

Now the Wiki Page http://wiki.lazarus.freepascal.org/Android_Interface does not yet seem to reflect this.

Here we read:

* method 1> Write the Pascal application as a library connected to the Java application via JNI
* method 2> Write the Pascal application as an executable and connect it to Java via pipes or sockets

Is it planned to (additionally ? ) do a Lazarus Widget Type that uses Dalvik code and thus creates a "normal" Android App ?

Thanks,
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110905/d4c6fd59/attachment.html>

Reply by email

Sven Barth
to Michael Schnell
Michael Schnell wrote 16 lines
The FPC team is working on enabling the compiler to create (Android) Java code. Now the Wiki Page http://wiki.lazarus.freepascal.org/Android_Interface does not yet seem to reflect this. Here we read: * method 1> Write the Pascal application as a library connected to the Java application via JNI * method 2> Write the Pascal application as an executable and connect it to Java via pipes or sockets Is it planned to (additionally ? ) do a Lazarus Widget Type that uses Dalvik code and thus creates a "normal" Android App ?

First it needs to be checked whether its feasible to implement the needed units from RTL and FCL to compile LCL at all for the JVM platform... currently basically everything from the RTL and the FCL is missing besides some things like string handling routines and threading.

Regards,
Sven

Reply by email