.examples improved Android builder example

git-svn-id: svn://ultimatepp.org/upp/trunk@8659 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2015-07-09 20:12:31 +00:00
parent 1a7978c094
commit 2dc6459f34
7 changed files with 150 additions and 80 deletions

View file

@ -4,12 +4,12 @@ public class AndroidMath
{
private AndroidMath() {}
// Native stuff - C/C++
public static native int power(int number, int n);
static {
// In this place we are loading native libraries.
// Native library always has upp package name!
System.loadLibrary("AndroidMath");
}
// Native stuff - C/C++
public static native int power(int number, int n);
static {
// In this place we are loading native libraries.
// Native library always has upp package name!
System.loadLibrary("AndroidMath");
}
}