Bead 16 v1.1版本的 MD5 值为:0feb499a62de153f3afe9d06140d6c9a
以下内容为反编译后的 PrivacyPolicyActivity.java 源代码,内容仅作参考
package mairen.studio.bead;
import android.app.Activity;
import android.app.ProgressDialog;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ImageView;
import android.widget.Toast;
public class PrivacyPolicyActivity extends Activity {
ImageView f2622b;
WebView f2623c;
ProgressDialog f2624d;
class a implements View.OnClickListener {
a() {
}
@Override
public void onClick(View view) {
PrivacyPolicyActivity.this.onBackPressed();
}
}
class b extends WebViewClient {
final Activity f2626a;
b(Activity activity) {
this.f2626a = activity;
}
@Override
public void onPageFinished(WebView webView, String str) {
PrivacyPolicyActivity.this.f2624d.dismiss();
super.onPageFinished(webView, str);
}
@Override
public void onReceivedError(WebView webView, int i2, String str, String str2) {
Toast.makeText(this.f2626a, str, 0).show();
}
}
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.activity_privacy_policy);
ProgressDialog progressDialog = new ProgressDialog(this, 5);
this.f2624d = progressDialog;
progressDialog.setMessage("Please wait...");
this.f2624d.setCancelable(true);
this.f2622b = (ImageView) findViewById(R.id.fback);
this.f2623c = (WebView) findViewById(R.id.webView1);
this.f2622b.setOnClickListener(new a());
this.f2623c.getSettings().setJavaScriptEnabled(true);
this.f2623c.setWebViewClient(new b(this));
if (p1.a.a(getApplicationContext()).b(getApplicationContext())) {
this.f2624d.show();
this.f2623c.loadUrl("https://mairengamestudio.blogspot.com/2018/01/privacy-policy.html");
return;
}
this.f2624d.show();
this.f2623c.loadUrl("file:///android_asset/Privacypolicy.html");
Toast.makeText(getApplicationContext(), "Please connect to internet! ", 1).show();
}
}