Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able create or write in external sdcard (removable memory card) ? #96

Open
bjambu20 opened this issue Jun 24, 2016 · 6 comments
Open

Comments

@bjambu20
Copy link

bjambu20 commented Jun 24, 2016

Hi. I am integrated your code to application and its works fine with device storage but i am unable to use removable sd card(memory card) but path is selectable. not able to create new directory with the choosen path from this app. please guide me to work with sd card.

@Edward-Yung
Copy link

I encounter this problem too. :(

@bjambu20
Copy link
Author

bjambu20 commented Aug 8, 2016

Have you solved this issue @Edward-Yung . Please anyone guide me to solve this problem.

@Edward-Yung
Copy link

I finally found out it is the google's problem. It changes the spec such that app cannot write to secondary external storage from android 5.0. And I solved it by detecting if it is the removable sd card to hide all those files by modifying the original source code.

@DennyWeinberg
Copy link
Contributor

You are right. I implemented a workaround for my app by using this source code: http://stackoverflow.com/questions/26744842/how-to-use-the-new-sd-card-access-api-presented-for-lollipop

But I don't want to do this for this library. Can you explain us how you modified the code in order to be able to select the sd card folder by simply hiding its content?

@88bb
Copy link

88bb commented Oct 2, 2016

You may try this app: https://github.com/Edward-Yung/Mu-Retargeter-1.0 to see if the implemented file chooser is working as expected as you want. If so, you can take a look at the source code and use his modified library. :)

@apacha
Copy link

apacha commented Feb 12, 2017

Or take a look at this app: https://github.com/arpitkh96/AmazeFileManager to see how they implemented write-access to external SD-card by using MediaStoreHack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants