diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-24 14:26:36 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-24 14:26:36 +0200 |
| commit | 8ef54228747d6d7e534953c265cfa95a5489ac0f (patch) | |
| tree | 1b1fe9b420a7ddfad8e7e44d7ad4949263d1395d /Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp | |
| parent | 902f5d6d68ed52d92c089a65823ff49599cd3014 (diff) | |
| download | Tango-8ef54228747d6d7e534953c265cfa95a5489ac0f.tar.gz Tango-8ef54228747d6d7e534953c265cfa95a5489ac0f.zip | |
Modified .NET Transport layer to return TangoMessage<Response> for a request !!!
Diffstat (limited to 'Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp')
| -rw-r--r-- | Software/Android_Studio/Tango.BL/src/main/cpp/native-lib.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
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()); -} |
