Posts by Erick Filho • 211 points
4 posts
-
0
votes3
answers132
viewsA: Kill application without root
You can only communicate with another application if it lets you. Example: if you want to close Youtube, Youtube needs to let you do it. I don’t know for sure what the command is but I recommend you…
androidanswered Erick Filho 211 -
2
votes1
answer233
viewsA: How to remove notification when user kills application
The method onTaskRemoved() service runs when the application is removed from the recent. I just removed the notification on it.…
androidanswered Erick Filho 211 -
5
votes1
answer233
viewsQ: How to remove notification when user kills application
I have a notification that appears when a service is running and disappears when it stops running. If the user kills the application with the service running, the notification stays there forever.…
androidasked Erick Filho 211 -
4
votes3
answers506
viewsA: How to instantiate a Gridview or a Listview for the same Activity?
If it is necessary to check the orientation, you can use: getResources().getConfiguration().orientation which may be one of the following: ORIENTATION_LANDSCAPE ORIENTATION_PORTRAIT and to check if…