MD5 校验值:5d19991d3c1c0a41ab5f1348b67e6a2c
MainActivity.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.sukuna.jod; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.util.DisplayMetrics; import android.util.SparseBooleanArray; import android.util.TypedValue; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.MediaController; import android.widget.RelativeLayout; import android.widget.TextView; import android.widget.Toast; import android.widget.VideoView; import java.util.ArrayList; import java.util.Random; public class MainActivity extends Activity { private Button button1; private Button button2; private EditText edittext1; private Intent i = new Intent(); private LinearLayout linear1; private LinearLayout linear2; private LinearLayout linear34; private LinearLayout linear35; private LinearLayout linear36; private LinearLayout linear37; private LinearLayout linear38; private LinearLayout linear39; private LinearLayout linear40; private LinearLayout linear41; private LinearLayout linear42; private LinearLayout linear43; private LinearLayout linear44; private LinearLayout linear45; private LinearLayout linear47; private TextView textview1; @Override protected void onCreate(Bundle bundle) { super.onCreate(bundle); setContentView(R.layout.main); initialize(bundle); initializeLogic(); } private void initialize(Bundle bundle) { this.linear1 = (LinearLayout) findViewById(R.id.linear1); this.linear2 = (LinearLayout) findViewById(R.id.linear2); this.linear47 = (LinearLayout) findViewById(R.id.linear47); this.linear45 = (LinearLayout) findViewById(R.id.linear45); this.linear43 = (LinearLayout) findViewById(R.id.linear43); this.linear41 = (LinearLayout) findViewById(R.id.linear41); this.linear39 = (LinearLayout) findViewById(R.id.linear39); this.linear34 = (LinearLayout) findViewById(R.id.linear34); this.linear40 = (LinearLayout) findViewById(R.id.linear40); this.linear42 = (LinearLayout) findViewById(R.id.linear42); this.linear44 = (LinearLayout) findViewById(R.id.linear44); this.button2 = (Button) findViewById(R.id.button2); this.linear35 = (LinearLayout) findViewById(R.id.linear35); this.linear36 = (LinearLayout) findViewById(R.id.linear36); this.linear37 = (LinearLayout) findViewById(R.id.linear37); this.linear38 = (LinearLayout) findViewById(R.id.linear38); this.button1 = (Button) findViewById(R.id.button1); this.edittext1 = (EditText) findViewById(R.id.edittext1); this.textview1 = (TextView) findViewById(R.id.textview1); this.button2.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { MainActivity.this.i.setAction("android.intent.action.VIEW"); MainActivity.this.i.setData(Uri.parse("https://t.me/abaansupport_bot")); MainActivity.this.startActivity(MainActivity.this.i); } }); this.button1.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if (MainActivity.this.edittext1.getText().toString().equals("BUYFOROPEN")) { MainActivity.this.i.setClass(MainActivity.this.getApplicationContext(), DebugActivity.class); MainActivity.this.startActivity(MainActivity.this.i); } else { SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "shi pass daal "); } } }); } private void initializeLogic() { VideoView videoView = new VideoView(this); videoView.setLayoutParams(new LinearLayout.LayoutParams(-1, -1)); videoView.setVideoURI(Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.fir)); videoView.setMediaController(new MediaController(this)); videoView.requestFocus(); videoView.start(); videoView.requestFocus(); videoView.start(); RelativeLayout relativeLayout = new RelativeLayout(this); RelativeLayout relativeLayout2 = new RelativeLayout(this); relativeLayout2.addView(videoView, -1, -1); this.linear1.removeAllViews(); relativeLayout.addView(relativeLayout2, -1, -1); relativeLayout.addView(this.linear2, -1, -1); this.linear1.addView(relativeLayout, -1, -1); getWindowManager().getDefaultDisplay().getMetrics(new DisplayMetrics()); RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) videoView.getLayoutParams(); layoutParams.addRule(10, -1); layoutParams.addRule(20, -1); layoutParams.addRule(21, -1); layoutParams.addRule(12, -1); videoView.requestLayout(); } @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; } }