Skip to main content
Inspiring
March 4, 2013
Question

Has anyone used the camera on the Playbook? Is it too zoomed in for you?

  • March 4, 2013
  • 2 replies
  • 664 views

On the playbook OS 2.1, when I compare what I am seeing between the camera in an app  and the native camera app - I see about half as much - so the Air app camera looks zoomed in by a factor of 1.5 or 2.

Here, somewhat, is my code.  I have tried without a holder and scaling my holder down to make sure there is no video outside the screen and there is not.  What is in my camera is just zoomed in!  I have also tried it with the desktop webcam and it is mostly comparible in zoom - Flash cuts off a little compared to the Web cam software but not nearly as much as on the Playbook.  Any thoughts?

cam = new Video(1024, 600); 

myTimer = new Timer(200, 1);

myTimer.addEventListener(TimerEvent.TIMER, init);

myTimer.start();

holder = new MovieClip();

addChildAt(holder,0);

// then in the init

signal = Camera.getCamera("1");

signal.setMotionLevel(1,10000);

signal.setQuality(0, 100);

signal.setKeyFrameInterval(30);

signal.setMode(cam.width, cam.height, 30, false);

cam.attachCamera(signal);

holder.addChild(cam);

This topic has been closed for replies.

2 replies

Innovatology
Participating Frequently
March 31, 2013

Probably better to ask over in the BlackBerry AIR developer forum:

http://supportforums.blackberry.com/t5/Adobe-AIR-Development/bd-p/tablet

Dan ZenAuthor
Inspiring
March 5, 2013

The other thing (Adobe) is that the camera does not flip with the app - so you can turn the app upside down and everything goes upside down except the camera.  We can work around this by rotating a holder but that is a cludge.