Just FYI, this bug might be relevant:
http://code.google.com/p/android/issues/detail?id=1480
Basically, the existing MediaStore.ACTION_IMAGE_CAPTURE intent is
probably all what you need, the only problem is the returned image is
not full-sized.
BoD
On May 7, 4:37 pm, Anna PS
Is it possible to share the code! I am creating also such application
where i wanted to take a picture and upload this picture to my
website!
Can I take a picture with the emulator?
Thank you,
Wouter
On May 8, 12:30 am, Anna PS annapowellsm...@googlemail.com wrote:
1. Thumbnail display.
Hi Mark,
I've used the camera code from the Advanced Android book and it's
working nicely. Thank you.
Just a couple of basic questions (for Mark, or anyone else) about the
retrieval/URI issue, both assuming the photo is saved on the SD card
as photo.jpg.
1. Thumbnail display. When I go back to
1. Thumbnail display. When I go back to the first screen of the
application, I want to show an ImageView of the jpeg that the user has
just taken. Current code, which doesn't work because it's not looking
in the SD card:
bmp = BitmapFactory.decodeStream(openFileInput(photo.jpg));
1. Thumbnail display. When I go back to the first screen of the
application, I want to show an ImageView of the jpeg that the user has
just taken. Current code, which doesn't work because it's not looking
in the SD card:
bmp = BitmapFactory.decodeStream(openFileInput(photo.jpg));
Anna PS wrote:
I need to start the Camera activity from within my application, take a
picture, and return the photo URI to another activity.
Surely this should be straightforward? But the Camera API sample code
doesn't show how to get the URI. I can't find the answer on this
forum, either.
I need to start the Camera activity from within my application, take a
picture, and return the photo URI to another activity.
Ugh. The more I search for answers, the more baffled I get...
Here's what I need to do:
- From the home screen, have a big button saying Click here to take a
photo
-
Anna PS wrote:
Ugh. The more I search for answers, the more baffled I get...
Here's what I need to do:
- From the home screen, have a big button saying Click here to take a
photo
You might be able to do that with an AppWidget in 1.5, but otherwise,
there is no means of doing a big button
Anna PS wrote:
Thanks Mark. I've tried to intercept the Camera class's onKeyDown
event to save a picture and take the URI back to my home activity -
code below.
There is no onKeyDown() in the Camera class.
http://developer.android.com/reference/android/hardware/Camera.html
Unfortunately,
- From the home screen, have a big button saying Click here to take a
photo
You might be able to do that with an AppWidget in 1.5, but otherwise,
there is no means of doing a big button on the home screen.
Sorry, my fault, I'm not being clear. What I mean is that I want to
start my
Thanks Mark (sorry to have two separate threads going on here). I'll
take a look at the code in your book.
If I succeed, I'll post my code here for others to use.
Links from other readers also much appreciated.
Best wishes,
Anna
On May 7, 1:03 am, Mark Murphy mmur...@commonsware.com wrote:
Anna PS wrote:
What I don't know is what
to launch when the user clicks on it. A modified version of the Camera
class, or something like MediaStore.ACTION_IMAGE_CAPTURE?
I haven't used the latter, so I can't comment on it.
I need to (a) display the photo as a thumbnail on the activity's
12 matches
Mail list logo