android-camera-intent Questions
6
Solved
I want to display an image taken from the camera in an ImageView using
Intent intent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
This works fine so far but after the user ta...
Triolein asked 30/4, 2013 at 10:24
8
Solved
My requirement is to upload camera captured image to the server, but it should be less than 500 KB. In case, if it is greater than 500 KB, it needs to be reduced to the size less than 500 KB (but s...
Artemus asked 18/5, 2016 at 12:21
1
Solved
I'm trying to use the Android camera, for API 23 or above, it requires asking for permission at runtime. According to the documentation, I can accomplish that using, ActivityCompat or ContextCompat...
Boelter asked 6/7, 2016 at 17:12
5
I am trying number of tutorials and sample codes for take an image from gallery or camera then crop the image and upload it to server. I was implemented the code for that in that code am facing few...
Bering asked 15/5, 2016 at 5:27
4
Solved
Hi I am using viewPager with fragmnets inside main fragment.
I am trying to get image to bitmap from gallery or from camera, but after picking photo and startActivityForResult it doesn't catch in o...
Dirham asked 22/8, 2015 at 12:57
4
Solved
After searching a lot in all the related issues at Stack Overflow and finding nothing, please try to help me.
I created an intent for capture a picture. Then I saw different behavior at onActivity...
Madrigalist asked 24/9, 2012 at 11:26
1
Solved
I am having a very strange bug trying to take a picture via intent.
Activity code (a little simplified):
private void startCapture() throws IOException {
// Create output file
final File photoFi...
Pose asked 1/3, 2016 at 7:50
3
I'm sending an intent to the camera from an activity that I call like this:
Intent testphoto = new Intent(Dashboard.this,CameraHandler.class);
startActivity(testphoto);
In the CameraHandler cl...
Selfassertion asked 2/5, 2012 at 17:31
2
I'm working at an application in android which uses camera to take photos.For starting the camera I'm using an intent ACTION_IMAGE_CAPTURE like this:
Intent camera = new Intent(MediaStore.AC...
Longoria asked 25/7, 2011 at 7:57
3
Solved
I have a program that opens the camera via Intent to take a photo. That much part works fine already. However, I want it to save to a certain folder with a certain file name (the file name is optio...
Hippomenes asked 21/10, 2012 at 5:13
3
When taking a picture using the android camera Intent, I get a low-quality bitmap image. I was wondering if it is possible to make this image decent quality.
I googled some information about...
Emilie asked 5/1, 2016 at 10:20
4
Solved
Hi I am using ACTION_IMAGE_CAPTURE for capturing image using Intent as follows:
Intent cameraIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
cameraIntent.putExtra(
MediaStore.EXTRA_OUTPUT, (...
Coping asked 15/11, 2010 at 13:48
2
Solved
I have to launch the camera, and when the users has done the picture, I have to take it and show it in a view.
Looking at http://developer.android.com/guide/topics/media/camera.html I have done:
...
Reticule asked 1/9, 2015 at 10:36
3
Solved
I am using camera in my app. I am just using intent to start camera
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
cameraIntent.putExtra(MediaStore.EXTRA_OUTP...
Maelstrom asked 15/12, 2011 at 6:45
0
I am capturing video using the following intent:
Intent takeVideoIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
if (takeVideoIntent.resolveActivity(getPackageManager()) != null) {
takeVid...
Desalvo asked 9/9, 2015 at 10:51
2
Solved
I read a lot of posts about cropping an image from gallery or camera, and I know outputX/outputY refers to the size of the output/cropped image. However, nobody ever explained what does aspectX/asp...
Ramadan asked 27/5, 2015 at 15:8
3
Solved
The first activity has a button which when clicked, opens the inbuilt camera. Now when the picture is taken, a new activity opens with the image captured in an imageView and a share button in the n...
Sialagogue asked 21/8, 2015 at 2:47
3
Solved
I am creating a camera app. The image when captured is shown in the grid view.
Now, the code is working completely fine on all the devices except for samsung devices.
I am facing the orientation i...
Chung asked 13/8, 2013 at 7:44
1
Solved
Hi i am working on android application to detect page number using camera preview. After I received frame I draw a rectangle on surface view Using Canvas and I want to crop the rectangle area...
Synonymous asked 27/7, 2015 at 21:27
2
Solved
I am opening camera app as external intent from my applications. I am using following code to invoke the camera and following are my conditions:
It should open the front camera.
Highest picture q...
Hilbert asked 29/10, 2013 at 19:9
1
I want to take photo using MediaStore.ACTION_IMAGE_CAPTURE intent, and save with MediaStore.EXTRA_OUTPUT.
My code is same as this link: http://developer.android.com/training/camera/photobasics.html...
Sheepskin asked 1/7, 2015 at 20:37
2
Solved
I have the next problem:
when I try to start my camera, I can take the picture, even save it on my sdcard, but when I'm going to get the path for showing it on my device I get errors.
My global v...
Splore asked 6/12, 2013 at 13:18
2
Solved
I'd like to launch the default camera, but want it to act like it was started from the launcher (i.e. the resulting picture should be stored by the camera app to the user's gallery, rather than bei...
Ruminate asked 3/9, 2013 at 18:48
2
I am creating an Android app which is sort of like stop-motion app which is intended to efficiently take pictures even during movement. I wanted to set very low shutter speed and high aperture for ...
Sandpaper asked 26/5, 2013 at 15:36
2
Solved
I successfully have used this code snippet before, but with the file pointing to somewhere on the SD card.
final File temp = new File(getCacheDir(), "temp.jpg");
temp.delete();
Intent intent = new...
Poussin asked 11/10, 2011 at 1:5
© 2022 - 2024 — McMap. All rights reserved.