I'm trying to figure out how to get the native activity in my app code. For example, when I want to get access to my app's internal files directory. The [activity_as_ptr](https://docs.rs/android-activity/0.6.0/android_activity/struct.AndroidApp.html#method.activity_as_ptr) method looks promising, but that code causes an error: ```rust let activity = unsafe { JObject::from_raw(app.activity_as_ptr()) }; ``` ```text error[E0308]: mismatched types --> my-app/src/lib.rs:75:47 | 75 | let activity = unsafe { JObject::from_raw(app.activity_as_ptr()) }; | ----------------- ^^^^^^^^^^^^^^^^^^^^^ expected `*mut _jobject`, found `*mut c_void` | | | arguments to this function are incorrect | = note: expected raw pointer `*mut _jobject` found raw pointer `*mut c_void` ```