Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-40537

Android: Create examples/templates for interacting with the Java side

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.4.0
    • Examples and Demos
    • None
    • Android

    Description

      After http://qt-project.org/forums/viewthread/45673/

      Android controls in 5.4 become good enough for actually building apps (unless you need a web view), but many (most?) of real apps will need an interaction with the rest of the system the native way. The most common/important cases are probably Android sharing to/from app, login/signup (with Twitter/Facebook/G+) and maybe accessing the system databases of images/thumbnails/music. All of that is already possible via JNI, but:

      1. Default QtC wizard (in 5.3 at least) generates Java code into a build directory that makes it hard to store, modify and maintain
      2. Since Java world is not native for Qt people, proceeding without examples is hard

      So it would be great and would actually help a lot with creating real Android apps to have some copy-pastable examples on the topics above and/or similar ones + to make Java code a part of the main source tree.

      P.S.
      Same is needed for iOS certainly, but there the lack of Controls is way bigger pain point for now, so not raising the issue yet. Also there are people who seem to be able to integrate native facebook logins on iOS (and Android?) already now, so they might be able/eager to share the code - www.cutehacks.com/blog/2014/06/06/using-qt-to-build-an-omi-app-for-ios-and-android

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            docteam Qt Documentation Team
            artem.marchenko Artem Marchenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes