public void onSettings(View v){
  if (sGoCoderSDK == null)   return;
  WZMediaConfig configs[]=(mWZCameraView != null ? getVideoConfigs(mWZCameraView) : new WZMediaConfig[0]);
  WZProfileLevel avcProfileLevels[]=WZEncoderAPI.getProfileLevels();
  if (avcProfileLevels.length > 1)   Arrays.sort(avcProfileLevels);
  Intent intent=new Intent(this,ConfigPrefsActivity.class);
  intent.putExtra(ConfigPrefs.PREFS_TYPE,ConfigPrefs.ALL_PREFS);
  intent.putExtra(ConfigPrefs.VIDEO_CONFIGS,configs);
  intent.putExtra(ConfigPrefs.H264_PROFILE_LEVELS,avcProfileLevels);
  startActivity(intent);
}

public void onSettings ( View v ) { if ( sGoCoderSDK == null ) return ; WZMediaConfig configs [ ] = ( mWZCameraView != null ? getVideoConfigs ( mWZCameraView ) : new WZMediaConfig [ 0 ] ) ; WZProfileLevel avcProfileLevels [ ] = WZEncoderAPI . getProfileLevels ( ) ; if ( avcProfileLevels . length > 1 ) Arrays . sort ( avcProfileLevels ) ; Intent intent = new Intent ( this , ConfigPrefsActivity . class ) ; intent . putExtra ( ConfigPrefs . PREFS_TYPE , ConfigPrefs . ALL_PREFS ) ; intent . putExtra ( ConfigPrefs . VIDEO_CONFIGS , configs ) ; intent . putExtra ( ConfigPrefs . H264_PROFILE_LEVELS , avcProfileLevels ) ; startActivity ( intent ) ; }
click handler for the settings button
