[android-developers] Problem with Camera on HTC Sensation & HTC Incredible 2

2012-02-23 Thread lexstarwind
I've been developing an application that uses the camera. It's been tested on several phones, but I seem to be having trouble with the HTC phones. I can't get the zoom to work on the HTC sensation. I'm initializing the zoom by using a function similar to this one: private void initZoom() {

[android-developers] Problem with Camera images

2011-09-26 Thread Chenna
Hi I am developing a App for enterprise business, My business app needs in portrait mode. I have top and bottom tool bar and i need a camera in middle frame. I have created a nested LinearLayout for top toobar and bottom tool bar. And added FrameLayout in middle. Created a SurfaceView for camera a

Re: [android-developers] problem with camera

2010-11-29 Thread TreKing
On Mon, Nov 29, 2010 at 3:08 AM, Arman wrote: > on real device (nexus one) i have got "unexpectedly stopped" > You want to post the stack trace? - TreKing

[android-developers] problem with camera

2010-11-29 Thread Arman
hi I'm new to android and I'm developing a camera app, my code (which so far just starts preview!) works fine on emulator, but on real device (nexus one) i have got "unexpectedly stopped". i will be thankful if somebody help me, here is my code: package com.camera; import java.io.IOException; im

[android-developers] Problem with camera preview in portrait mode

2010-11-17 Thread cyril tosty
Hi all, I'm not able to display the camera preview in portrait mode with Samsung S. The preview is not well oriented. I have try to rotate it with the following camera API but nothing change. *params.set("orientation", "landscape"); params.set("rotation", 0); *Is there a known issue on Samsung S

[android-developers] Problem with Camera Picture display - Black screen on G1 :(

2009-05-18 Thread lori lori
Hello Everyone, Please help me in displaying picture taken from camera on G1 device. Camera preview display and canvas to draw picture should use the same surface holder (mHolder). Camera camera = Camera.open(); if (camera != null) { try { camera.setPreviewDisplay(mHolder); } catch (IOExcep

[android-developers] Problem with Camera and layout orientation

2009-04-09 Thread mobilek...@googlemail.com
Hi, I've been trying to solve this for awhile now, and still couldn't find a solution to it. To properly display my SirfaceView consumed by the camera, I have forced my activity's layout in landscape mode. However, in my app the camera functionaluty will be mostly used in portait mode, and therefo