Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - In the Intent.ACTION_PICK screen can I listen for longClick?

In the Intent.ACTION_PICK screen can I listen for longClick?

All your problems with Audio, Video and Images.

In the Intent.ACTION_PICK screen can I listen for longClick?

Postby Arcantos » Fri Jan 29, 2010 12:34 am

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, 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.
Arcantos
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Jan 29, 2010 12:09 am
Location: Computer Engineer

Top

Re: In the Intent.ACTION_PICK screen can I listen for longCl

Postby Medvedica » Thu Aug 22, 2013 6:34 pm

Thank you for good communication.
Medvedica
Junior Developer
Junior Developer
 
Posts: 16
Joined: Thu Aug 22, 2013 6:28 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 6 guests