final String getCommandListUrl = "http://192.168.0.10/get_commandlist.cgi";
final String getConnectModeUrl = "http://192.168.0.10/get_connectmode.cgi";
final String switchCameraModeUrl = "http://192.168.0.10/switch_cammode.cgi";
- //final String getCameraStatusUrl = "http://192.168.0.10/get_state.cgi";
+ //final String getCameraStatusUrl = "http://192.168.0.10/get_activate.cgi";
final int TIMEOUT_MS = 5000;
try
String response4 = SimpleHttpClient.httpGetWithHeader(lvUrl, headerMap, null, TIMEOUT_MS);
Log.v(TAG, " " + lvUrl + " " + response4);
- // カメラのステータス取得
+ //// カメラのステータス取得
//String response5 = SimpleHttpClient.httpGetWithHeader(getCameraStatusUrl, headerMap, null, TIMEOUT_MS);
//Log.v(TAG, " " + getCameraStatusUrl + " " + response5);
*
*/
@Override
- public void onAttach(Context context)
+ public void onAttach(@NonNull Context context)
{
super.onAttach(context);
Log.v(TAG, "onAttach()");
}
else if (connectionMethod == ICameraConnection.CameraConnectionMethod.OLYMPUS)
{
- /*
- if (favoriteButton != null)
- {
- favoriteButton.setVisibility(View.VISIBLE);
- favoriteButton.setOnClickListener(onClickTouchListener);
- }
if (manualFocus != null)
{
manualFocus.setVisibility(View.INVISIBLE);
}
- if (changeLiveViewScale != null)
+ if (favoriteButton != null)
{
- changeLiveViewScale.setVisibility(View.INVISIBLE);
+ favoriteButton.setVisibility(View.INVISIBLE);
+ //favoriteButton.setOnClickListener(onClickTouchListener);
}
if (focusIndicator != null)
{
}
if (propertyButton != null)
{
- propertyButton.setOnClickListener(onClickTouchListener);
+ propertyButton.setVisibility(View.INVISIBLE);
+ //propertyButton.setOnClickListener(onClickTouchListener);
+ }
+ if (changeLiveViewScale != null)
+ {
+ changeLiveViewScale.setVisibility(View.INVISIBLE);
}
- */
}
}
if (manualFocus != null)