Recently, I am coding the android launcher.
I found a function in Nova Launcher and Apex Launcher, which can show the views of recent tasks by touching a button without a long press on the home key.
I'd like to get it, but who can tell me how to do?
Recently, I am coding the android launcher.
I found a function in Nova Launcher and Apex Launcher, which can show the views of recent tasks by touching a button without a long press on the home key.
I'd like to get it, but who can tell me how to do?
Take a look at
performGlobalAction(int Action)
GLOBAL_ACTION_RECENTS
in android API documentation [here]: http://developer.android.com/reference/android/accessibilityservice/AccessibilityService.html#performGlobalAction(int)
Alright, I think i found a solution for real this time, Check this thread at [here] : Android: Programmatically open "Recent Apps" dialog