Select file intent options

File Manager/Explorer for Android devices.
Post Reply
fabio
Posts: 2
Joined: Tue Sep 15, 2009 9:31 pm
AntiSpam sum: 8

Select file intent options

Post 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

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Select file intent options

Post 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

fabio
Posts: 2
Joined: Tue Sep 15, 2009 9:31 pm
AntiSpam sum: 8

Re: Select file intent options

Post 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

divestoclimb
Posts: 2
Joined: Wed Oct 14, 2009 4:37 pm
AntiSpam sum: 8

Re: Select file intent options

Post 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

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Select file intent options

Post 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?

divestoclimb
Posts: 2
Joined: Wed Oct 14, 2009 4:37 pm
AntiSpam sum: 8

Re: Select file intent options

Post by divestoclimb »

If it's only going to be a few days, I can wait. I have lots more coding to do :)

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: Select file intent options

Post by support »

It is available at:
http://www.lysesoft.com/products/andexp ... l#download

And on Google Market.

Post Reply