Hi Everyone,
I'm doing a little cybersecurity research at my university this semester, and one of the projects I'm working on with my professor is a "bluetooth speaker" which looks and acts exactly like a speaker, but in theory can dump your phone contacts/SMS messages in the background and store them somewhere. I'm currently using an Adafruit Huzzah32 ESP32 module to handle bluetooth communication.
So far, I can create a dinky little bluetooth server and connect to my Android phone, but all of the tutorials and information I can find online involve coding an Android app to handle the serial communication. My question is: If I can connect to an Android device, is there some public API or other methodology I can use to access that information short of coding my own app? In my mind, I imagine a victim device streaming from spotify on their phone to the speaker while this is happening.
I understand that this is extremely naughty and not really a beginner project/ Can prove I'm doing this academically if need be. Really just trying to understand what this process would look like if it is indeed possible. My professors can help me with the exact implementation if someone can give me a rough roadmap of what this would look like in practice. Thank you for any responses in advance.