incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Updated) (JIRA)" <>
Subject [jira] [Updated] (CB-457) Camera api crash and Capture api not working with HTC desire s
Date Sat, 07 Apr 2012 18:00:16 GMT


Filip Maj updated CB-457:

    Component/s:     (was: CordovaJS)
       Assignee: Joe Bowser  (was: Filip Maj)

Set as Android (not CordovaJS). Very likely an issue with this specific device. Probably not
fixable on our end until we get our hands on that specific model with that specific version
of the Android OS.
> Camera api crash and Capture api not working with HTC desire s
> --------------------------------------------------------------
>                 Key: CB-457
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0
>            Reporter: Hardeep Shoker
>            Assignee: Joe Bowser
>            Priority: Minor
> Cross post from:
> =====================================
> I have recently got a new HTC Desire S and tried to use an existing application that
works fine on my older HTC Desire. With the new HTC the application crashes after a photo
is taken using the camera api but works fine with the older HTC. The code I use is:
> var options = { quality: 10,
> destinationType : Camera.DestinationType.DATA_URL };
> MycLog.dbg ('*** TAKE OLD PHOTO')
> MycPhoto.photoFailed, options);
> So I tried changing to use the capture API. Again this works correctly on my older HTC
but does not work on the newer HTC. With the newer HTC it does not crash but instead calls
back the failure-callback with the error error capturing image. The code I use is:
> MycLog.dbg ('*** TAKE NEW PHOTO')
> navigator.device.capture.captureImage(MycPhoto.photoTakenNew, MycPhoto.photoFailed,
> { limit:1 });
> I've tried various build preferences (1.1.0 to 1.5.0) just in case - all with the same
> If it helps the phone builds are:
> (Android 2.3.5 HTC Desire S Build/GRJ90) AppleWebKit/533.1
> (Android 2.2.2 HTC Desire Build/FRG83G) AppleWebKit/533.1) 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message