Replies: 2 comments 8 replies
-
I'd probably not recommend using StereoKit's androidActivity, there's a couple different paths I use to collect the Activity, and it may not always be present. Not to mention the IntPtr thing 😅 I'd recommend using |
Beta Was this translation helpful? Give feedback.
-
After a couple of hours more trying to figure out what is wrong I'm not much further, unfortunately. Deploying to a Quest 3 gives the same SIGABRT, but slightly more info in the logcat output:
Apparently somewhere an illegal argument is passed, causing an (unexpected) exception, causing the abort. This is with this simple standalone test code:
Any tips appreciated |
Beta Was this translation helpful? Give feedback.
-
I'm trying to get a (coarse) location on a Magic Leap 2, just once at application startup is enough. As far as I can tell one way to get location information is to use a LocationManager (or here for Quest 3) object.
This seems pretty straight-forward, but I get a crash (SIGABRT, looking at the logcat output) at the last line when launching the app on the ML2.
I'm not very familiar with Android development, so I'm probably doing some stupid things. Yet, I'm wondering if the
androidActivity
is indeed what I think it is and if I'm using it in the right manner? Has someone done something similar on Android already?Beta Was this translation helpful? Give feedback.
All reactions