[fpc-pascal] Re: JNI crash

2011-11-30 Thread Felipe Monteiro de Carvalho
Link to the related android-ndk thread: http://groups.google.com/group/android-ndk/browse_thread/thread/ba542483f062a828 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listi

[fpc-pascal] Re: JNI crash

2011-11-28 Thread Felipe Monteiro de Carvalho
Aha! It works without registering anything =D Just tested, the first pixel drawing from TForm.OnPaint worked just now =D My error was the function name ... I forgot that you need to rename all JNI functions for every project =( It should not be Java_com_pascal_jnitest_AndroidJNITest_LCLDrawToBitm