Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-13 Thread Felipe Monteiro de Carvalho
Hello, On Tue, Dec 28, 2010 at 4:17 AM, Jeppe Johansen jepj...@es.aau.dk wrote: 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

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-13 Thread Jeppe Johansen
Den 13-01-2011 15:58, Felipe Monteiro de Carvalho skrev: Hello, On Tue, Dec 28, 2010 at 4:17 AM, Jeppe Johansenjepj...@es.aau.dk wrote: 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

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-13 Thread Felipe Monteiro de Carvalho
On Thu, Jan 13, 2011 at 4:38 PM, Jeppe Johansen jepj...@es.aau.dk wrote: I think you can put the units there if you want. I can't figure that site out It's a source forge project. I added the files here: http://lazarus-ccr.svn.sourceforge.net/viewvc/lazarus-ccr/bindings/android-ndk/ If you

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-06 Thread Felipe Monteiro de Carvalho
On Tue, Dec 28, 2010 at 7:03 AM, Florian Klämpfl flor...@freepascal.org wrote: What FPC did you use? Just a plain arm compiler with an eabi rtl? Software floating point should be activated too, because most phones have no FPU. I thought 2.3 support now native apps using the android user

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-28 Thread Florian Klämpfl
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

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-28 Thread Jeppe Johansen
Den 28-12-2010 10:03, Florian Klämpfl skrev: 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

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-27 Thread Jeppe Johansen
Den 18-12-2010 11:13, Felipe Monteiro de Carvalho skrev: ahahah, I was writing an answer in my phone, but then gave up. Probably hit the send button by accident. Anyway, yes, I had also seen that one and it is a step in the right direction =) I haven't yet fully understood how this new APIs

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-18 Thread Felipe Monteiro de Carvalho
ahahah, I was writing an answer in my phone, but then gave up. Probably hit the send button by accident. Anyway, yes, I had also seen that one and it is a step in the right direction =) I haven't yet fully understood how this new APIs work, hopefully they are C APIs, if they are C++ APIs then it

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-18 Thread Max Vlasov
On Sat, Dec 18, 2010 at 1:13 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: ... Of course I ignored this and managed to run native programs, but that's another story. Felipe, great to hear, and probably since Android is OSS, your method modified or not will work

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-17 Thread Andrew Haines
On 12/16/10 12:23, Felipe Monteiro de Carvalho wrote: Hello, 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:

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-17 Thread Felipe Monteiro de Carvalho
I a On Dec 17, 2010 8:47 PM, Andrew Haines andrewd...@aol.com wrote: On 12/16/10 12:23, Felipe Monteiro de Carvalho wrote: Hello, It might be interesting to know ... The Android 2.3 ndk now has support for a NativeActivity and there is a sample of OpenGL ES native program. quote General

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-17 Thread Andrew Haines
On 12/17/10 15:46, Felipe Monteiro de Carvalho wrote: I a ?? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-17 Thread Robert Wolfe
On 12/17/2010 4:25 PM, Andrew Haines wrote: On 12/17/10 15:46, Felipe Monteiro de Carvalho wrote: I a ?? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal Looks like someone may

[fpc-pascal] Re: FPC programs in Android without JNI

2010-12-16 Thread Felipe Monteiro de Carvalho
Hello, 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: http://wiki.lazarus.freepascal.org/Android_Interface/Android_Programming#Using_the_Android_API_from_Pascal The full