Questions tagged [android-photos]
51 questions
1
vote
1 answer
Android - choose photos from library
I'm needing the simple ability to choose photos (with the option to choose up to 10) from the native album(s).
I found this great library:
https://github.com/esafirm/android-image-picker
I have implemented it, it's great and allows me to choose…

svguerin3
- 2,433
- 3
- 29
- 53
1
vote
1 answer
Does the Android OS have a default photo album?
I am creating a photo selector and I want to know if there is a default album in the Android OS that exists in all Android phones. For example: "Camera" or "DCIM"?
Thanks

oznecro
- 457
- 5
- 16
1
vote
1 answer
Image cannot upload on server in android
i am getting image from gallery and put into server by php, all is done but image cannot save on server Please help me
public int uploadFile (String sourceFileUri) {
String fileName = sourceFileUri;
String…

pankaj synaptic
- 25
- 6
1
vote
1 answer
How can I get image from URI returned from Android photos app?
I was using this question as a reference for how to get the image from a URI with an embedded URL, which was being returned from the Photos app starting a while back. Now, I've noticed that these URIs no longer contain this URL and rather contain…

ethan123
- 1,084
- 2
- 14
- 26
1
vote
3 answers
ViewPager on a view added by WindowManager getting "java.lang.IllegalArgumentException: No view found for id"
I am implementing a photo viewer which allow user to view photos in full-screen mode from a thumbnail.
My current approach is adding inflated view to WindowManager. In the inflated view, there is a ViewPager allowing user switch images. And I got…

Hoa Vu
- 2,865
- 4
- 25
- 33
1
vote
1 answer
Application crashes when taking photos successively in portrait then in landscape mode
I have a feature in my android application which allow the user to take photos and then save them in a little gallery inside the app.
Everything works fine when i start taking photo in portrait mode and then stick to portrait mode, but when i decide…

Jonsmoke
- 822
- 9
- 18
1
vote
1 answer
Take photo and save path
I know that probably this question is already here but i didnt find anything that could help me. I wanted to take a photo and save its path. I'm already taking the photo but i cant show the path in the Toast or save it in the database.
private…

user2257792
- 47
- 7
1
vote
1 answer
Restrict upload from Android Photo's instead of gallery
As you might have noticed on newer Android versions, Android now has 2 image galleries: gallery and photos. In the future, Google will deprecate and remove the gallery and only have the photos library.
I want to give users the ability to select…

Bart Burg
- 4,786
- 7
- 52
- 87
1
vote
3 answers
photo share intent in android
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
shareIntent.setType("image/*");
Uri uri = Uri.parse(pathToImage);
shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
return…

user2853462
- 31
- 1
- 5
1
vote
2 answers
Taking a picture doesn't save the picture in the gallery
I have a button, when pressing that I'll get an alertDialog to choose a pick from: Gallery or take a picture.
When pressing take a picture and take the picture, the picture isn't being saved in the gallery. Why is this?
I need the picture because…

mXX
- 3,595
- 12
- 44
- 61
1
vote
3 answers
Android: Customize photo size
I have one application in which mobile capture photo then it upload to the server. I want to check the size of photo first then reduce photo size to some particular size depending on actual photo size. Actually on server it not allow photo which…

Vinit ...
- 1,409
- 10
- 37
- 66
1
vote
2 answers
Photo Albums and dropbox application
This is how i am firing an intent to get the picture from photo albums
Intent intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(intent, SELECT_PICTURE);
then from the result i take…

Amit Hooda
- 2,133
- 3
- 23
- 37
1
vote
1 answer
onActivityResult is called before ACTION_PICK is finished
I'm having some problems selecting an image from my gallery and using that in my application.
I use this intent:
Intent i = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(i,…

dumazy
- 13,857
- 12
- 66
- 113
1
vote
1 answer
how to apply photo effect in Bitmap image in android
Please help me to perform the image effect on bitmap image data.
I search following code to apply photo effect. but i don't know about what exactly value should be pass for effect.
The code is ..
public Bitmap createEffect(Bitmap src, int depth,…

Ashish Dwivedi
- 8,048
- 5
- 58
- 78
0
votes
1 answer
How to hide app already uploaded photos from gallery/photos app?
I have an app. It has the functionality of uploading photos from gallery/photos. Is it possible to hide photos that have already been selected from gallery?
For example:
App doesn't have any photo uploaded yet.
User accesses gallery/photos from app…

Red M
- 2,609
- 3
- 30
- 50