Java Android App Layout and Positioning

Hello,

I have developed an Android Java application for the Magic Leap that displays the feed from an external camera to the display. The intended functionality is for this camera feed to cover as much of the user's field of view as possible and to overlay over the objects in the user's FOV. The camera will be mounted on the Magic Leap so it sees from the same perspective that the user sees, and the camera feed should be headlocked, ie. follow the user as they move their head around rather than floating in a specific position.

By default, the Java app replaces the home menu, and so is floating in one place rather than being headlocked. Additionally, the app screen appears to crop down to a small size so that if I size up the camera feed ImageView in Android Studio it gets cropped into the smaller window. Is there any way to achieve the intended functionality to headlock the app and size up the window for a larger video feed that fills the entire Magic Leap 2 device FOV?

Thank you,
Cooper

Hi @coop

I can share your use case with our voice of customer team, however we only provide basic support for rendering 2D applications on our headset. Currently there is no way to adjust the size or behavior of 2D applications.

I recommend creating a spatial OpenXR application. These applications render across the full display rather than being limited to the smaller, 2D panel.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.