private const val NOF_AREA_VERTICAL = 9.0f
private const val RADIUS = 5.0f
private const val showTouchedPosition = false
-
}
init
{
+ try
+ {
+ currentCameraControlId = preference.getCameraOption1().toInt() - 1
+ }
+ catch (e: Exception)
+ {
+ e.printStackTrace()
+ currentCameraControlId = -1
+ }
ScaleGestureDetectorCompat.setQuickScaleEnabled(scaleGestureDetector, true)
gestureDetector.setIsLongpressEnabled(true)
}
}
count++
} while (count <= MAX_CONTROL_CAMERAS)
+ preference.getUpdater()?.setCameraOption1(currentCameraControlId.toString())
}
- catch (e : Exception)
+ catch (e: Exception)
{
e.printStackTrace()
}
<string-array name="connection_method">
<item>None</item>
- <item>Status Panel</item>
+ <item>Console Panel</item>
<item>Show Example</item>
<item>Internal Camera</item>
<item>Ricoh GR / PENTAX</item>