I have spent days reading the docs and following various tutorials for this but i am getting errors whatever i do. i am trying to save an image in
How can i get uri from a file with a dynamic folder in the path? java.lang.illegalargumentexception: failed to
I am trying to convert a card view into image and share it through whats app. i am using file provider as the test device's version is
Hello friend i am working mp3 player my uri uri = uri.parse("file:///"+song.getgetpath()); works fine on 6.0 device but its not
I want to install an apk programmatically on android 7. as i searched i have to use provider for that, but the app keeps crashing. i will be
I am trying to share an image via classic intent. i have added the following items: file_paths.xml:
I use fileprovider to get uri of an image i saved manually in a folder "f1" in device storage.when i tried to get the uri,i get
I am following this tutorial
How to get the URI of a file stored in a folder created with context.getDir(directoryName, Context.MODE_PRIVATE)?
Let's say i create a file inside the private folder like this: val dir = context.getdir("mydir", context.mode_private) val file =
I have tried this link it's explained there must keep write external storage permission
I wrote a little app to learn how to write and read files. it worked, but now i can't write files any more.. 1.i added to manifest:
I'm trying to open pdf from my application to default document viewer in nougat. this is not duplicate cause i have different problem
I want to show a notification and when user clicked install an apk file. i know how to use the fileprovider itself but i have problem with
I have followed tutorials such as this,
If i try to add my fileprovider like this: <provider android:name="android.support.v4.content.fileprovider"
I am trying to imlement downloading and sharing pdf file for read by another pdf reader apps (dropbox, drive pdf reader or adobe reader) on
I'm trying to open downloaded pdf file trough implicit intent using fileprovider. i'm using downloadmanager for downloading pdf file from
Im trying to save the content of logcat to a file, but it fails in android 11. this is what i have: private static final string
I can share files those added from other folders except camera. i am getting following exception in lenova k3 note.
When i try to capture image using camera i am getting an error, fatal exception: main process: com.test.driver, pid: 10512
I have a problem with paths while taking a photo and setting it to an imageview. when i use this method file storagedir =