Added Android builder juicy example

git-svn-id: svn://ultimatepp.org/upp/trunk@8640 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2015-07-07 21:52:43 +00:00
parent 20ee1a9a47
commit 99222001cf
15 changed files with 439 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#include <string.h>
#include <jni.h>
#include <AndroidMathUtility/AndroidMathUtility.h>
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_upp_AndroidMath_AndroidMath
* Method: power
* Signature: (II)I
*/
JNIEXPORT jint JNICALL Java_org_upp_AndroidMath_AndroidMath_power
(JNIEnv *, jclass, jint number, jint n)
{
return AndroidMathUtility::Power(number, n);
}
#ifdef __cplusplus
}
#endif