Questions tagged [long-click]

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.

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.

97 questions
0
votes
1 answer

how to show different menus dynamically on each item of a ListView in android by LongClicking on it?

i want to show different menu on each item of a list view in android it should check a status in clicked item list and decide to show which menu should show... i dont know is it possible to do this or not i mean to have more than one menu item for a…
Hossein Mansouri
  • 752
  • 1
  • 13
  • 29
0
votes
3 answers

jquery longclick on

i am trying to trigger an event on an option from a dropdown menu. for example: i used an example on http://api.jquerymobile.com/taphold/ and appended the event to…
Jaka
  • 1,353
  • 2
  • 10
  • 16
0
votes
3 answers

how to disable longclick for listview in android

I want to disable the response to click and long click on items for a listview in android. I have set isEnabled(int position) of the adapter to return false, so that the cells in the listview does not response to click operation, but they still…
Eden
  • 1
  • 2
0
votes
2 answers

I can't get LongClick to work on ListActivity

I have already asked this, but didn't get an solution that works and I have since amedned the code. Can anyone help me and advise why my Long Click function is not working please?: public class InspectionActivity extends ListActivity { private…
Scamparelli
  • 756
  • 1
  • 12
  • 28
0
votes
1 answer

How to set up LongClick in ListActivity to create AlertDialogue

I have stumbled trying to set up AlertDialogue following onLongClick in my ListActivity. As shown below, I have set up the onListItemClick to open an AlertDialogue without problem and it works fine, but I can't find the correct method for envoking…
Scamparelli
  • 756
  • 1
  • 12
  • 28
-1
votes
1 answer

How to use jQuery longclick?

I am using datatables plugin and using this for click: $('.datatable').on('click', 'img#openpli-playlist', function(e) { alert("You clicked OPENPLI ICON!"); }); Now I need to use jQuery plugin longclick and using…
user2631534
  • 467
  • 4
  • 9
  • 27
-1
votes
1 answer

Adding a LongClick to a Database ListView Android

I have been trying to implement a LongClick on my database for quite some time, but for now it is only a short click that works. I'm writing in android an I have a database that I am trying to delete records from. Here's my code so far, protected…
1 2 3 4 5 6
7