mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Added Android builder juicy example
git-svn-id: svn://ultimatepp.org/upp/trunk@8640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
fed8410797
commit
8bca4ca3f1
15 changed files with 439 additions and 0 deletions
15
examples/AndroidMath/AndroidMath.java
Normal file
15
examples/AndroidMath/AndroidMath.java
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package org.upp.AndroidMath;
|
||||
|
||||
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");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue