Top "Long-click" questions

In touch based user interfaces a long-click (aka long-press and tap-and-hold) refers to pressing a control for a prolonged time in order to achieve additional functionality.

Detecting a long press with Android

I am currently using onTouchEvent(MotionEvent event){ } to detect when the user presses my glSurfaceView is there a way to …

java android touchscreen long-click
creating a menu after a long click event on a list view

I have a list view connected to a database, showing a all the entries. I want a menu to show …

android listview menu long-click
android maps: How to Long Click a Map?

How do I long click on a mapview so that a place marker appears at that point on the map? …

android android-mapview long-click
Long click on ListFragment

I'm working with a ListFragment and doing a onListItemClick. Everything works fine, but now I want to use a long …

android android-fragments long-click
how to handle long click in Android

I am new to Android dev. The way I have been handling clicks has been by setting the android:onClick …

java android long-click
Set long click listener for listview

I have below codes: public class MainActivity extends ListActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.…

android listview listener long-click
Android - Is It possible to disable the long click of home button to avoid the task manager?

I am looking for a way to disable the task manager window once I long press on the home button. …

android long-press android-homebutton taskmanager long-click
Can angular's ngTouch library be used to detect a long click (touch/hold/release in place) event?

My AngularJS app needs to be able to detect both the start and stop of a touch event (without swiping). …

angularjs angularjs-ng-click long-click
Android ActionBar options long click event

Android Can anyone know about Actionbar item options long click , I want to show text on LongClick on actionbar menu …

android click android-actionbar long-click
Receive a long press/click on a linear layout in android?

I'm painfully new to android and I've run into a wall. I'm trying get a linear layout to function more …

android-layout android-widget android-linearlayout onlongclicklistener long-click