I need a service that know if the user is touching the screen anywhere. If user doesn't touch the screen in a time, I launched a intent to the browser. Someone can help me. I cann´t find the code of how to capture any touch on screen in a service and I cann't think in any solution. Sorry for my English and thanks.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Thursday, March 1, 2012
Catch any touch in the screen in a service
Tags
android,
screen,
service,
Tips For Programmer
Subscribe to:
Post Comments (Atom)
Write your code inside the following method:
ReplyDeletepublic void onUserInteraction() {
super.onUserInteraction();
}