Android Question camex setParameter() problem

drgottjr

Expert
Licensed User
Longtime User
so my tesseract app is crashing under android 7 for reasons that are being looked into at the highest level.

in the meantime, i bought a 5.1.1 lte device so i don't have to carry my nexus 5 around on the mean streets and drop it. i deployed my tesseract app to it. since it's not android 7, i thought it would run. it fails, but for a totally different reason (i'm guessing).

please refer to the attached screen capture showing the camex code and the error log.

so, 2 questions: what's the issue with the setparameter() call? and why was the error trap for that call
commented out? (i am 99.99% sure it comes that way from the "factory", as i had no reason to comment
it out myself.)

so, i think, that's funny because i have a little camera app that doesn't crash when deployed to this
same device. only it uses an earlier version of the camex class (1.01 vs 1.30). both have the same
setparameter() call (except the earlier library has the try/catch construct commented out in the later
version). regardless, the setparameter() call seems to work for the earlier version of the class.
both apps use the camera 2.20 library and the 2.40 reflection library. any thoughts as to the issue here?

thanks.
-go
 

Attachments

  • alcatel-crash.jpg
    286.4 KB · Views: 218

drgottjr

Expert
Licensed User
Longtime User
sorry, the error occurs at setparameters(), not setparameter(). my mistake. setparameters() appears only once: in the camex class. in version 1.01 of the class, setparameters() is surrounded by try/catch. in version 1.30, the trapping has been commented out. i've downloaded version 1.30 again to make sure. un-commenting avoids the crash, but i'm assuming it was commented out for a reason in the first place.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…