Hello,
Welcome to our Microsoft Q&A platform!
I know I can change the default on the device itself but I'd like to be able to do it from my app, is this possible?
Sorry, it's not possible. Google doesn't support to swich to the MTP mode for a device programmatically because the beavior may cause a huge security vulnerability. This mode can only be enabled manaually.
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.