Re: [fpc-pascal] Android/JNI control example

2014-04-24 Thread patspiper
On 25/04/14 00:12, Felipe Monteiro de Carvalho wrote: There is a JNI example app here: http://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/bindings/android-ndk/examples/jnitest/ It doesn't create a button, instead it creates a TextView, and it doesn't create it in Pascal, but in Java. Anyway, it

Re: [fpc-pascal] Android/JNI control example

2014-04-24 Thread Felipe Monteiro de Carvalho
There is a JNI example app here: http://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/bindings/android-ndk/examples/jnitest/ It doesn't create a button, instead it creates a TextView, and it doesn't create it in Pascal, but in Java. Anyway, it is a starting point to do whatever you want, including c

Re: [fpc-pascal] Android/JNI control example

2014-04-24 Thread patspiper
On 24/04/14 15:50, Mattias Gaertner wrote: On Thu, 24 Apr 2014 15:48:15 +0300 patspiper wrote: Hi, With the successful preliminary implementation of java events calling pascal code, my next step is to try to integrate android's visual controls. Can anyone give a very basic example using pasca

Re: [fpc-pascal] Android/JNI control example

2014-04-24 Thread Mattias Gaertner
On Thu, 24 Apr 2014 15:48:15 +0300 patspiper wrote: > Hi, > > With the successful preliminary implementation of java events calling > pascal code, my next step is to try to integrate android's visual > controls. Can anyone give a very basic example using pascal/JNI only > (even pseudo code) o

[fpc-pascal] Android/JNI control example

2014-04-24 Thread patspiper
Hi, With the successful preliminary implementation of java events calling pascal code, my next step is to try to integrate android's visual controls. Can anyone give a very basic example using pascal/JNI only (even pseudo code) on how to create and display an android control from scratch? In