Questions tagged [android-image-capture]

58 questions
0
votes
1 answer

All vertical oriented images are strangely autorotated only on some devices

I have an app that take pictures from camera or gallery and shows the result in an imageview. I only get the image with content provider and use this scale function public Bitmap scaleim(Bitmap bitmap) { ... Bitmap scaledBitmap =…
AndreaF
  • 11,975
  • 27
  • 102
  • 168
0
votes
4 answers

In Multi Image Selector OnActivityResult() method is not getting called in Fragment

I am trying to make image selector for application.For that i am using multi-image-selector library which is perfeclty works when used in activity ,but here i want to use it in fragment.so in fragment OnActivityResult() method is not getting…
0
votes
1 answer

Android how to set the layout the same size of an imageview programmatically

I have two imageView size an relativelayout. Both images will be loaded programmatically and I want to set the size of the relativelayout equal to the size of imgBackground. How can I do that? I tried the following and it didn't work. The layout…
0
votes
1 answer

Take a picture and get bytes without saving on disk

Is it possible to take a picture and get the image as byte array without saving it? All I want is, take an in memory picture. I don't want to save it. Also i plan to use other camera activity to take the picture (i mean, i don't want to implement my…
0
votes
0 answers

why custom camera capturing a portion of the screen?

Hi I am using custom camera view in my application, It was working fine in some devices, but in 1+3t device it's capturing only a portion of the screen. I've searched a lot but couldn't get the answer. Please help me to solve this. code: …
Uma Achanta
  • 3,669
  • 4
  • 22
  • 49
0
votes
4 answers

How to configure ACTION_IMAGE_CAPTURE to store the photo in public external storage?

The Taking Photos Simply Documentation recommends to store image taken with device camera as "should be saved on the device in the public external storage". But how to do this? The provided example shows rather how to save to a private folder!?
georgij
  • 2,054
  • 4
  • 27
  • 43
0
votes
0 answers

How can I differentiate if a picture is made fron the internal or external camera

Hello I am trying to make an app and I need to differentiatie if a photo has been tanken forn the internal or external camera of my smartphone. I need this because my smartphone rotates the photos in one or another direction depending on which…
0
votes
2 answers

Android- How to get the uri of a photo taken

I am trying to get the URI of a photo taken with the phone. I am trying to convert the data passed to "onActivityResult" to a URI, then convert this URI to a string to store in my database. This method does work with videos, so how can this be…
0
votes
0 answers

File copy from Gallery pick image to Internal Application Picture Directory Android

Getting image Content from Gallery picture Now, I want to copy this image file(Which is picked from gallery) to my Internal App folder PICTURE directory(/storage/emulated/0/Android/data/MYApppackage/files/Pictures/). I am creating new File in…
0
votes
1 answer

Not getting the image from android photos app

I have seen similar questions in SO here and here. But still these didn't solve my issue, So I'm posting a new question. Here is my code to get path of the image selected in Photos app. But I'm not getting the cursor.getColumnIndexOrThrow(column);…
ImGenie
  • 323
  • 1
  • 15
0
votes
1 answer

Cant able to Upload Images From Gallery (Crashes or Out Of Memory Occurs)

Opening The Gallery App Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); dialog1.dismiss(); …
-2
votes
1 answer

Unfrotunately app stopped onActivityResult

I am new to android development. This is a test app through which I am trying to invoke an image to my activity. Everything seems fine except when I am returning the camera Image in onACtivityResult(); the app crashes. I have included Logs so that…
1 2 3
4