mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.examples improved Android builder example
git-svn-id: svn://ultimatepp.org/upp/trunk@8659 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1a7978c094
commit
2dc6459f34
7 changed files with 150 additions and 80 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue