John A wrote: > Activity A calls startActivity(intent4activityB); in its > OnLongClickListener. > > Activity B contains a GestureOverlayView. I would like to be able to > detect a gesture starting as soon as Activity B starts, but the > GestureOverlayView does not begin tracking until the user lifts her finger > and then touches the activity again. > > Is there any way I can force the GestureOverlayView to start a new gesture > immediately?
you could try (i know its an ugly solution) to simulate ACTION_DOWN event and pass it to your view: yourView. dispatchTouchEvent(event) pskink -- 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