In my app i let the user select one image from the media gallery. To
do this i use the Intent.ACTION_PICK.
Like

Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
startActivityForResult(intent, IMAGE_PICK);

The app works mostly fine, the users can select an image and the uri
correctly.

The matter is in the gallery. If the user does a tap on an image all
goes well, image is selected and uri returned.
But if the user does a long click on an image, be it accident or on
purpose, the phone vibrates a split sec, the image is focused, and
then nothing happens.
I understand on the formal gallery app this brings up a menu for a
longClick, but in this case it does nothing, and it can be confusing
to users, to think they tapped and see the app do nothing.

So the question is, can i do anything to change the behavior of the
long click in that screen? Like override the OnLongClick or set an
OnLongClickListener or something?

Thanks in advance, best regards.

-- 
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

Reply via email to