mobilePickPhoto and cancel by user crashes Android app

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dmeier
Posts: 15
Joined: Mon May 25, 2015 10:52 am

mobilePickPhoto and cancel by user crashes Android app

Post by dmeier » Sun Nov 22, 2015 2:57 pm

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

dmeier
Posts: 15
Joined: Mon May 25, 2015 10:52 am

Re: mobilePickPhoto and cancel by user crashes Android app

Post by dmeier » Tue Nov 24, 2015 8:42 am

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

Post Reply