-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the NDK_Demo wiki! Here you can find the git repo of the demo I presented at the Ji-V Hack event on Saturday, June 25th. I will be posting the presentation as well, but for now, you can at least pull down this source code and get started if you have the NDK and related tools set up on your machine.
Android SDK Android NDK Cygwin Java JDK (not just JRE) Eclipse IDE
'''Note:''' You will either need to get the C/C++ flavor of Eclipse, or install the CDT package to get C/C++ editing in the IDE for the NDK code you will write. Additionally, follow the Android dev site's instructions for setting up the SDK, which will include installing the Android plugin for Eclipse, etc. through the Eclipse IDE once it's set up. Of course, you'll also probably need an Android phone, as I haven't tested the audio hardware stuff with the emulator (although this MAY work, but will likely be slow on the emulator, so it might not work well anyway)
The threads in this demo application are not correctly able to restart currently, unless we make sure they are completely gone by the next time the main activity loads, so for the moment this is simply hacked via calling finish() on the main activity at pause and stop.