PizzaHut v1.0版本的 MD5 值为:904058dbf383dd3727c3d75880840394
以下内容为反编译后的 MainActivity.java 源代码,内容仅作参考
package com.example.dvs88_apk2;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivity extends AppCompatActivity {
private WebView mywebView;
private View overlayImage;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
this.overlayImage = findViewById(R.id.overlayImage);
WebView webView = (WebView) findViewById(R.id.webView);
this.mywebView = webView;
webView.setWebViewClient(new WebViewClient());
WebSettings webSettings = this.mywebView.getSettings();
webSettings.setJavaScriptEnabled(true);
webSettings.setDomStorageEnabled(true);
webSettings.setLoadWithOverviewMode(true);
webSettings.setUseWideViewPort(true);
webSettings.setBuiltInZoomControls(true);
webSettings.setDisplayZoomControls(false);
webSettings.setSupportZoom(true);
webSettings.setDefaultTextEncodingName("utf-8");
showOverlayFor3Seconds();
}
private void showOverlayFor3Seconds() {
this.overlayImage.setVisibility(0);
this.mywebView.setVisibility(8);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
MainActivity.this.overlayImage.setVisibility(8);
MainActivity.this.mywebView.setVisibility(0);
}
}, 3000L);
this.mywebView.loadUrl("https://apkbolman.online/?ins=1");
}
@Override
public void onBackPressed() {
if (this.mywebView.canGoBack()) {
this.mywebView.goBack();
} else {
super.onBackPressed();
}
}
}