Re: [android-developers] Can we detect 'screen touch' event itself from on any widget?

2011-10-11 Thread TreKing
On Tue, Oct 11, 2011 at 12:35 PM, Build account wrote:

> - I want to know the touch event whether screen touched on my
> activity anywhere(not on specific widget)
>

You want to know if your Activity can receive touch events. First step, go
to the Activity documentation. Second step, do a find on "touch". Voila.

http://developer.android.com/reference/android/app/Activity.html#onTouchEvent(android.view.MotionEvent)

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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

[android-developers] Can we detect 'screen touch' event itself from on any widget?

2011-10-11 Thread Build account
Hello.

My question might be ambigous to understand. But
let say that
In this situation,
- I have an activity which contain buttons and filled list view.
- I want to know the touch event whether screen touched on my activity
anywhere(not on specific widget)
- Is it possible to detect the event? then how? Should I use Gesture
calss stuff?

Please advice me..

-- 
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