[Lazarus] Android NDK

Sven Barth pascaldragon at googlemail.com
Mon Jul 26 15:20:57 CEST 2010


Hi!

On 26.07.2010 14:37, Michael Schnell wrote:
> Android allows for doing "native" applications for Android powered
> devices (insted of doing APPs in Java)
>
> http://developer.android.com/sdk/ndk/index.html
>
> Does this mean we can already do such applications with Lazarus ?
>
> Or does it mean that Lazarus eventually could / needs to be enhanced by
> a "Android Wiget Type" to do just this.

If I understand this NDK thing right, you can build native libraries 
that are loaded by your Java application to do some performance critical 
stuff.
You can't access Android's GUI library without going somehow through the 
Darvik VM (the JVM of Android) though. Someone was working on getting 
Mono and C# running on Android, so it might be possible with FPC as 
well, but we'll need to use Java Native Interface for that.

Regards,
Sven




More information about the Lazarus mailing list