I need working code to transfer screenshot and video files from one phone to the other via bluetooth. This code will need to plug into an existing app which I am developing myself. I do not have time to work on the bluetooth section, so I am looking for some code that functions with the latest sdk versions. This can likely be accomplished with some modifications to someone's existing, working code if available.
- Application will be installed on two phones, A and B
- Phone A will have the files to be transferred and will have an on-boot service running in the background
- Phone B will request a file transfer at any time and receive the files.
- Phones can receive permissions and bluetooth pairing on instillation/initial requests. Subsequent operations must not require any action from phone A. The pull must be initiated and accomplished on phone B only.
Please describe the existing bluetooth code that you can provide and modify to work as described above if necessary.