Page 1 of 1

mobilePickPhoto and cancel by user crashes Android app

Posted: Sun Nov 22, 2015 2:57 pm
by dmeier
Hi

I have an App that lets the user shoot a pict. Shooting the pict works well but if the user chooses to go back to the app without taking a picture (cancel) then the app behaves strange. I can go back to the app once maybe twice but then the app crashes (Error Msg: MyApp is not responding. Do you want to close it?). The same happens with mobilePickPhot "Library".

The same app works without problems on iOS with exactly the same code....

Does anybody know about this behaviour of Android and even better knows how to amend?

Regards
David

Re: mobilePickPhoto and cancel by user crashes Android app

Posted: Tue Nov 24, 2015 8:42 am
by dmeier
After further investigations I have found that there is a bug report about Android's strange behaviour when it comes to and camera usage. So I added my observations there:
http://quality.livecode.com/show_bug.cgi?id=11118

Whoever wants to replicate the strange behavior can use the attached stack in the bug report.

Regards

David