This program is meant for demonstration of the technique only. It doesn't do many checks and may fail if not all prerequisities are met. Those are:
* Your Android device has USB OTG support buit in
* Your Android device IS ROOTED
* The camera is connected to your Android device via USB OTG cable and cable provided with your camera
* The camera is turned on
After all the requrements are met, click "Debug on" or "Debug off" button. You might be asked to allow root privileges for the program. Select "Allow". Wait a second or two. You may see camera lcd flash. Turn off the camera and disconnect it from your Android device. Turn on the camera. You will be in debug mode (or the debug mode will be disabled, depends on the button you clicked).
The code is based on open source project pkTriggerCord and some adaptations to it were done by me.
Disclaimer: USE AT YOUR OWN RISK. I WILL NOT BE HELD RESPONSIBLE IF YOUR CAMERA OR YOUR ANDROID DEVICE STOPS WORKING OR EXPLODES!
Please leave a comment if it works with your camera.
The source code of modified pkTriggerCord is available at: https://github.com/samop/pktriggercord