D devmobile Active Member Licensed User Nov 2, 2017 #1 Hello I cannot get foreground app in android >=6 But in android 4 i can detect running app or foreground
Hello I cannot get foreground app in android >=6 But in android 4 i can detect running app or foreground
Erel B4X founder Staff member Licensed User Longtime User Nov 2, 2017 #2 I don't think that it is possible to find this information in newer versions of Android. Upvote 0
D devmobile Active Member Licensed User Nov 2, 2017 #3 Oh Is there other way? I need lock setting anyway(i show home when setting opend in my app) Thanks Upvote 0
moster67 Expert Licensed User Longtime User Nov 2, 2017 #4 what do you mean with foreground app? What information do you want? Upvote 0
D devmobile Active Member Licensed User Nov 2, 2017 #5 moster67 said: what do you mean with foreground app? What information do you want? Click to expand... App that is open and user working with it Upvote 0
moster67 said: what do you mean with foreground app? What information do you want? Click to expand... App that is open and user working with it
moster67 Expert Licensed User Longtime User Nov 2, 2017 #6 ok, if I've understood you correctly, I might have a solution. I'll post an example this weekend Upvote 0
D devmobile Active Member Licensed User Nov 2, 2017 #7 moster67 said: ok, if I've understood you correctly, I might have a solution. I'll post an example this weekend Click to expand... Thanks Do you can give me now? Upvote 0
moster67 said: ok, if I've understood you correctly, I might have a solution. I'll post an example this weekend Click to expand... Thanks Do you can give me now?
D devmobile Active Member Licensed User Nov 3, 2017 #8 Erel said: I don't think that it is possible to find this information in newer versions of Android. Click to expand... @Erel if i root device,can i get foregroud app? Upvote 0
Erel said: I don't think that it is possible to find this information in newer versions of Android. Click to expand... @Erel if i root device,can i get foregroud app?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2017 #9 Never tried it with a rooted device. You will need to test it yourself. Upvote 0
D devmobile Active Member Licensed User Nov 5, 2017 #10 Erel said: Never tried it with a rooted device. You will need to test it yourself. Click to expand... Thanks Upvote 0
Erel said: Never tried it with a rooted device. You will need to test it yourself. Click to expand... Thanks