1

I am trying to use ActivityTaskManager in Qt for Android, but I cannot import the package as below:

import android.app.ActivityTaskManager;

Error message:

TestJava.java:5: error: cannot find symbol
import android.app.ActivityTaskManager;
                  ^
  symbol:   class ActivityTaskManager
  location: package android.app

Android SDK: 29, JDK 14

JustWe
  • 4,250
  • 3
  • 39
  • 90

1 Answers1

0

You can't use android.app.ActivityTaskManager directly so to use this please use reflection api's