Last active
January 4, 2016 07:49
-
-
Save josefnpat/8590695 to your computer and use it in GitHub Desktop.
love-android-sdl2 usage instructions for Arch Linux
The best way to do this:
- Copy the GameActivity to, I don't know, BurgerActivity.
- Make this BurgerActivity class inherit from GameActivity.
- Move the BurgerActivity to wherever you want.
- Change the
android:name="GameActivity"
toandroid:name="BurgerActivity"
in your AndroidManifest.xml.
I know it's not so easy. But it's the secure way to do this.
You can create a script to build the project asking for some params.
@tangzero Thanks! I'll update this guide to reflect that asap!
Can you give a working example of BurgerActivity.java
that will be mostly futureproof? I'd very much like to implement what you want, but I have no familiarity with the codebase.
Unfortuately I lost our convo on how to make a BurgerActivity.java
. Hit me up, run me through it one more time, and I will update the bitbucket wiki page!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very good! So many thanks for the initiative.
But I think that step where you rename all packages is not really necessary. And, based on the changes I'm making in the project, it can break the app.
Some JNI calls are based on the package where the GameActivity lives.