delphi/firemonkey: how to implement a callback in the Activity?


I need to implement this function :

JActivity = interface(JContextThemeWrapper)

procedure onRequestPermissionsResult(requestCode: Integer; permissions: TJavaObjectArray<JString>; grantResults: TJavaArray<Integer>); cdecl;

but how to do this ? this function is only to receive event, so i must override it, but i have no idea how to do it.

Comments are closed.