how to make a toplevel window on android ?
-
Hi,
is there a way to make a toplevel window android app like how the Qt::Popup flag works on windows?
i want to make an app run on top of every app on android which displays like when you set in the developers options of your smartphone the second screen
the thing works for windows very well but i still didn't figured how to make it on android -
@tataeress I really doubt a normal app can do such things on mobile systems.
-
@tataeress said in how to make a toplevel window on android ?:
cause i since that second screen developer option can do it, it should be possible somehow
This is for developer screen which is not for normal applications. I never saw a mobile app doing something like this, so I doubt it is possible (and it is actually good that it is not possible). Why do you need something like this? Personally I would not use such an app.
-
AFAIK Android as no concept about a top level window, as it is lacking a proper window manager system. At least one like you would have on a proper Desktop System
Your activity is technically a Window, but its always fullscreen
-
it seems that i can achieve this through what android developpers call system_overlay
i still don't know if i can do it with c++
i found that something like this may exist for QML
https://doc.qt.io/qt-5/qml-qtquick-controls2-overlay.html?fbclid=IwAR3aAt6Lj6nVc5drVgLxk9tJ8-jXQS--ZOy2aPsnjoxvqA3L84SfImhVmtM#details