From dcc232033208ad25606b86c6f89ad43d3bb28ed9 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sun, 15 Dec 2019 14:47:14 -0500 Subject: [PATCH] Switched from Method-base JNI class construction to Field-base JNI class construction. Was dealing with some issues with returning a Java/Kotlin class from a C/C++ class. --- app/app.iml | 8 +- app/build.gradle | 1 - app/src/main/cpp/CMakeLists.txt | 8 +- app/src/main/cpp/Demo.cpp | 688 +----------------- app/src/main/cpp/Demo.h | 80 --- app/src/main/cpp/Demo.hpp | 714 +++++++++++++++++++ app/src/main/cpp/repository/SongRepository.h | 6 + build.gradle | 2 +- 8 files changed, 728 insertions(+), 779 deletions(-) delete mode 100644 app/src/main/cpp/Demo.h create mode 100644 app/src/main/cpp/Demo.hpp diff --git a/app/app.iml b/app/app.iml index dac30dd..a44adb5 100644 --- a/app/app.iml +++ b/app/app.iml @@ -4,8 +4,8 @@ @@ -30,11 +30,11 @@ - +