Tom
Tom

Reputation: 241

Is it possible in an appwidget to detect a long press?

I've figured out how to use setOnClickPendingIntent to detect and handle a press on a view, but I can't find any way to detect a long-press (or double-tap). I'd like to have different actions happen based on whether the user pressed or long-pressed. Is this possible?

Thanks.

Upvotes: 2

Views: 1736

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006654

Sorry, no, only ordinary taps are supported by RemoteViews.

Upvotes: 8

Related Questions