Skip to content

Commit

Permalink
update android config file
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalgust committed May 14, 2024
1 parent 89e3058 commit eeb0598
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mobile/androidapp/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ elseif (IOS)
)
endif()

set(MINIJVM_APP_ORGANIZATION_IDENTIFIER "com.eglsgame")
set(MINIJVM_APP_ORGANIZATION_IDENTIFIER "org.minijvm")
set(MINIJVM_APP_VERSION "1.0")
set(MINIJVM_APP_VERSION_ITERATION 1)
set(MINIJVM_APP_ASSETS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/assets)
Expand Down
9 changes: 9 additions & 0 deletions mobile/androidapp/local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Sun Jun 04 14:18:24 CST 2023
ndk.dir=D\:\\android-sdk\\android-sdk-windows\\ndk-bundle
sdk.dir=D\:\\android-sdk\\android-sdk-windows
4 changes: 2 additions & 2 deletions mobile/c/glfm/glfm_platform_android.c
Original file line number Diff line number Diff line change
Expand Up @@ -2298,8 +2298,8 @@ int openOtherApp(const char *curl, const char *more, int detectAppInstalled){
jstring jstrMore = (*jni)->NewStringUTF(jni, more);

glfm__callJavaMethodWithArgs(jni, app->activity->clazz, "openOtherApp",
"(Ljava/lang/String;Ljava/lang/String;I)I", Integer, jstrUrl, jstrMore, detectAppInstalled);
(*jni)->DeleteLocalRef(jni, jstr);
"(Ljava/lang/String;Ljava/lang/String;I)I", Int, jstrUrl, jstrMore, detectAppInstalled);
(*jni)->DeleteLocalRef(jni, jstrUrl);
(*jni)->DeleteLocalRef(jni, jstrMore);
glfm__clearJavaException()
}
Expand Down

0 comments on commit eeb0598

Please sign in to comment.