Trivial NDK example adapted from Gradle samples