Questions tagged [android-capture]

The "android-capture" tag involves topics related to android capture of images or sound for display or processing. Use this tag for questions about camera2 captures, Android Q playback captures, and camerax captures. use this tag in conjunction with the "android" tag and any other appropriate tag.

Look at the pages linked below if you want to find more information about the APIs this tag concerns:

  • camera2 documentation can be found here.

  • camerax captures documentation can be found here.

  • Documentation on Android Q playback captures can be found here.

36 questions
0
votes
1 answer

transform a sqaure shape drawable in to circular shape drawable withaout affecting the pixel quality

I have an application which takes picture from camera .And normally this pictures have either rectangle shapes or square shapes.But due to make these pictures circular in shape i limited the shape to only square.So now my problem is to make this…
0
votes
1 answer

Unable to set HIGH_QUALITY profile for front camera

There must be something I'm missing witht this CamcorderProfile as I keep getting "11-15 01:00:53.185: E/MediaRecorder(976): setOutputFormat called in an invalid state: 1 " on "recorder.setProfile(profile);" package…
JustAGuy
  • 5,151
  • 11
  • 41
  • 55
0
votes
1 answer

Cant setCamera to front for recording

This is my code: package eye.sight.test; import java.io.IOException; import android.app.Activity; import android.hardware.Camera; import android.media.CamcorderProfile; import android.media.MediaRecorder; import android.os.Bundle; import…
JustAGuy
  • 5,151
  • 11
  • 41
  • 55
0
votes
1 answer

camera: image projection

I'd like to project images on a wall using camera. Images, essentially, must scale regarding the distance between camera and the wall. Firstly, I made distance calculations by using right triangle trigonometry(visionHeight * …
midnight
  • 3,420
  • 3
  • 36
  • 58
-1
votes
3 answers

Image Capturing Android Issue

I am trying to add the customer thumbnail to his account by capturing the photo and crop the face through another activity.It works fine in emulator,but when run on actual device got error.Help needed. public void imageload(View v) { …
Lalit Jadiya
  • 213
  • 4
  • 14
-8
votes
2 answers

Android: How to call Camera

Right now I was asked to create a simple application in which a person can take a photo. And that photo will be saved to a particular folder and that folder cannot be accessed by the main gallery. Only that application can access the folder and see…
Ms. B
  • 1,073
  • 6
  • 15
  • 26
1 2
3