GithubHelp home page GithubHelp logo

android-file-explore's Introduction

#Android File Explore Implementation

###This is an android file explorer implementation. Features include:

  • Ability to navigate through multiple heirarchial levels
  • Ability to select a file & or directory
  • Currently does not support adding or deleting files
  • Also does not support opening files once selected. This feature can be implemented very seasily using intents. Display applications that handle a particular filetype.

###How to use:

  • Copy the FileExplore.java source file into your project
  • Copy the res folder. This contains graphical elements to improve file browsing
  • In FileExplore.java, search for the comment //Perform action with file picked
  • Just add your own functionality in there

###Note:

  • This is not (yet) an Android Library project. I plan to make it one though in the future and add a few more features. Until then you can get by by modifying the source file.
  • A similar library can be found at https://github.com/vaal12/AndroidFileBrowser, which provides a separate Activity (not Dialog) to browse and select files and directories on the phone. That library is based on the code from Android File Explore.

###Licence:

Copyright 2011 Manish Burman

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

android-file-explore's People

Contributors

mburman avatar vaal12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-file-explore's Issues

Checks if 'up' was clicked

'Up' directory maybe exists
when 'up' was clicked
chosenFile.equalsIgnoreCase("up") && !sel.exists() will be false

Folder Choose Dialog

Is there ability to choose folder?
also would it return type of File? as i saw you used File... or again url that are not supported with files and streams?

New Logo/Icon

Hi @mburman i am a graphic designer, i want to help others in graphic design.
After i reviewed your project. your logo on this project so generik and, therefore I want to contribute to this project by creating a new logo/icon. what do you think ? you want it ?

As a file chooser denies openInputStream on /sdcard

My application[1] uses the ACTION_GET_CONTENT intent to allow the user to select a file. While I can select a file using Android-File-Explore, when I try to get its contents using contentResolver.openInputStream(intent.data), a permission denied error is thrown if that file resides on /sdcard. Reading files outside /sdcard work.

My application doesn't need the READ_EXTERNAL_STORAGE permission, but if I grant it I can access /sdcard via Android-File-Explore. OI file manager (and others) allow me to access /sdcard without this permission. I think OI's behaviour is the correct one.

[1] https://github.com/splondike/polipoid/blob/master/src/com/polipoid/ui/SettingsActivity.xtend#L54

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.