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. open andorid app from Qt android App
Forum Updated to NodeBB v4.3 + New Features

open andorid app from Qt android App

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 727 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.
  • T Offline
    T Offline
    Tannyveer
    wrote on last edited by
    #1

    Hello,
    I am developing android app using Qt5 C++. I want the following equivalent code in Qt C++

    Intent intent = getPackageManager().getLaunchIntentForPackage("org.opencv.javacv.addition");
    if (intent != null) {
    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    startActivity(intent);
    }

    1 Reply Last reply
    0
    • kd_walaK Offline
      kd_walaK Offline
      kd_wala
      wrote on last edited by
      #2

      As I know, you can't do it in Qt C++, you need using JNI to call from C++ to Java and vice versa,
      Here is link to start http://doc.qt.io/qt-5/android-support.html

      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