Mod Injector V7 OB42(Babaji) v2.0版本的 MD5 值为:74d0db8f91115e0a24297ca59121617a
以下内容为反编译后的 DownloadActivity.java 源代码,内容仅作参考
package com.hackerbaba.injector;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.util.SparseBooleanArray;
import android.util.TypedValue;
import android.view.View;
import android.view.animation.ScaleAnimation;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.coordinatorlayout.widget.CoordinatorLayout;
import com.google.android.material.appbar.AppBarLayout;
import com.unity3d.ads.UnityAds;
import java.util.ArrayList;
import java.util.Random;
public class DownloadActivity extends AppCompatActivity {
private AppBarLayout _app_bar;
private CoordinatorLayout _coordinator;
private Toolbar _toolbar;
private Button button1;
private Button button7;
private Intent doo = new Intent();
private AlertDialog.Builder dooo;
private LinearLayout linear1;
private LinearLayout linear2;
private LinearLayout linear3;
private TextView textview1;
private TextView textview2;
private TextView textview8;
private ScrollView vscroll2;
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.download);
initialize(bundle);
initializeLogic();
}
private void initialize(Bundle bundle) {
this._app_bar = (AppBarLayout) findViewById(R.id._app_bar);
this._coordinator = (CoordinatorLayout) findViewById(R.id._coordinator);
this._toolbar = (Toolbar) findViewById(R.id._toolbar);
setSupportActionBar(this._toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setHomeButtonEnabled(true);
this._toolbar.setNavigationOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
DownloadActivity.this.onBackPressed();
}
});
this.linear1 = (LinearLayout) findViewById(R.id.linear1);
this.vscroll2 = (ScrollView) findViewById(R.id.vscroll2);
this.linear2 = (LinearLayout) findViewById(R.id.linear2);
this.textview1 = (TextView) findViewById(R.id.textview1);
this.textview2 = (TextView) findViewById(R.id.textview2);
this.linear3 = (LinearLayout) findViewById(R.id.linear3);
this.textview8 = (TextView) findViewById(R.id.textview8);
this.button7 = (Button) findViewById(R.id.button7);
this.button1 = (Button) findViewById(R.id.button1);
this.dooo = new AlertDialog.Builder(this);
this.button7.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
DownloadActivity.this._clickAnimation(DownloadActivity.this.button7);
SketchwareUtil.showMessage(DownloadActivity.this.getApplicationContext(), "Watch Ad To Start Download Hack☑️");
UnityAds.show(DownloadActivity.this, "down");
DownloadActivity.this.dooo.setMessage("👇🏻Download Your Hack👇🏻");
DownloadActivity.this.dooo.setPositiveButton("Click Here🔃", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
DownloadActivity.this.doo.setAction("android.intent.action.VIEW");
DownloadActivity.this.doo.setData(Uri.parse("https://www.mediafire.com/download/1nqojk46ba7mieu"));
DownloadActivity.this.startActivity(DownloadActivity.this.doo);
}
});
DownloadActivity.this.dooo.create().show();
}
});
this.button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
DownloadActivity.this._clickAnimation(DownloadActivity.this.button1);
SketchwareUtil.showMessage(DownloadActivity.this.getApplicationContext(), "Watch ad to download xapk☑️");
UnityAds.show(DownloadActivity.this, "down");
DownloadActivity.this.dooo.setMessage("👇🏻Download APK👇🏻");
DownloadActivity.this.dooo.setPositiveButton("Click Here🔃", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
DownloadActivity.this.doo.setAction("android.intent.action.VIEW");
DownloadActivity.this.doo.setData(Uri.parse("https://mega.nz/file/CA0WnDSL#n2CSZhDlLwwpM2Y7Yrgj_CKHoJufs_UELUx3JsKK_44"));
DownloadActivity.this.startActivity(DownloadActivity.this.doo);
}
});
DownloadActivity.this.dooo.create().show();
}
});
}
private void initializeLogic() {
GradientDrawable gradientDrawable = new GradientDrawable(GradientDrawable.Orientation.TOP_BOTTOM, new int[]{Color.parseColor("#FFFFFF"), Color.parseColor("#FFFFFF")});
gradientDrawable.setCornerRadii(new float[]{45.0f, 45.0f, 45.0f, 45.0f, 45.0f, 45.0f, 45.0f, 45.0f});
gradientDrawable.setStroke(6, Color.parseColor("#00FFFF"));
this.linear2.setElevation(60.0f);
this.linear2.setBackground(gradientDrawable);
_SetCronerRadius(this.button1, 100.0d, 15.0d, "#E91E63");
_SetCronerRadius(this.button7, 100.0d, 15.0d, "#E91E63");
}
public void _clickAnimation(View view) {
ScaleAnimation scaleAnimation = new ScaleAnimation(0.9f, 1.0f, 0.9f, 1.0f, 1, 0.5f, 1, 0.7f);
scaleAnimation.setDuration(300L);
scaleAnimation.setFillAfter(true);
view.startAnimation(scaleAnimation);
}
public void _SetCronerRadius(View view, double d, double d2, String str) {
GradientDrawable gradientDrawable = new GradientDrawable();
gradientDrawable.setColor(Color.parseColor(str));
gradientDrawable.setCornerRadius((float) d);
view.setElevation((float) d2);
view.setBackground(gradientDrawable);
}
@Deprecated
public void showMessage(String str) {
Toast.makeText(getApplicationContext(), str, 0).show();
}
@Deprecated
public int getLocationX(View view) {
int[] iArr = new int[2];
view.getLocationInWindow(iArr);
return iArr[0];
}
@Deprecated
public int getLocationY(View view) {
int[] iArr = new int[2];
view.getLocationInWindow(iArr);
return iArr[1];
}
@Deprecated
public int getRandom(int i, int i2) {
return new Random().nextInt((i2 - i) + 1) + i;
}
@Deprecated
public ArrayList<Double> getCheckedItemPositionsToArray(ListView listView) {
ArrayList<Double> arrayList = new ArrayList<>();
SparseBooleanArray checkedItemPositions = listView.getCheckedItemPositions();
for (int i = 0; i < checkedItemPositions.size(); i++) {
if (checkedItemPositions.valueAt(i)) {
arrayList.add(Double.valueOf(checkedItemPositions.keyAt(i)));
}
}
return arrayList;
}
@Deprecated
public float getDip(int i) {
return TypedValue.applyDimension(1, i, getResources().getDisplayMetrics());
}
@Deprecated
public int getDisplayWidthPixels() {
return getResources().getDisplayMetrics().widthPixels;
}
@Deprecated
public int getDisplayHeightPixels() {
return getResources().getDisplayMetrics().heightPixels;
}
}