Questions tagged [android-photos]

51 questions
11
votes
3 answers

Android - How can I get image from ClipData?

I'm creating an image uploader that has the ability to upload more than 1 images at once. galerijButton.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { Intent photoPickerIntent = new…
Bart Burg
  • 4,786
  • 7
  • 52
  • 87
9
votes
3 answers

Upload a picture taken by the camera to a server with limited size

the title sounds maybe a bit like a "noob question" but I know quite well how to program for Android, I just to figure out what it is the best way to achieve what I want. My use case is: the user takes a photo and sends it to our server which have a…
Laurent Meyer
  • 2,766
  • 3
  • 33
  • 57
6
votes
1 answer

Getting videos(non-local) from the Google Photos App

With the Google Photos app, I am trying to pick a video, that is not cached on the device. I am using the ACTION_GET_CONTENT intent, to launch the options dialog, and from there I choose the Google Photos app. While selecting local videos, it…
5
votes
2 answers

Android - Supported Image Types

i have searched on the Image types supported by Android everywhere. Actually, my confusion is which are image types supported by Android (i.e. JPEG, gif, or other) , because just now i have done camera capturing code with JPEG, but when i go and…
Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
5
votes
2 answers

Google Photos vs Stock Gallery - Intent Picker

In my app, I allow the user to pick a profile image from their gallery, like so: When You click the first option, on my Android 5.0 device, I get this: If I use the normal Gallery app that is based off the AOSP project, everything works fine and…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
5
votes
0 answers

Android Photo Tagging

I'm creating an Android App with Camera a utility. I want to tag a person or add clickable annotations over the image. When i came across the overlay or gesture drawing over the image and the following link, Tag photos on Android app i have the…
siva
  • 1,429
  • 3
  • 26
  • 47
3
votes
1 answer

How to get list of google plus photo album in android

I want to show list of my google+ account photo album in a list view just like Album one name Album two name Album three name Album four name I am success ed to login in google + account with help of this example.Give me some suggestion or link
Mahi
  • 1,754
  • 2
  • 16
  • 37
2
votes
2 answers

android - get images from camera shot

I am curious as to how to get images from the Gallery/Camera folder in Android. I am looking into the file manager and can't really get a grasp as to where the those images are located in the file system. If I go to File Manager I can't locate the…
dropsOfJupiter
  • 6,763
  • 12
  • 47
  • 59
2
votes
0 answers

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65637, result=-1, data=Intent

I have a gallery photo selection tool but every time I select it, my program gets error. I have not been able to correct the error, I have tried many different different things, but I did not work. I'm waiting for help. Below is the function I use…
2
votes
1 answer

Photo picker. Portrait turns to landscape

How to pick an image from gallery (SD Card) for my app? I have implemented the second answer (With the downsampling). When I select an image in portrait, the image will be shown in landscape mode.. Does anybody know why this is? And how to fix this?…
1
vote
0 answers

Losing Image Quality When Encrypting And Decrypting an Image

Basically, I scramble all the pixels and then reassemble them. But after the reassembly, I lose a massive amount of image quality and color. I also notice that the file size changes which I thought was odd considering its the same pixels. The…
Tparish
  • 11
  • 1
1
vote
1 answer

Android - take a photo - do not save photo in DCIM folder

https://developer.android.com/training/camera/photobasics.html I followed example of Google but using: File storageDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); I have my photo in Picture folder but my device…
Anh-Tuan Mai
  • 1,129
  • 19
  • 36
1
vote
0 answers

how to put two images into two transparent part of a background?

I'm trying to create a photo collage with 2 images. I have a background image with 2 transparent parts divided by border. I want to put two different images into those two parts and the images can move, drag and zoom. However, 1 image should stay in…
1
vote
2 answers

android get photo from camera or gallery using fragments

I am using FragmentPagerAdapter with three tabs. Each tab is having multiple fragments, in one of these Fragment i request to get photo from Gallery or Camera. The issue is onActivityResult() of the parent Activity hosting the tab is invoked not…
Sultan
  • 147
  • 1
  • 8
1
vote
0 answers

How to load images from gallery "images"

I'm trying to load images from gallery using the following code Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult(Intent.createChooser(intent, "Select Picture"),…
1
2 3 4