diff options
Diffstat (limited to 'Software/Android_Studio/Tango.BL/src/main/cpp')
4 files changed, 0 insertions, 46 deletions
diff --git a/Software/Android_Studio/Tango.BL/src/main/cpp/Android.mk b/Software/Android_Studio/Tango.BL/src/main/cpp/Android.mk deleted file mode 100644 index e69de29bb..000000000 --- a/Software/Android_Studio/Tango.BL/src/main/cpp/Android.mk +++ /dev/null diff --git a/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.cpp b/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.cpp deleted file mode 100644 index 50d6304dd..000000000 --- a/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// -// Created by Roy on 11/5/2017. -// - -#include "OtherClass.h" - -string OtherClass::getString(string str) { - return str; -} diff --git a/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.h b/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.h deleted file mode 100644 index 0efe65b71..000000000 --- a/Software/Android_Studio/Tango.BL/src/main/cpp/OtherClass.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// Created by Roy on 11/5/2017. -// -#include <string> - -using namespace std; - -#ifndef ANDROID_STUDIO_OTHERCLASS_H -#define ANDROID_STUDIO_OTHERCLASS_H - - -class OtherClass { - -public: - string getString(string str); -}; - - -#endif //ANDROID_STUDIO_OTHERCLASS_H diff --git a/Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp b/Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp deleted file mode 100644 index c7317d615..000000000 --- a/Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include <jni.h> -#include <string> -#include "OtherClass.h" - -extern "C" -JNIEXPORT jstring - -JNICALL -Java_com_twine_tango_bl_Example_getString( - JNIEnv *env, - jobject /* this */) -{ - - OtherClass c; - - std::string hello = "Hello from C++" + c.getString(" Some String"); - return env->NewStringUTF(hello.c_str()); -} |
