Comments (11)
it seems a bug there, i'll debug it tonight.
from android-file-chooser.
Can the parent of Environment.getExternalStorageDirectory().absolutePath
be read or not? could you print its.canRead()
.
withNavigateTo
& withNavigateUpTo
follow the folder read and write permissions.
from android-file-chooser.
I will check it tomorrow, but I assumed that it is regression since navigating up works fine when I change version to 1.1.10
from android-file-chooser.
such being the case, expecting for more details. thanks.
from android-file-chooser.
Hi,
Sorry for the delay.
When using 1.1.11:
File(Environment.getExternalStorageDirectory().absolutePath) - canRead = true
File(Environment.getExternalStorageDirectory().absolutePath).parentFile - canRead = false
It is possible to navigate to one of the folders, but it is impossible to navigate up from it.
When using: 1.1.10:
File(Environment.getExternalStorageDirectory().absolutePath) - canRead = true
File(Environment.getExternalStorageDirectory().absolutePath).parentFile - canRead = false
It is possible to navigate up even from base directory.
Like I said, downgrading to 1.1.10 solves the issue.
from android-file-chooser.
@gswierczynski , do you mean you're going up from /sdcard
? Anyway, i'd restricted the canRead()
check. It prevents the further action at NON-canRead parent directory. So you can't navigate up to a folder if its.canRead()
return false
. And this is a feature, but v1.1.10 or below may lost it.
For: File(Environment.getExternalStorageDirectory().absolutePath).parentFile - canRead = false
.
checker inside listDir()
: ChooserDialog.java#L978
from android-file-chooser.
on v1.x, _list's focus cause the goBack()
skip the real action. try the new patch on master
:
implementation 'com.github.hedzr:android-file-chooser:bc584ab9e5'
it's a temporary patch. i hope it works without unexpected effects.
from android-file-chooser.
on 1.2.x, the fully fixes applied...
from android-file-chooser.
'com.github.hedzr:android-file-chooser:master-SNAPSHOT' dont work for me now.
I have unresolved reverence ChooserDialog.
Clear and rebuild dont help me.
com.github.hedzr:android-file-chooser:v1.1.11 I can import class, but there are no dialog.
In past com.github.hedzr:android-file-chooser:master-SNAPSHOT worked for me
from android-file-chooser.
for jitpack.io, these settings would be recommended:
buildscript {
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
}
They will disable gradle cache for jitpack. Put them into your top level build.gradle
, and File\Synchronize project with gradle files
, and i hope it'll work as is.
In my local demo project, it works:
// might not work now and i have no idea:
// implementation 'com.github.hedzr:android-file-chooser:master-SNAPSHOT'
// Or, hashed-code works with my local demo:
implementation 'com.github.hedzr:android-file-chooser:d6aa2c4f1b'
please retry sync ...
if downloading .pom and .jar failed.
good luck.
if you're still not lucky
one minute ago i just pushed v1.1.14 to jcenter with my newest master
branch. it includes the patches since 1.1.11.
so, trying from jcenter:
implementation 'com.obsez.android.lib.filechooser:filechooser:1.1.14'
PS: wait a minute, it seems bad. i'm checking on jcenter.
1.1.14 or later ready.
good luck too.
from android-file-chooser.
should be closed.
from android-file-chooser.
Related Issues (20)
- Button Background HOT 3
- FileFilter HOT 1
- User decides on choosing File or Folder HOT 3
- Folder added as an item while selecting multiple files HOT 3
- Can't Create Folders in External MicroSD card HOT 1
- Can't list SD card content at all HOT 3
- select multiple HOT 1
- DarkMode support HOT 1
- Quick change color method HOT 1
- error Theme.AppCompat theme HOT 3
- Its not displaying the files/folders for Android 10 HOT 4
- java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/view/ContextThemeWrapper;
- when i run it only shows "...SDCardStorage" and nothing else HOT 1
- requestLegacyExternalStorage is ignored on api 30. HOT 1
- Unsolved reference: title_choose_file
- 1.2.0, AndroidX, missing styles like Theme.Appcompat.*?
- CancelListener is not working
- Unresolved reference: ChooserDialog
- Go
- Not working in android 11 and above HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-file-chooser.