Page 1 of 1

Select file intent options

Posted: Tue Sep 15, 2009 9:39 pm
by fabio
Hi, I'd like to use select file intent in my app Apps Organizer.
I need to select an image from sd card, so I have some questions:
  • how can I specify that user can select only a single file (not a directory and only one file)?
  • can I specify that user can select only png or jpg files?
Thanks a lot and compliments for your app!
Fabio

Re: Select file intent options

Posted: Wed Sep 16, 2009 5:29 pm
by support
For now, all parameters are available at:
viewtopic.php?f=7&t=51

We can add more filtering options to select only one file and a whitelist.
When would you need this feature? I've added it to the wishlist.
If you want it quickly then you could contact support(at)lysesoft(dot)com

Re: Select file intent options

Posted: Wed Sep 16, 2009 10:01 pm
by fabio
support wrote:For now, all parameters are available at:
viewtopic.php?f=7&t=51

We can add more filtering options to select only one file and a whitelist.
When would you need this feature? I've added it to the wishlist.
If you want it quickly then you could contact support(at)lysesoft(dot)com
Yes, I'd like to have single select and file tye filter (for example with a regular expression).
Many thanks, Fabio

Re: Select file intent options

Posted: Wed Oct 14, 2009 4:57 pm
by divestoclimb
I'm interested in the same functionality for my app (filtering by extension).

I'm glad to see you already have the ability to select and return a directory, that's one major requirement for me. Being able to pick a start directory will also be quite nice since the SD card directory structure gets out of control. I'm going to keep looking around, but from your app's reviews on the market I may make my file selection intents prefer to target AndExplorer. Keep up the good work!

A few other minor suggestions:
- add a preference to show/hide files/directories beginning with a "."
- add the ability to customize the buttons across the top, so I can pick favorite locations and jump to them quickly.
- It would be REALLY cool if you added touch gesture support for dragging/dropping. It would make it easy to move files into subdirectories, and it could also be used to set up the favorite locations on the top. Take a look at the Music browser's TouchInterceptor code if you haven't seen it before. I've implemented it in my app as well for list item reordering: http://code.google.com/p/d2cchecklist/s ... Items.java

Re: Select file intent options

Posted: Wed Oct 14, 2009 7:41 pm
by support
1.0 final is planned very soon (in a few days). It includes Chinese and French translation and the new following options for intents:

whitelist file extension filter:

Code: Select all

// Display only files with *.txt or *.mp3 extension
intent.putExtra("browser_filter_extension_whitelist", "*.txt,*.mp3");
blacklist file extension filter:

Code: Select all

// Display all files except *.txt and *.mp3
intent.putExtra("browser_filter_extension_blacklist", "*.txt,*.mp3");
Do you want to test it before official release?

Re: Select file intent options

Posted: Thu Oct 15, 2009 1:19 pm
by divestoclimb
If it's only going to be a few days, I can wait. I have lots more coding to do :)

Re: Select file intent options

Posted: Fri Oct 16, 2009 5:49 pm
by support
It is available at:
http://www.lysesoft.com/products/andexp ... l#download

And on Google Market.