I'm developing an Android app that communicates with a microcontroller via Bluetooth. I am able to pair and connect with it but I want to send a file that I've downloaded through the Android browser through Bluetooth.
Although, the file type that I hosted online and downloaded is a custom file type that Android does not recognize.
I've read and tried the solutions in this thread: Register new file type in Android
but had no luck. I tried adding the intent-filter but I had a feeling it had to do with the Android file system and not my app itself.
Is there anything that I'm doing wrong? What would be the best way attack this?
tl;dr: How do I get Android phones to recognize my custom file type so that it can be used? (My phone does not allow it to be downloaded since it does not recognize the file type).