Forum Discussion
NateJ_Wave
2 years agoExplorer
Opening the Quest Files app from within my app
We have written Java code that correctly inserts jpgs into the Quet media gallery. The code is very much what you would do in any Android app,
public void run()
{
Bitmap bitmap = BitmapFactory.decodeFile(location);
MediaStore.Images.Media.insertImage(getContentResolver(), bitmap, title, description);
}
If you then manually go into the Files app you then will see the new image under Recents.
However, that requires the user to do a few steps - pressing the Oculus menu button on their controller, finding the Files app, etc. We would like to be able to open the Files app automatically.
Something like this brings up a blank or unusable Files app that appears to be different than one which the user can access:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setType("image/*");
startActivity(intent);
What is the best way to open the correct Files app on a Quest? We are specifically using a Quest 3 with the latest updates.
No RepliesBe the first to reply
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years agoAnonymous