Re: [fpc-pascal] java events calling pascal code vs java calling library.

2014-04-25 Thread fredvs
Many thanks Stephano.

 as my java exposure started only a few days ago.

Same for me. I have successfully adapt some of my fpc native libraries into
Java-native libraries.
Im extremely happy with the result, all the functions/procedures are
exported and working. Even callback procedures.

I am only blocked how to create a Java wrapper class for those libraries...
All Java , code-guru, stackoverflow forum cannot help me...

Without that library wrapper class, i have to declare all the native
methods of the library inside the main Java class.

But it works perfectly...



-
Many thanks ;-)
--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/java-events-calling-pascal-code-vs-java-calling-library-tp5719036p5719050.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] java events calling pascal code vs java calling library.

2014-04-25 Thread leledumbo
 All Java os (Android and friends) can only deal with Java class. 

Wrong.
http://developer.android.com/reference/android/app/NativeActivity.html (not
a single line of Java required)




--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/java-events-calling-pascal-code-vs-java-calling-library-tp5719036p5719064.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal