For my current app, I need to add a file chooser. The user should be able to choose a single file from the sdcard. So far I found
http://code.google.com/p/android-filechooser
which is terrific, yet I don't like that user have to double tap to choose a file, I'm afraid the user won't get it if they don't catch the toast explaining it. (I missed it the first time ...) So I was wondering
UPDATE
Lai Vung, the author of this awesome library has just released a new version of it in which (single) file selection is done via single tap. Great
Since the android-filechooser uses Apache License 2.0, you can read it here
And the answer to your specific question is in the FAQ [here] (http://www.apache.org/foundation/license-faq.html#IsItFee)
which says: "Is there a fee for using Apache software in a commercial product? No. We do not distinguish between personal, internal, or commercial use of our software. Packaging and redistribution of any of it is subject to the terms of our license , however."
a bit more http://www.apache.org/foundation/license-faq.html#WhatDoesItMEAN
"I'm not a lawyer. What does it all MEAN?
Describing legal documents in non-legalese is fraught with potential for misinterpretation. Notwithstanding the text that follows, the actual text of the license itself is legally binding and authoritative.
That said, here's what the Apache license says in layman's terms:
It allows you to:
freely download and use Apache software, in whole or in part, for personal, company internal, or commercial purposes;
use Apache software in packages or distributions that you create.
It forbids you to:
redistribute any piece of Apache-originated software without proper attribution;
use any marks owned by The Apache Software Foundation in any way that might state or imply that the Foundation endorses your distribution;
use any marks owned by The Apache Software Foundation in any way that might state or imply that you created the Apache software in question.
It requires you to:
include a copy of the license in any redistribution you may make that includes Apache software;
provide clear attribution to The Apache Software Foundation for any distributions that include Apache software.
It does not require you to:
include the source of the Apache software itself, or of any modifications you may have made to it, in any redistribution you may assemble that includes it;
submit changes that you make to the software back to the Apache Software Foundation (though such feedback is encouraged)."
Perhaps you could take a look at OpenIntents OI File Manager.
The OpenIntents file manager allows you to browse your SD card, create directories, rename, move, and delete files. It also acts as an extension to other applications to display "Open" and "Save" dialogs.
http://openintents.org/en/filemanager
Third party developers can use OI File Manager through simple intents to present an "Open file", "Save file", or "Select folder" activity.
The file manager features PICK_FILE and PICK_DIRECTORY intents:
Intent intent = new Intent("org.openintents.action.PICK_FILE");
startActivityForResult(intent, 1);
Link/download for code:
https://github.com/openintents/filemanager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With