Am 28.12.2010 04:17, schrieb Jeppe Johansen:

>>
> They are C APIs indeed. I just took a stab at it, and after a long day
> of pointer errors in converted C code and really, really badly
> descriptions of error messages, I managed to port the example from here
> http://developer.android.com/reference/android/app/NativeActivity.html
> to FPC

What FPC did you use? Just a plain arm compiler with an eabi rtl?

> The NativeActivity class allows you to load a shared library and run an
> exported method without any Java code at all. Then it's just a matter of
> converting all the required Android headers, and repurposing the
> existing Unix units(lots of libnames are different) and you can have a
> pretty non-hacky interface to lowlevel stuff from FPC.
> 
> Of course this doesn't solve any of the user interface problems, but I'm

I thought 2.3 support now native apps using the android user interface?

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to