Open GoogleCodeExporter opened 8 years ago
Hello,
Have you tried following the steps provided in the CameraManager class:
https://developers.google.com/glass/develop/gdk/reference/com/google/android/glass/media/CameraManager
This explains how you can use an ACTION_IMAGE_CAPTURE intent to capture an
image with Glass.
Best,
Alain
Original comment by ala...@google.com
on 18 Dec 2013 at 4:55
Yes, taking a picture by launching the intent works, but it isn't what I need.
I am building an app that needs to be hands-free and take a burst of images.
The camera intent requires the user to tap to accept each image.
Original comment by groupwis...@gmail.com
on 18 Dec 2013 at 5:26
Original comment by ala...@google.com
on 18 Dec 2013 at 5:50
Issue 365 has been merged into this issue.
Original comment by ala...@google.com
on 15 Jan 2014 at 4:49
Hi,
Did you manage to take a burst of images without the previewwith the GDK ?
Original comment by guilla...@touchsurgery.com
on 23 May 2014 at 11:01
I also can't "tap to accept" my camera intent, OnActivtyResult doesn't not get
called
Original comment by Cooler...@gmail.com
on 11 Jul 2014 at 3:26
this might be related to the behaviour whereby taking a picture with the Camera
Intent will NOT yield a written file observable by a FileObserver the first
time, while subsequent attempts will be observable by a FileObserver.
Original comment by coreform
on 13 Oct 2014 at 11:50
I ran into the same issue. Here is a solution (only a bit over a year late).
After saving the new picture, call the following method and give the second
parameter the filename of the picture:
public static void scanFile(Context context, String filename)
{
context.getApplicationContext().sendBroadcast(
new Intent("android.intent.action.MEDIA_SCANNER_SCAN_FILE",
Uri.fromFile(new File(filename))));
}
Original comment by andresac...@gmail.com
on 7 Mar 2015 at 5:18
Original issue reported on code.google.com by
groupwis...@gmail.com
on 18 Dec 2013 at 12:35