Open an app on my android phone using Arduino

Hey,
My end goal is to have a button in my car. Whenever I press the button, I want an app on my phone to open (specifically Shazam).
I tried searching about it on the web but could not find any helpful information.
Is this possible to perform with an Arduino as the button?
Do you have any other suggestions maybe?

Thank you :hugs:

The main problem is how Arduino could start an app on your phone.

A solution could be using a Bluetooth connection between Arduino and the phone. An app (e.g. made with app Inventor?) constantly checks for that specific BT device connection to be established, then listens the incoming data: when the button on Arduino is pressed it sends via BT a command (just a single specific character/byte is enough). When the app receives and recognizes the command, starts another pre-defined app.

Well, I don't know if App Inventor can run another app (maybe for Android security reasons), but it's the first and only solution I can imagine at the moment.

If you could launch any random app over BT without a special app that would be a security flaw !

If your car has a button to speak to your phone you could ask Google “ Hey Google , what's this song

If not you could emulate that with BT

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.