If I use a simple code from Java and it get serial number of android device, now how do I use the Java file in PHP code and when the user clicked a button, my php code uses the Java file and gets the serial number.
Note: I do not want to use Tomcat server and I want to use Apache server only.