Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is there a technical difference, which C++ file access a java file via JNI?
Forum Updated to NodeBB v4.3 + New Features

Is there a technical difference, which C++ file access a java file via JNI?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 175 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Flaming Moe
    wrote on 9 Oct 2023, 18:52 last edited by
    #1

    Hello there,

    I´m wondering, when accessing java code from c++ files via JNI, is there a technical difference, which of the c++ files is used to access?

    Am sorry, that I can´t state the question more specific.
    E.g. when it´s about a c++ file belonging to a class with a .ui file and in the java code something is done with Android´s WindowManager - can there be different scopes depending from where the java code is called?

    best regards!

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    J 1 Reply Last reply 10 Oct 2023, 19:52
    0
    • F Flaming Moe
      9 Oct 2023, 18:52

      Hello there,

      I´m wondering, when accessing java code from c++ files via JNI, is there a technical difference, which of the c++ files is used to access?

      Am sorry, that I can´t state the question more specific.
      E.g. when it´s about a c++ file belonging to a class with a .ui file and in the java code something is done with Android´s WindowManager - can there be different scopes depending from where the java code is called?

      best regards!

      J Offline
      J Offline
      JoeCFD
      wrote on 10 Oct 2023, 19:52 last edited by
      #2

      @Flaming-Moe I use QAndroidJniObject::callStaticObjectMethod of Qt 5.15.2.

      1 Reply Last reply
      0

      1/2

      9 Oct 2023, 18:52

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved