Hi all! I am very new to Android development and have two questions, possibly related. It would be great if you could point me to the correct direction:
1) is it possible use a service running in background that gets notified whenever user starts or ends any activity/applications? I want to use this to enable logging of how often different applications are in Android are used. 2) is it possbile to use a service running in background that listens for View events on the OS View, e.g. each time a user taps on screen or makes a gesture when no activity has focus. This can e.g. be used to start my activity each time a certain gesture is made. I understand that the functionality I am asking questions about (especially the 1st one) could probably threaten the system security by enabling malicious software. I am, anyways, hoping that Android has some support for the functionality that also is secure to use. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en