Camera Control Auto Focus Issues with Survey123 for Android

2800
7
05-09-2016 06:36 AM
AndrewLand
New Contributor II

The camera control in Survey123 1.3.38 for Android doesn't auto focus, is this a known issue with a planned fix?  This has been observed in Android 4.2.2 and 6.01.  Auto focus within the camera control is supported with Survey123 for iOS.

0 Kudos
7 Replies
nakulmanocha
Esri Regular Contributor

To fix the issue, please add the following code in you survey123 source code to the camera component in XFormCameraCapture.qml

 

focus {

  focusMode: Camera.FocusContinuous
 focusPointMode: Camera.FocusPointAuto

}

 

-Nakul

0 Kudos
ChristopherMcClain
Occasional Contributor II

How would one go about doing this?

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Christopher,

The instructions above are relevant if you have AppStudio for ArcGIS Desktop and are building your own copy of Survey123.  As the code fix indicates, we've identified the issue and it will be corrected in a future release of Survey123.

KevinRobert1
New Contributor III

Hi James, was there ever a fix for this other than fixing it in AppStudio?

Thanks,

Kevin

0 Kudos
JamesTedrick
Esri Esteemed Contributor

Hi Kevin,

Yes, work was done to enable auto-focus in the middle of 2017; that being said, it appeared that not all Android phones were addressed by the work.  What device are you experiencing auto-focus issues with?

0 Kudos
KevinRobert1
New Contributor III

Hi James,

We're experiencing this issue on a Galaxy Tab E LTE 8", on Android Version 7.1.1.

0 Kudos
BernardRomey
New Contributor

I have an android tablet with current Survey123 and the autofocus is not working.  Should I assume that ESRI is taking over 4 years to resolve the autofocus issue on Android?

Your help appreciated.

0 Kudos