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

Image Shortcut

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Image Shortcut

Postby arnodenhond » Tue Jun 21, 2011 10:49 pm

made an "app" which allows creation of shortcut to a specific image in the gallery using its thumbnail as shortcut icon.
the manifest declares only 1 activity and has no layout. it only gets called by the system when the user wants to create an image shortcut. the activity immediately launches an ACTION_PICK intent on Media.EXTERNAL_CONTENT_URI.
the returned result is assumed to be an image for which the title and thumbnail are obtained and returned to the homescreen. when the shortcut is clicked, the ACTION_VIEW intent is launched on the content uri of the picked image.

here's the source
http://android.arnodenhond.com/components/image-shortcut

any idea why shortcut feature wasn't included as by default in the gallery app?
User avatar
arnodenhond
Junior Developer
Junior Developer
 
Posts: 17
Joined: Mon Mar 30, 2009 7:14 pm
Location: netherlands

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: Google Feedfetcher and 4 guests