mobileExportImageToAlbum doesn't work with Android 10

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
simon.schvartzman
Posts: 652
Joined: Tue Jul 29, 2014 12:52 am

mobileExportImageToAlbum doesn't work with Android 10

Post by simon.schvartzman » Mon May 17, 2021 10:40 pm

Hi all, I've this application that saves pictures to the device, it has been working for 3 years now and today users with Android 10 (Samsung Galaxy J8) are reporting photos are not being saved to the Pictures folder of the device. I was able to reproduce the behaviour on a Motorola One running Android 10 as well.

All the permissions are properly set.

The result of the command returns empty, meaning everything went OK.

There was a thread about this in the past viewtopic.php?f=53&t=33752&p=188803&hil ... um#p188803 and a bug that was closed in 9.6.0 DP-4 according to this quality report https://quality.livecode.com/show_bug.cgi?id=22054

I've tried compiling with LC 9.6.1 and LC 9.6.2 rc5 and both behave the same, picture is not shown.

Interestingly enough on another device running Android 11 everything works as expected.

Anyone has experienced something similar? Any hints?

Many thanks
Simon
________________________________________
To ";" or not to ";" that is the question

SparkOut
Posts: 2894
Joined: Sun Sep 23, 2007 4:58 pm

Re: mobileExportImageToAlbum doesn't work with Android 10

Post by SparkOut » Tue May 18, 2021 7:34 am

Sorry I can't help, but I wonder if you try with 9.6.0 DP-4 whether the problem is exhibited there. If not, then presumably there is a regression bug. Otherwise it's probably not quite the exact same issue and will need a separate report.

simon.schvartzman
Posts: 652
Joined: Tue Jul 29, 2014 12:52 am

Re: mobileExportImageToAlbum doesn't work with Android 10

Post by simon.schvartzman » Tue May 18, 2021 5:08 pm

@SparkOut, you hit the target! Problem doesn't shows when standalone is saved using LC 9.6.0 DP-4.

I'm going to report to the mothership and then decide my next step: going back to 9.6.0 DP-4 in order to solve my clients problems or wait for LC to release a new 9.6.2 incorporating the fix

Thanks for you suggestion!
Simon
________________________________________
To ";" or not to ";" that is the question

SparkOut
Posts: 2894
Joined: Sun Sep 23, 2007 4:58 pm

Re: mobileExportImageToAlbum doesn't work with Android 10

Post by SparkOut » Tue May 18, 2021 6:02 pm

Urgh, I hate regression bugs.
Make sure to go back and reopen the bug report with further info about the regression.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 848
Joined: Fri Feb 06, 2015 4:03 pm

Re: mobileExportImageToAlbum doesn't work with Android 10

Post by LiveCode_Panos » Wed May 19, 2021 9:50 am

Hello all,

@Simon
Could you please file a new report, rather than reopening the old one, since I am not entirely sure if this is the same bug, since this issue is about mobileExportImageToAlbum, not mobilePick "photo".

Thanks!

Cheers,
Panos
--

simon.schvartzman
Posts: 652
Joined: Tue Jul 29, 2014 12:52 am

Re: mobileExportImageToAlbum doesn't work with Android 10

Post by simon.schvartzman » Wed May 19, 2021 10:33 am

Hi Panos, bug report opened here https://quality.livecode.com/show_bug.cgi?id=23212

Thanks
Simon
________________________________________
To ";" or not to ";" that is the question

Post Reply

Return to “Android Deployment”