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. Examples/templates for integrating Android/iOS native code
QtWS25 Last Chance

Examples/templates for integrating Android/iOS native code

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.3k 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.
  • A Offline
    A Offline
    artem.marchenko
    wrote on last edited by
    #1

    Since Qt 5.4 QtQuick controls for Android are becoming quite complete for a lot of apps (with a notable exception of native WebView), iOS is lagging behind, but you can live fine there if you paint your own buttons.

    Interop with native apps
    So we can use our beloved Qt everywhere except when you do need to use native system services and interop between apps. Talking of Android you'll need to integrate with Java APIs for such quite common things as Facebook/Twitter/G+ login/signup, Sharing to Facebook/Twitter/G+, accepting Shared images/whatever from other apps, fetching thumbnails from the system media database (way faster then generating them on demand), having a part of your app running as a background service.

    Proof of concept exists
    To my understanding all of the above except for having a second service/activity in your package is already possible (and e.g. CuteHacks implemented native Facebook login for iOS already - http://www.cutehacks.com/blog/2014/06/06/using-qt-to-build-an-omi-app-for-ios-and-android ), but there is a serious lack of copy-pastable examples/templates/wizards. Even more, current QtCreator wizard (as per Qt 5.3) puts Java part of the code to the build directory that makes it pretty hard to store, modify and maintain.

    How to make good Android/iOS wizards and example a reality?
    So I see a need for a better wizard and several reference examples on integrating native services on Android (and iOS too, but there need for Controls is more hot), hopefully some others see it too.

    What would be a way to draw attention and priorities to it? :)
    Would many comments to this forum thread help?
    Or does it boil down to finding a volunteer to try implement it himself and submit a pull request?

    1 Reply Last reply
    1
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Indeed, the forum is not the best place for these suggestions. Feature suggestions should be posted on the "bug report system":http://bugreports.qt-project.org

      If you can find a volunteer that would implement that, then even better, the more participate, the quicker it can go.

      There's already examples in the android and mac "extras" modules from Qt

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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