0
I would like to implement a function that can check if Activity is open, because when I receive the notification through GCM (Google Cloud Messaging) if Activity has opened will only upload the information in it, if you have closed notify the user and through this notification he opens the Activity with the information. I want to do this within a service, vlw!
At least in the service it didn’t work out. Error > FATAL EXCEPTION: main java.lang.Securityexception: Permission Denial: getTasks() from pid=3792, uid=10096 requires android.permission.GET_TASKS
– Rubens Ventura