The camera function suddenly disappeared!

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Peter@multidesk.se
Posts: 136
Joined: Fri Oct 14, 2011 6:53 am

The camera function suddenly disappeared!

Post by Peter@multidesk.se » Wed Jul 25, 2018 3:36 pm

Apparently, you can no longer build apps with "the old API" (# 24) anymore, so I used API 26 to rebuild my app.

Since Android Studio did not want to update to SDK 26, I had to rebuild the entire SDK folder by downloading everything again.
Yes, I know, this is obviously a source of possible errors. :? Not to mention the time it takes to download a million GB!


After that, "cameraControlCreate" and "mobilePickPhoto" ceased to function.

The app works as it should except that no camera appears.


What have I missed?


///Peter
/*Whats all the fuss with c# ?*/

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

Re: The camera function suddenly disappeared!

Post by LiveCode_Panos » Wed Jul 25, 2018 4:22 pm

Hello Peter,

You have not missed anything. This is a bug. You can add your email in the cc list of this report to get notifications about status updates.

https://quality.livecode.com/show_bug.cgi?id=20427

Best,
Panos
--

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

Re: The camera function suddenly disappeared!

Post by LiveCode_Panos » Wed Jul 25, 2018 4:49 pm

Hi Peter,

Hmm this should have been fixed in LC 9.0.1 RC-1. I just checked though, and found the following inconsistency:

If you check the "Camera" permission in the standalone settings, the camera is NOT shown.
If you uncheck the "Camera" permission, it is shown.

So hopefully a just boolean gets the wrong value. Can you confirm this works?

Best,
Panos
--

Peter@multidesk.se
Posts: 136
Joined: Fri Oct 14, 2011 6:53 am

Re: The camera function suddenly disappeared!

Post by Peter@multidesk.se » Wed Jul 25, 2018 6:31 pm

Panos,

This only works in part.

If I uncheck the "Camera" permission, the "mobilePickPhoto" works but the "cameraControlCreate" continues to not.

I tried this in LC 9.0.1 RC-1, running on a MacBook Pro (MacOS High Sierra) and I use an Galaxy S6 edge running Android 7.0


///Peter
/*Whats all the fuss with c# ?*/

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

Re: The camera function suddenly disappeared!

Post by LiveCode_Panos » Wed Jul 25, 2018 11:08 pm

Thanks for the update Peter, I had only tested with the "mobilePickPhoto" command.

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

Re: The camera function suddenly disappeared!

Post by LiveCode_Panos » Fri Aug 17, 2018 11:20 am

Hello all,

This issue should be fixed in the upcoming LC 9.0.1 rc2 release.

Best,
Panos
--

Post Reply

Return to “Android Deployment”