MD5 校验值:c9acc583577d8b1a394e7959c947bec3
tryit.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.dfastapkmodtips.CologniDEFirstApp; import android.app.ProgressDialog; import android.content.ActivityNotFoundException; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.widget.Button; import androidx.appcompat.app.AlertDialog; import androidx.appcompat.app.AppCompatActivity; import com.applovin.mediation.MaxAd; import com.applovin.mediation.MaxAdViewAdListener; import com.applovin.mediation.MaxError; import com.dfastapkmodtips.CologniDEFirstApp.Activity.HomeActivity; import com.dfastapkmodtips.CologniDEFirstApp.common.SplashScreen; import com.safedk.android.utils.Logger; public class tryit extends AppCompatActivity implements MaxAdViewAdListener { int b = 0; Button privacy; Button rate; Button tryit; public static void safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit p0, Intent p1) { Logger.d("SafeDK-Special|SafeDK: Call> Lcom/dfastapkmodtips/CologniDEFirstApp/tryit;->startActivity(Landroid/content/Intent;)V"); if (p1 == null) { return; } p0.startActivity(p1); } @Override public void onAdClicked(MaxAd maxAd) { } @Override public void onAdCollapsed(MaxAd maxAd) { } @Override public void onAdDisplayFailed(MaxAd maxAd, MaxError maxError) { } @Override public void onAdDisplayed(MaxAd maxAd) { } @Override public void onAdExpanded(MaxAd maxAd) { } @Override public void onAdLoadFailed(String str, MaxError maxError) { } @Override public void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.activity_tryit); getSupportActionBar().hide(); this.tryit = (Button) findViewById(R.id.tryit); this.privacy = (Button) findViewById(R.id.privacy); this.rate = (Button) findViewById(R.id.rate); ac_next.createBannerAd(this); this.tryit.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if (!SplashScreen.isOnline(tryit.this.getApplicationContext())) { AlertDialog.Builder builder = new AlertDialog.Builder(tryit.this); builder.setMessage(tryit.this.getResources().getString(R.string.conictio_all)); builder.setCancelable(true); builder.setPositiveButton("ok", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { dialogInterface.cancel(); } }); builder.create().show(); return; } ac_next.mDialog = ProgressDialog.show(tryit.this, "Please wait...", "Retrieving data ...", true); ac_next.createInterstitialAd(tryit.this); tryit.this.b = 1; } }); this.privacy.setOnClickListener(new View.OnClickListener() { public static void safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit p0, Intent p1) { Logger.d("SafeDK-Special|SafeDK: Call> Lcom/dfastapkmodtips/CologniDEFirstApp/tryit;->startActivity(Landroid/content/Intent;)V"); if (p1 == null) { return; } p0.startActivity(p1); } @Override public void onClick(View view) { safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit.this, new Intent(tryit.this, (Class<?>) privacy.class)); } }); this.rate.setOnClickListener(new View.OnClickListener() { public static void safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit p0, Intent p1) { Logger.d("SafeDK-Special|SafeDK: Call> Lcom/dfastapkmodtips/CologniDEFirstApp/tryit;->startActivity(Landroid/content/Intent;)V"); if (p1 == null) { return; } p0.startActivity(p1); } @Override public void onClick(View view) { try { safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit.this, new Intent("android.intent.action.VIEW", Uri.parse("market://details?id=" + tryit.this.getPackageName()))); } catch (ActivityNotFoundException unused) { safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(tryit.this, new Intent("android.intent.action.VIEW", Uri.parse("https://play.google.com/store/apps/details?id=" + tryit.this.getPackageName()))); } } }); } @Override public void onAdLoaded(MaxAd maxAd) { if (this.b == 1) { ac_next.interstitialAd.showAd(); } } @Override public void onAdHidden(MaxAd maxAd) { ac_next.mDialog.dismiss(); if (this.b == 1) { safedk_tryit_startActivity_edc8267b4ea06ca13848cf514aac3ee3(this, new Intent(this, (Class<?>) HomeActivity.class)); } } }