From 8ef54228747d6d7e534953c265cfa95a5489ac0f Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 24 Dec 2017 14:26:36 +0200 Subject: Modified .NET Transport layer to return TangoMessage for a request !!! --- .../Tango.BL/src/main/cpp/native-lib.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp (limited to 'Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp') 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 -#include -#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()); -} -- cgit v1.3.1