Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
730 views

Getting java.lang.IllegalArgumentException: Unknown URL while deleting multiple files from internal storage through my app

Here I save images in an arraylist(name: selectedImages {type- String}) from the arraylist(name: aaa {type-ModalClass}) throgh checkBox in Adapter(adapter for recyclerView) class. if (ck){holder....
Pinkesh Machhi's user avatar
0 votes
0 answers
174 views

Why am I getting access to internal storage even when I set my app for external storage?

I am confused, both parameters, "EXTERNAL_CONTENT_URI" and "INTERNAL_CONTENT_URI", access and display images from "Photos" and "Camera". Shouldn't only the second parameter access them? Furthermore, I ...
Blue Crystal's user avatar
-3 votes
1 answer
826 views

Android: How can i make an Image Download Button when Image-Url is given and save it on internal storage

I have a String with an url to an image. Can somebody give me the code to realize it? All what ive done before is not working. code so far: dlbtn.setOnClickListener(new View.OnClickListener() { ...
Christian Simon's user avatar
3 votes
1 answer
133 views

Which are the different option to store image in android app from webservice?

I want to store some of the data from web service when it is loaded first time in android. I am storing data in shared preference and database. My data also consists of Images.Please suggest me the ...
Arth Tilva's user avatar
  • 2,496
0 votes
1 answer
9k views

how to display image file save on internal storage in android

i have saved drawable images in internal storage by compressing them in bitmap format. the problem is that i want to retrieve those image files and wants to display them in grid view i am able to list ...
Sidra Arshad's user avatar
0 votes
0 answers
556 views

Reference a file stored in internal memory inside HTML of a webview

I have a webview : this.webview.loadUrl("file:///android_asset/html/test.html"); in test.html i would like to write this : <img src="file:///data/data/com.myapp/myimage.jpg" /> I doesn't work ...
Big_Boulard's user avatar
  • 1,385
5 votes
5 answers
15k views

Android - Why my saved image is not appearing in the default gallery of my phone?

I am trying to save an image from my application to the default gallery of my phone. The code below works perfectly if I have a SD card on the phone. The image saved appears in the phone's gallery and ...
Bitcoin Cash - ADA enthusiast's user avatar
2 votes
1 answer
2k views

Save image to Android internal memory and then send as an Email using Intent

I wrote an app that uses Environment.getExternalStoragePublicDirectory( Environment.DIRECTORY_PICTURES) to find the folder to store images to. I then write the jpg to that folder and then use the ...
Chris's user avatar
  • 389
1 vote
1 answer
713 views

Where can i store default Image on internal storage in android

For example if i create app like travel guide and i would like to show the attraction place as a list i'm new to Android. I would like to create a ListView which provide image and some data in each ...
April Smith's user avatar
  • 1,830
2 votes
1 answer
1k views

where do you store a default image on internal storage of android?

Suppose I want to have a certain image on the main screen of my map. Also, there is a menu option that lets the user select an image from the gallery and once selected, it will downsize/crop the image ...
damonkashu's user avatar
  • 1,823