Skip to content

Conversation

@nicoburns
Copy link
Contributor

We probably can't merge this as-is. But putting this up to track version of CLI that can compile Blitz with GameActivity.

@chtpl
Copy link

chtpl commented Jan 2, 2026

can you explain the context a bit more please? what is this GameActivity necessary for?

@nicoburns
Copy link
Contributor Author

Along with NativeActivity, it's one of two Android Activities that Google provides for native code (i.e. C/C++/Rust) Android apps to use: https://developer.android.com/games/agdk/game-activity. Compared to NativeActivity it provides more advanced functionality.

For Dioxus Native on Android we need to use either NativeActivity, GameActivity, or build our own similar to https://github.com/rust-mobile/android-view. We probably want to do the latter eventually, but getting that right is tricky. In the short-term, GameActivity provides more functionality than NativeActivity.

@chtpl
Copy link

chtpl commented Jan 6, 2026

I'm not familiar with android development - what is the purpose of these Activity things?

@nicoburns
Copy link
Contributor Author

They are the entry point for Android Apps. The OS calls methods on them at various points in the apps lfiecycle.

@jkelleyrtp jkelleyrtp added the cli Related to the dioxus-cli program label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to the dioxus-cli program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants