Select file intent options

File Manager/Explorer for Android devices.

Select file intent options

Postby fabio » Tue Sep 15, 2009 9:39 pm

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
fabio
 
Posts: 2
Joined: Tue Sep 15, 2009 9:31 pm

Re: Select file intent options

Postby support » Wed Sep 16, 2009 5:29 pm

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
support
 
Posts: 1010
Joined: Sun Apr 20, 2008 4:40 pm

Re: Select file intent options

Postby fabio » Wed Sep 16, 2009 10:01 pm

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
fabio
 
Posts: 2
Joined: Tue Sep 15, 2009 9:31 pm

Re: Select file intent options

Postby divestoclimb » Wed Oct 14, 2009 4:57 pm

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
divestoclimb
 
Posts: 2
Joined: Wed Oct 14, 2009 4:37 pm

Re: Select file intent options

Postby support » Wed Oct 14, 2009 7:41 pm

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?
support
 
Posts: 1010
Joined: Sun Apr 20, 2008 4:40 pm

Re: Select file intent options

Postby divestoclimb » Thu Oct 15, 2009 1:19 pm

If it's only going to be a few days, I can wait. I have lots more coding to do :)
divestoclimb
 
Posts: 2
Joined: Wed Oct 14, 2009 4:37 pm

Re: Select file intent options

Postby support » Fri Oct 16, 2009 5:49 pm

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

And on Google Market.
support
 
Posts: 1010
Joined: Sun Apr 20, 2008 4:40 pm


Return to AndExplorer



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.