12-13-2012 12:44 PM
maribou wrote:
I am not sure I can get my hands on a more up-to-date device prior to the 10k deadline. Oh well, as long as this problem is limited to a small number of the original Alphas, we shouldn't worry about it too much. What we need is a smooth BlackBerry 10 launch and good market acceptance. Then both RIM and third-party developers will be ok in the long run.
I'm sure community members would be able to help test your app out for you. I'd like to ideally see an RMA/upgrade for the affected devices if it is blocking development (I have started a dialogue on this), or at the very least, if the developer agreements allow for it, to try and organize a community pool of folks willing to test apps, or even swap devices if their apps do not depend on the camera.
Cheers,
Sean
12-13-2012 12:48 PM - edited 12-13-2012 12:52 PM
Here is the front camera result:
Initially:
viewfinder window found! Touch event camera_take_photo() error 5 Release event
30..40 seconds later (the phone went on standby prior to the second attempt to take picture)
Touch event camera_take_photo() error 45 Move event Move event Release event
After another 30 seconds, I get error 45 while attempting to take picture.
What do those error codes represent (5 and 45)?
12-13-2012 12:59 PM - edited 12-13-2012 01:00 PM
If you can prevent it from going into standby (increase the screen-lock timer in settings->display to 5 minutes or something), that would be a good test. When the device goes into standby, we actually power down the camera hardware, so the results could be misleading.
The error numbers correspond to members of camera_error_t (camera_api.h), which in turn just translate to errno.h codes. 5 = EIO, 45 = EDEADLK. Both of these are pointing me towards a similar conclusion.
So to confirm, this was after changing to CAMERA_UNIT_FRONT ?
Cheers,
Sean
12-13-2012 01:12 PM
Yes it was the front camera:
// open camera and configure viewfinder
//if (init_camera(CAMERA_UNIT_REAR) == EOK) {
if (init_camera(CAMERA_UNIT_FRONT) == EOK) {
Without the screen-lock I only see error 5:
viewfinder window found! Touch event camera_take_photo() error 5 Release event --- after 30-40 sec --- Touch event camera_take_photo() error 5 Release event --- another 30-40 sec --- Touch event camera_take_photo() error 5 Release event
12-13-2012 01:17 PM
Hi Sean,
as requested my anwsers:
1. I'm using a Dev Alpha A
2. I'm planning to write camera apps and working on camera support for openFrameworks add-on ofxQNX https://github.com/falcon4ever/ofxQNX
3. OS version: 10.0.9.1675
4. Yes
5. Yes, app seems to lockup
6. No photos are captured the console only outputs this:
viewfinder window found!
Touch event
camera_take_photo() error 5Move event
Move event
Release event
Touch event
camera_take_photo() error 5Move event
Move event
Move event
A video and report of the issue: https://www.blackberry.com/jira/browse/BBTEN-529
12-13-2012 01:23 PM
maribou wrote:
Without the screen-lock I only see error 5:
Thanks!
12-13-2012 06:40 PM
Hi,
just to add me to the list:
As someone said before. I think you guys got more important stuff to focus on! But if you think this could be a potential bug that might also impact the final device then I would be more than happy to help to fix it.
Cheers,
Toby
12-14-2012 04:57 AM
And one more thing,
Once the camera app got stucked I am unable to play video in general.
Then I have to restart the device, with out opening the cam, I am able to play the video,
Again if I start the cam then it is stucking and I am unable to play any video throug the program also.
Thanks.
12-14-2012 07:42 AM
12-14-2012 10:15 AM
pradeep_ch wrote:
Once the camera app got stucked I am unable to play video in general.
Then I have to restart the device, with out opening the cam, I am able to play the video,
Great.. thanks for this. This was what I was expecting to hear, but I wasn't sure if there was an easily accessible video player on the Dev Alpha build that you are using.
Cheers,
Sean