On Thu, Aug 12, 2010 at 4:07 AM, lavanya <[email protected]> wrote: > I am facing ANR popup while handling long touch click events in > widget.
App widgets do not support long click events, AFAIK. Certainly, there is no API for it on RemoteViews. If you mean a regular "widget" (i.e., subclass of View), you get rid of the ANR by taking less time to process the event. Look at your long-click listener and figure out where it is spending its time. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

