[fpc-pascal] Re: FPC programs in Android without JNI
AndrewD207 at aol.com
Fri Dec 17 20:46:57 CET 2010
On 12/16/10 12:23, Felipe Monteiro de Carvalho wrote:
> It might be interesting to know that I managed to build a bridge which
> exports the Java API and the Android API to Free Pascal. Check this
> hello world code and screenshot:
> The full code is here:
The Android 2.3 ndk now has support for a NativeActivity and there is a
sample of OpenGL ES native program.
* Adds support for native activities, which allows you to
implement the Android application lifecycle in native code.
* Adds native support for the following:
o Input subsystem (such as the keyboard and touch screen)
o Access to sensor data (accelerometer, compass,
o Event loop APIs to wait for things such as input and
o Window and surface subsystem
o Audio APIs based on the OpenSL ES standard that support
playback and recording as well as control over platform audio effects
o Access to assets packaged in an .apk file.
More information about the fpc-pascal