Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send key commands wirelessly to Mac from Android app

I am looking into developing an Android app that sends key commands to a Mac wirelessly.

To do this I am trying to find a way of using an Android device (either a smartphone or tablet) as a bluetooth keyboard for the the Mac. When a button on the screen of the phone/tablet is pressed, it would send a user assigned set of keystrokes (for example "Command + Shift + A + B") to the Mac.

These keystrokes would then run a keyboard shortcut that the user had already set up in the running application on the Mac (exactly as if the user had pressed "Command + Shift + A + B" on the actual keyboard).

Does anyone know how I would have to go about setting up this bluetooth connection? If any other wireless connection type would be more suitable, which also does not require the installation of software on the Mac please feel free to suggest them also.

like image 352
Drillzx Avatar asked Mar 10 '26 09:03

Drillzx


1 Answers

This would require certain permissions on a Mac that would not be possible without installing additional software, because essentially you're talking about establishing a remote desktop connection. This is by no means impossible, but frankly, it's already been done. Check out TeamVeiwer and BetterTouchTool. Both of these allow configuring different keyboard shortcuts between mobile devices and desktops. Hope this helps!

like image 147
solarbabies Avatar answered Mar 12 '26 23:03

solarbabies



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!