Skip to content

Usage on the Android devices #69

Answered by desruisseaux
menion asked this question in Q&A
Discussion options

You must be logged in to vote

I do not really know, since I have few experience in Android development. The Android API documentation suggests that this method exists and has the expected signature.

There is a test that we could do. In the bindings.cpp file, around lines 248 to 260 there is this code:

jclass c = env->FindClass("java/util/logging/Logger");
if (c) {
    java_method_log = env->GetMethodID(c, "log", "(Ljava/util/logging/Level;Ljava/lang/String;)V");
    if (java_method_log) {
        c = env->FindClass("java/util/logging/Level");
        if (c) {
            java_field_debug_level = env->GetStaticFieldID(c, "FINE", "Ljava/util/logging/Level;");
            if (java_field_debug_level) {
                jav…

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by menion
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@desruisseaux
Comment options

@JigneshPiZone
Comment options

@desruisseaux
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants