开发者

Android camera being landscaped in some devices

Im new to Android and I tried a tutorial for camera API. The tutorial works fine. When I use HTC desire I can see the camera view in both portrait and landscape, but when I 开发者_StackOverflow社区use Samsung Galaxy I get a the camera view only in a landscaped view. I tried the following code to rotate the camera view as well..

        Camera.Parameters parameters = camera.getParameters();                        
        parameters.setRotation(90);

then the camera doesn't work as expected. (screen splits into 4 and not clear). Does anyone have an idea for this issue ? Thanks.


The Samsung camera app will work as Samsung intended it to. Unfortunately, you won't be able to change another vendor's app behavior unless it was made to accept such changes.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜