Using an arduino bluetooth module (HC-06) to control media playback on android

Hello! Me and my brother are trying to build something that approximates this (it's for a school project)

Basically you pair your android phone to the cars' stereo with bluetooth and then you pair this little device to your phone and you can play/pause skip tracks on your phone which in turn controls the music on your car stereo.

Using an arduino and a HC-06 bluetooth module. We've managed to connect the module up to the phone and we can also send serial data to the phone with the serial monitor on our PC and use a bluetooth monitor on the phone to see the data. The problem now is that we don't really know what the next step is. We figure that programming buttons on the arduino to send commands via serial is doable.
But what data should we send to the phone in order to control playback?

We've thought about using Tasker but we''ve sort of ran into a wall there because we don't know how to set up tasker so that it does something when it recieves bluetooth serial data.

has anyone built anything like this before? Many thanks! :slight_smile:

maxsil:
Basically you pair your android phone to the cars' stereo with bluetooth and then you pair this little device to your phone and you can play/pause skip tracks on your phone which in turn controls the music on your car stereo.

You imply that the phone is paired with car's stereo
also
You imply that the phone is paired with this little device

That is actually OK, but I bet you are using the term loosely. Don't expect the phone to simultaneously communicate with the thingy and the radio. I also submit you should think more closely into what this is about. It appears to be just a pointless intellectual exercise, where the phone is redundant. It might make sense if the phone supplies music to the radio, but you don't say that. You might then have the thingy control the phone, no Arduino required.