Hi,

Is it possible to implement using JNI java events callbacks without writing java code? For example, the android media player defines:

setOnCompletionListener(MediaPlayer.OnCompletionListener listener)
which registers a callback to be invoked when the end of a media source has been reached during playback.

How can a pascal method be assigned to that callback so that it is called when the end has been reached?

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

Reply via email to