Hi to all,
I'm following the Erel tutorial in order to take a pictures with internal camera.
The code work fine but when I display it in an imageview object the picture is in portrait mode.
The problem is that I take the picture in landscape mode.
Someone have any ideas about it?
If I understood you correctly, what you should do is to put the ImageView on an activity in landscape mode, you will have to modify your Manifest to do that.
To change the orientation you have to open the Manifest Editor and add this line (assuming the activity where you have that ImageView is called Camera)
Please, post source code above
1) Thake picture with the internal camera
2) save the picture in a SQLite DB
3) Display it within an ImageView object (it show in portrait mode)
Thanks,
Thanks Erel. but I keep the photo in a imageview on my form. How I saved this photo as a field of record in sqlite? (i have a class that has a photo field as bitmapdrawable)