Trigger.io: File Access - Getting total Counts of Images in my Gallery (iPhone/Android)

Is there any way to get the total counts of Pictures in my Gallery? We need to preview the total counts in my gallery. We can't find what API method to be used for it.

For example,

My Gallery - 30 Photos

I hope someone from trigger.io can clarify this one. Thanks!!!

Answers


This isn't an API we currently expose in the Trigger.io platform. As Alex said, there's not really a drop-in OS-provided API for that information.

If it was really critical for your app, you could probably create something workable by enumerating the Assets Library on iOS, and querying the MediaStore on Android (e.g. see our multi-image picker plugin) from a native plugin.


Need Your Help

Search a mssql db through android

php android sql-server database json

I have a android application, that in theory, would use php as a proxy and search a mssql db for a set of variables(i.e. start date, end date, and username). I know how I would do it in theory. and...

one Jackson deserializer for multiple types (config by annotation)

json jackson deserialization

I'm trying to change the (de)serialization of a list in one of my classes.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.