Tomek Kondrat · Dec 20, 2013 at 08:00 am

Share Files Dynamically with Open Source Library

There is an almost infinite wealth of app development knowledge housed within Google’s Developer Pages. However, not every solution presented by Google is the most optimal, and there is still plenty of room for some improvement. A good example is the ShareActionProvider class that is responsible for the share option within apps. You’ve undoubtedly encountered this in apps like Gallery, for example.

XDA Recognized Contributor nikwen noticed that data sharing isn’t done dynamically, so it consumes more time. This is because the application need to identify the file type. Then, it creates the correct sharing activity. Nikwen decided to improve this library by creating his own open source replacement, capable of handling sharing dynamically. This saves a lot of time and removes all limits from Google’s implementation. This can be seen in practice in XDA Senior Member SimplicityApks‘s previously covered FunctionCapture application.

The developer shows that even great solutions can be improved upon, and that’s the beauty of Android. If you are interested in the project and develop your own applications, head over to the original thread to learn more about adding DynamicShareActionProvider to your work.


_________
Want something on the XDA Portal? Send us a tip!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Jimmy McGee · Jul 2, 2015 at 06:00 am · no comments

Floating Apps with Rovers – XDA App Review

There are a lot of great launchers to help customize your phone. Some Launchers allow you to apply different color themes. Others offer many great automated features. Some make your most used apps easy to locate by putting them in prominent positions. There is a launcher that will let you do just about anything you want. XDA Senior Member roshga offers up a neat little app that allows you to have floating shortcuts to your favorite apps. In this video, XDA TV Producer TK...

XDA NEWS
Emil Kako · Jul 1, 2015 at 04:24 pm · 4 comments

What Features Do You Look for in a Gallery App?

With so many different options to choose from, finding the right Gallery app may be a tough thing to do. Google Photos is the latest cloud service/gallery app to attempt to meet all your needs, but is it the best? Let us know what features you look for in a Gallery app, and which one is your favorite in the comments.

DISCUSS
Jack Jennings · Jul 1, 2015 at 03:34 pm · 4 comments

Google Photos ‘Unlimited’ Storage Reportedly Being Capped

When Google Photos was announced, many of us thought very highly of the idea. It seemed like Google had taken what they learned from G+ Photos and added some extra touches to polish the experience, making it something that more people were likely to actually utilize. Now however, the much-lauded 'Unlimited Storage' element may not be quite what it seemed. Here's what we can gather so far...   Reports have come in from multiple G+ and Reddit users who have attempted to back up a...

XDA NEWS
Share This