SCENARIO
I bought this selfie stick, which comes with a Bluetooth remote control. When I connect remote control with my phone, and press capture button it take photo from a distance.
PROBLEM
I lost that remote control and I am having this idea to
Connect two Android phones via bluetooth.
The mobile which is in tripod will be treated as Master
While the phone which I will be using as Remote will be called Slave
.
PREVIOUS WORK
I can connect two android mobiles and successfully send commands, send bytes of data or even send strings as abc
How to send command in Android via Bluetooth?
How to send Android commands via Bluetooth?
FUTURE WORK
But the problem is:
What is the command use for capturing photo in other device.
I know it should be Volume Down
button for some mobiles.
So my question is:
How to send Volume Down
command from Slave
android phone to Master
android phone.
Ref:
"KEYCODE_VOLUME_DOWN"
input keyevent 25 #vol down