/** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); App.getLogger().d(TAG, "SDK Version"); App.getLogger().d(TAG, "SDK Version: " + Build.VERSION.SDK_INT); // if (showAppRate()) // { // LikeAppDialog dialog = LikeAppDialog.newInstance(); // dialog.show(getSupportFragmentManager(), TAG); // } // else if (showAppBetaTest()) // { // BetaTestApplicationAlertDialog dialog = // BetaTestApplicationAlertDialog.newInstance(); // dialog.show(getSupportFragmentManager(), TAG); // } // else // { // GoToProxy(); // } // LogWrapper.d(TAG, "Finish onCreate"); }
@Override public void handleMessage(Message message) { Bundle b = message.getData(); App.getLogger().w(TAG, "handleMessage: " + b.toString()); refreshUI(); }
@Override protected void onStart() { super.onStart(); setProgressBarVisibility(true); App.getLogger().d(TAG, "Start"); }
private boolean validateBypass() { String value = proxyBypass.getExclusionString(); App.getLogger().d(TAG, "Exclusion list updated: " + value); ProxyStatusItem item = ProxyUtils.isProxyValidExclusionList(value); validationErrors.remove(item.statusCode); if (!item.result) { validationErrors.put(item.statusCode, item.message); return false; } else { selectedProxy.exclusion = value; return true; } }
@Override protected void onResume() { super.onResume(); App.getLogger().d(TAG, "Resume"); }
@Override protected void onDestroy() { App.getLogger().d(TAG, "Destroy"); super.onDestroy(); }
@Override protected void onStop() { App.getLogger().d(TAG, "Stop"); super.onStop(); }
@Override protected void onPause() { super.onPause(); App.getLogger().d(TAG, "Pause"); }
public void onBackPressed() { App.getLogger().d(TAG, "Back Pressed"); return; }