Take a photo create two pictures in gallery - android

I try to use examples to create a photo with a camera phone (flash.media.CameraUI):
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.html
http://blog.everythingflex.com/2010/09/20/air-on-android-cameraui/
Everything is working fine. But for some reason the gallery always saves two of the same shot.
I can not find the reason.

Related

Accessing camera at same time

Let say there is an online proctor application that is using webcam while examination and they're giving
an option to upload the photo of written answer that is on A4 sheet through camera.
So i just want to know is it possible that when we're taking picture of answer at that time also they using camera as a webcam .
because i think it can use either for webcam or for clicking photos

Android stop camera from saving to gallery

I am working on an app that uses the phones camera app, and on some phones the images is being saved to the gallery and on other phones not. Is there a way to make the camera app not save that image at all? I want to save the image another place, under another name and not visible in gallery(If possible). One idea iv'e come up with is to delete the image from gallery right after it leaves the camera app, but dont like that idea.

capture many photos, display & save them in android

I 'm working on a new apps for android , that ask the user about how many image he would like to capture, display all & then save.
The number of captured photos works correctly, but when I go to the display's layout only the one photo is shown, I tried "switch" instead of writing them all but nothing seems to work.
Is there any specific code may do that ?!

Android How to create new photo album and add it to default phone gallery in Code

I have an app, let's call it FilterAppX
it basically let's you load an image, and I will customize it, say by adding a flower to it, or some silly items.
Now after processing the image, I will save it.
I want to be able to create a photo album to the default Gallery app that comes with all the android phones, so for Galaxy S2 for instance, there is an app (not dowloaded from appStore, it comes with the phone) called "Gallery", which it lets you choose many different images that you took with the phone, either from the camera just now, or screen capture, or whatever
so something like the screen shot below
so as you can see, this is a screen shot from default android phone on galaxy s2
i have downloaded some other apps, and it creates its own album that has the app's name, so i know it is possible and i am trying to do the same thing
basically i want a folder called "FilterAppX" which has the pictures taken by my map
how can i do this?
you just make your own folder that has photos made by "FilterAppX".
In case of you, the directory is "~/sdcards/FilterAppX".

Can you "wrap" the stock camera's functionality on a droid phone?

My company has a need to print a timestamp on images taken on a droid. Another developer mentioned that we could wrap the entire functionality of the stock camera, then once a photo is taken, embed the timestamp on it. Can this be done, and if so, how simple/complex would it be?
Pretty simple actually. Definitely way simpler then writing a camera app from scratch.
Here is a short overview to give you a few keywords:
You need to fire a ACTION_IMAGE_CAPTURE intent,
this launches the devices camera app and prompts the user to take a picture (stock app or not doesn't even matter). When the picture is taken it will return to your app¹. At this point you'll get a file URI of the taken image that points to a JPEG usually.
Once you have that, load the image via the BitmapFactory into a Bitmap object and edit it by using a Canvas. You can use Canvas.drawText() to draw the text. Then store it where you need it, send it off the device or do whatever you want with it. And that's all the magic.
¹ here is a small example how to do that, found via google, there are plenty more out there

Categories

Resources