Detect current running application in Android Nougat 7.+ version
问题 Android team changed their approaches to get current running applications from time to time. I am able to get current running applications upto Marshmallow 6.0 version but i want to ask that how can i get these in Nougat 7.0 version? Is there anyway to do that? Please guide towards solutions. I have searched a lot but could find any appropriate way to that. Thanks 回答1: Simple answer: no, you can't. Long answer: you can't get the running process but you can retrospectively see what was running