Use java code in Ionic

I have java code to handle image, now I want to use it in Ionic, are there any way to do that?

To use native code, you will need to call it using the Cordova Plugin system. That is, you will need to write a custom plugin to call your Java code from Ionic.

I will search for how to create a Plugin to use my code. Thank you so much.

I made a cordova plugin but i do not know where to go from there, how to put the function to read Java code, can you help me with that