Android Native Activity Support |
Android Native Activity Support |
hardcoredaniel
Guest
|
Well, if I understand things correctly, then "NativeActivity" is a simple "pre-compiled Java Activity" that native code might link against, if it wanted to avoid any Java coding. In that case, all Android lifecycle handling must be done in the native code as well (e.g. all the stuff that SDLActivity.java currently does would have to be ported, roughly speaking). Finally, there wouldn't be much of a difference from a technical view, you would still build & run an app.
I don't know how good debugging support for the native code is in Android Studio now, I was only using "ndk-gdb" from the command line. Regards, Daniel ---------- Původnà zpráva ---------- Od: maartenengels Komu: Datum: 26. 11. 2016 22:38:05 Předmět: Re: [SDL] Android Native Activity Support
|
|||||||||||||
|
maartenengels
|
Well you can include CMake list in your build, you can actually use Android studio to debug your application, you can handle files and other utilities directly from c++ without having to go to the java code.
I see a lot of + in this way. Regards, Michael |
|||||||||||
|