incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Updated) (JIRA)" <j...@apache.org>
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

     [ https://issues.apache.org/jira/browse/CB-457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj updated CB-457:
-------------------------

    Component/s:     (was: CordovaJS)
                 Android
       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: https://issues.apache.org/jira/browse/CB-457
>             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:
> http://community.phonegap.com/nitobi/topics/help_camera_and_capture_api_not_working_with_htc_desire_s?utm_content=topic_link&utm_medium=email&utm_source=new_topic
> =====================================
> 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')
> navigator.camera.getPicture(MycPhoto.photoTaken,
> 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
effect.
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message