Android Question Video in Meta Quest 2

IdasI4A

Active Member
Licensed User
Longtime User
With B4X I was able to make an app for Meta Quest2. When I run the application, a mobile emulator appears showing the app.
I would like to be able to launch a video from the app, but I would like it to be displayed on the whole of the glasses and not only on the emulator.
Can anyone tell me how to do this?
Thanks
 
I have tried with:
B4X: Copy
Dim in As Intent
in.Initialize(in.ACTION_VIEW, FileName)
in.SetType("video/*") ' res.MimeType)
StartActivity(in)
But I can't get the video to play.
In ‘filename’ is the name of a video, that if I select it from outside the app, it is seen in ‘full screen’.

Any suggestions?
 
Upvote 0
Back
Top