thanx Adam, I am relativly new to android... can you please help me in
2 things

1) how to run the media scanner after i click an image in my
application...so that it could be shown in the Galary just after i
click it from my application.

2) how to rotate the picture clicked by default camera app to
landscape mode even if it is clicked in protrait mode... ....as i am
using the default app by intent .



On Apr 5, 1:30 am, Adam Ratana <[email protected]> wrote:
> Hi Vijay, I found it helpful to take a look at the 2.1 stock camera
> application source code itself for some ideas.  For 2.1 most people
> that I've spoken to have locked the activity to landscape as that is
> guaranteed to be supported by most phones.  Attempting to rotate to
> portrait may not be supported by all hardware running 2.1?  The stock
> camera activity itself is locked to landscape, and I've yet to see an
> application using the camera preview on my 2.1 device that does not do
> the same...  If anyone has any knowledge to the contrary it would be
> most welcome, for 2.1!
>
> http://grepcode.com/file/repository.grepcode.com/java/ext/com.google....
>
> On Apr 3, 11:04 am, vijay singh <[email protected]> wrote:
>
>
>
>
>
>
>
> > I am trying to develop an application which uses the camera in a
> > device....but my preview is 90 degrees rotated (anticlockwise) in both
> > landscape and portrait mode.....I tried mpreview.setRotation(90)
> > method but nothing happens.....
>
> > I am using the code somewhat similar to cameraPreview.java file
> > available with the SDK kit.
> > plz help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to