diff options
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java | 1979 | ||||
-rw-r--r-- | app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java | 26 | ||||
-rw-r--r-- | app/src/main/res/layout/main.xml | 289 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
4 files changed, 2192 insertions, 103 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java index 7d39beb..de7d998 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java @@ -6,6 +6,8 @@ import android.animation.*; import android.app.*;
import android.app.Activity;
import android.content.*;
+import android.content.ClipData;
+import android.content.ClipboardManager;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.res.*;
@@ -152,6 +154,11 @@ public class MainActivity extends AppCompatActivity { private String lite_0 = "";
private String mirror_0 = "";
private String installation_failed_spap_desc_0 = "";
+ private String Wave_Patched = "";
+ private double CLICKER_5 = 0;
+ private String Installed_Checker_Wave = "";
+ private double Installed_Version_Wave = 0;
+ private double Downloaded_Version_Wave = 0;
private ArrayList<String> Language = new ArrayList<>();
private ArrayList<String> Theme = new ArrayList<>();
@@ -165,6 +172,7 @@ public class MainActivity extends AppCompatActivity { private ArrayList<HashMap<String, Object>> amoled_experimental_patched = new ArrayList<>();
private ArrayList<HashMap<String, Object>> stock_experimental_cloned_patched = new ArrayList<>();
private ArrayList<HashMap<String, Object>> amoled_experimental_cloned_patched = new ArrayList<>();
+ private ArrayList<HashMap<String, Object>> wave_patched = new ArrayList<>();
private LinearLayout box_header;
private LinearLayout main_body_optimization;
@@ -413,6 +421,9 @@ public class MainActivity extends AppCompatActivity { private LinearLayout main_box_1;
private LinearLayout main_box_2;
private LinearLayout main_box_3;
+ private LinearLayout main_box_12;
+ private LinearLayout main_box_7;
+ private LinearLayout main_box_19;
private LinearLayout main_box_6;
private LinearLayout box_sub_header;
private LinearLayout main_box_4;
@@ -465,10 +476,32 @@ public class MainActivity extends AppCompatActivity { private TextView versions_3;
private LinearLayout box_sub_7;
private ImageView version_oc_03;
+ private LinearLayout box_separator_6;
+ private LinearLayout box_sub_4;
+ private LinearLayout box_separator_7;
+ private TextView title_5;
+ private LinearLayout box_10;
+ private LinearLayout box_11;
+ private LinearLayout box_separator_5;
+ private LinearLayout box_12;
+ private ListView list_items_4;
+ private TextView title_4;
+ private LinearLayout box_4_sub;
+ private TextView patched_4;
+ private TextView sub_text_4;
+ private LinearLayout box_switch_4;
+ private TextView sub_10;
+ private TextView versions_4;
+ private LinearLayout box_sub_8;
+ private ImageView version_oc_04;
+ private LinearLayout box_separator_8;
+ private LinearLayout box_sub_9;
+ private LinearLayout box_separator_9;
+ private TextView title_6;
private LinearLayout box_6_sub_2;
private LinearLayout box_separator_4;
private LinearLayout box_6_sub_3;
- private ListView list_items_4;
+ private ListView list_items_5;
private TextView sub_text_installed;
private LinearLayout box_installed;
private TextView sub_installed;
@@ -476,6 +509,8 @@ public class MainActivity extends AppCompatActivity { private TextView sub_installed_c;
private TextView sub_separator_2;
private TextView sub_installed_l;
+ private TextView sub_separator_3;
+ private TextView sub_installed_w;
private TextView changelogs;
private LinearLayout box_changelogs;
private ImageView changelogs_oc;
@@ -792,6 +827,9 @@ public class MainActivity extends AppCompatActivity { main_box_1 = findViewById(R.id.main_box_1);
main_box_2 = findViewById(R.id.main_box_2);
main_box_3 = findViewById(R.id.main_box_3);
+ main_box_12 = findViewById(R.id.main_box_12);
+ main_box_7 = findViewById(R.id.main_box_7);
+ main_box_19 = findViewById(R.id.main_box_19);
main_box_6 = findViewById(R.id.main_box_6);
box_sub_header = findViewById(R.id.box_sub_header);
main_box_4 = findViewById(R.id.main_box_4);
@@ -844,10 +882,32 @@ public class MainActivity extends AppCompatActivity { versions_3 = findViewById(R.id.versions_3);
box_sub_7 = findViewById(R.id.box_sub_7);
version_oc_03 = findViewById(R.id.version_oc_03);
+ box_separator_6 = findViewById(R.id.box_separator_6);
+ box_sub_4 = findViewById(R.id.box_sub_4);
+ box_separator_7 = findViewById(R.id.box_separator_7);
+ title_5 = findViewById(R.id.title_5);
+ box_10 = findViewById(R.id.box_10);
+ box_11 = findViewById(R.id.box_11);
+ box_separator_5 = findViewById(R.id.box_separator_5);
+ box_12 = findViewById(R.id.box_12);
+ list_items_4 = findViewById(R.id.list_items_4);
+ title_4 = findViewById(R.id.title_4);
+ box_4_sub = findViewById(R.id.box_4_sub);
+ patched_4 = findViewById(R.id.patched_4);
+ sub_text_4 = findViewById(R.id.sub_text_4);
+ box_switch_4 = findViewById(R.id.box_switch_4);
+ sub_10 = findViewById(R.id.sub_10);
+ versions_4 = findViewById(R.id.versions_4);
+ box_sub_8 = findViewById(R.id.box_sub_8);
+ version_oc_04 = findViewById(R.id.version_oc_04);
+ box_separator_8 = findViewById(R.id.box_separator_8);
+ box_sub_9 = findViewById(R.id.box_sub_9);
+ box_separator_9 = findViewById(R.id.box_separator_9);
+ title_6 = findViewById(R.id.title_6);
box_6_sub_2 = findViewById(R.id.box_6_sub_2);
box_separator_4 = findViewById(R.id.box_separator_4);
box_6_sub_3 = findViewById(R.id.box_6_sub_3);
- list_items_4 = findViewById(R.id.list_items_4);
+ list_items_5 = findViewById(R.id.list_items_5);
sub_text_installed = findViewById(R.id.sub_text_installed);
box_installed = findViewById(R.id.box_installed);
sub_installed = findViewById(R.id.sub_installed);
@@ -855,6 +915,8 @@ public class MainActivity extends AppCompatActivity { sub_installed_c = findViewById(R.id.sub_installed_c);
sub_separator_2 = findViewById(R.id.sub_separator_2);
sub_installed_l = findViewById(R.id.sub_installed_l);
+ sub_separator_3 = findViewById(R.id.sub_separator_3);
+ sub_installed_w = findViewById(R.id.sub_installed_w);
changelogs = findViewById(R.id.changelogs);
box_changelogs = findViewById(R.id.box_changelogs);
changelogs_oc = findViewById(R.id.changelogs_oc);
@@ -1174,7 +1236,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1210,7 +1272,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1246,7 +1308,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1282,7 +1344,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1328,7 +1390,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1364,7 +1426,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1400,7 +1462,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -1436,7 +1498,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
- list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
@@ -2068,14 +2130,17 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.open);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
CLICKER_1 = 0;
CLICKER_2 = 1;
CLICKER_3 = 1;
CLICKER_4 = 1;
+ CLICKER_5 = 1;
}
else {
if (CLICKER_1 == 0) {
@@ -2124,14 +2189,17 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.open);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
list_items_1.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
CLICKER_1 = 1;
CLICKER_2 = 0;
CLICKER_3 = 1;
CLICKER_4 = 1;
+ CLICKER_5 = 1;
}
else {
if (CLICKER_2 == 0) {
@@ -2154,17 +2222,20 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.open);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.VISIBLE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_3.setAdapter(new List_items_3Adapter(lite_patched));
((BaseAdapter)list_items_3.getAdapter()).notifyDataSetChanged();
CLICKER_1 = 1;
CLICKER_2 = 1;
CLICKER_3 = 0;
CLICKER_4 = 1;
+ CLICKER_5 = 1;
}
else {
if (CLICKER_3 == 0) {
@@ -2180,34 +2251,73 @@ public class MainActivity extends AppCompatActivity { }
});
- main_box_6.setOnClickListener(new View.OnClickListener() {
+ main_box_7.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _view) {
if (CLICKER_4 == 1) {
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
- changelogs_oc.setImageResource(R.drawable.open);
+ version_oc_04.setImageResource(R.drawable.open);
+ changelogs_oc.setImageResource(R.drawable.close);
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.VISIBLE);
- list_items_4.setAdapter(new List_items_4Adapter(patched_changelogs));
+ list_items_5.setVisibility(View.GONE);
+ list_items_4.setAdapter(new List_items_4Adapter(wave_patched));
((BaseAdapter)list_items_4.getAdapter()).notifyDataSetChanged();
CLICKER_1 = 1;
CLICKER_2 = 1;
CLICKER_3 = 1;
CLICKER_4 = 0;
+ CLICKER_5 = 1;
}
else {
if (CLICKER_4 == 0) {
- changelogs_oc.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
list_items_4.setVisibility(View.GONE);
CLICKER_4 = 1;
}
}
Animation animation;
animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
+ animation.setDuration(500); version_oc_04.startAnimation(animation);
+ animation = null;
+ }
+ });
+
+ main_box_6.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View _view) {
+ if (CLICKER_5 == 1) {
+ version_oc_01.setImageResource(R.drawable.close);
+ version_oc_02.setImageResource(R.drawable.close);
+ version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
+ changelogs_oc.setImageResource(R.drawable.open);
+ list_items_1.setVisibility(View.GONE);
+ list_items_2.setVisibility(View.GONE);
+ list_items_3.setVisibility(View.GONE);
+ list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.VISIBLE);
+ list_items_5.setAdapter(new List_items_5Adapter(patched_changelogs));
+ ((BaseAdapter)list_items_5.getAdapter()).notifyDataSetChanged();
+ CLICKER_1 = 1;
+ CLICKER_2 = 1;
+ CLICKER_3 = 1;
+ CLICKER_4 = 1;
+ CLICKER_5 = 0;
+ }
+ else {
+ if (CLICKER_5 == 0) {
+ changelogs_oc.setImageResource(R.drawable.close);
+ list_items_5.setVisibility(View.GONE);
+ CLICKER_5 = 1;
+ }
+ }
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
animation.setDuration(500); changelogs_oc.startAnimation(animation);
animation = null;
}
@@ -3707,6 +3817,300 @@ public class MainActivity extends AppCompatActivity { }
});
+ list_items_4.setOnItemClickListener(new AdapterView.OnItemClickListener() {
+ @Override
+ public void onItemClick(AdapterView<?> _param1, View _param2, int _param3, long _param4) {
+ final int _position = _param3;
+ try {
+ if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")) {
+ final AlertDialog.Builder File_Exist = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+
+ String Title = "<b>".concat(existing_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+
+ File_Exist.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = existing_patched_desc.getText().toString();
+ String MessageColor = "FFFFFF";
+
+ File_Exist.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ File_Exist.setPositiveButton(install.getText().toString(), new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface File_Exist, int p) {
+ AlertDialog.setCancelable(true);
+ if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")) {
+ _Extension_8();
+ }
+ }
+ });
+ File_Exist.setNegativeButton(delete.getText().toString(), new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface File_Exist, int p) {
+
+ AlertDialog.setCancelable(true);
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Patched File Deleted", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk");
+ }
+ });
+ File_Exist.setNeutralButton(ignore.getText().toString(), new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface File_Exist, int p) {
+ AlertDialog.setCancelable(true);
+ final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+
+ String Title = "<b>".concat(download_ready_0.concat("</b>"));
+ String TitleColor = "1DB954";
+
+ Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ if (_position < 1) {
+ if ((_position % 1) == 0) {
+ String Message = "<b>VERSION: </b>".concat(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString().concat("<br/><b>PATCHED TYPE: </b>".concat("WAVE<br/><br/>").concat(download_ready_desc_0)));
+ String MessageColor = "FFFFFF";
+
+ Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ }
+ }
+ else {
+ String Message = "<b>VERSION: </b>".concat(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString().concat("<br/><b>PATCHED TYPE: </b>".concat("WAVE<br/><br/>").concat(download_ready_desc_0)));
+ String MessageColor = "FFFFFF";
+
+ Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ }
+ Selected_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface Selected_Patched, int p) {
+ try {
+ if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ }
+ else {
+ if (mRewardedAd != null) {
+ Activity activityContext = MainActivity.this;
+ mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
+ @Override
+ public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ int rewardAmount = rewardItem.getAmount();
+ String rewardType = rewardItem.getType();
+ }
+ });
+ } else {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ }
+ }
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface Selected_Patched, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Selected_Patched.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ DELETE = 1;
+ }
+ });
+ AlertDialog = File_Exist.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ else {
+ final AlertDialog.Builder Selected_Patched = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+
+ String Title = "<b>".concat(download_ready_0.concat("</b>"));
+ String TitleColor = "1DB954";
+
+ Selected_Patched.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ if (_position < 1) {
+ if ((_position % 1) == 0) {
+ String Message = "<b>VERSION: </b>".concat(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString().concat("<br/><b>PATCHED TYPE: </b>".concat("WAVE<br/><br/>").concat(download_ready_desc_0)));
+ String MessageColor = "FFFFFF";
+
+ Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ }
+ }
+ else {
+ String Message = "<b>VERSION: </b>".concat(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString().concat("<br/><b>PATCHED TYPE: </b>".concat("WAVE<br/><br/>").concat(download_ready_desc_0)));
+ String MessageColor = "FFFFFF";
+
+ Selected_Patched.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ }
+ Selected_Patched.setPositiveButton(download_0, new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface Selected_Patched, int p) {
+ try {
+ if (DISABLE_REWARD_AD.getString("REWARD_AD", "").equals("ON")) {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ }
+ else {
+ if (mRewardedAd != null) {
+ Activity activityContext = MainActivity.this;
+ mRewardedAd.show(activityContext, new OnUserEarnedRewardListener() {
+ @Override
+ public void onUserEarnedReward(@NonNull RewardItem rewardItem) {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ int rewardAmount = rewardItem.getAmount();
+ String rewardType = rewardItem.getType();
+ }
+ });
+ } else {
+ AlertDialog.setCancelable(true);
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Install_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Install_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ else {
+ if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("Y")) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(1))) {
+ _Download_Wave(hidden_download_1.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ else {
+ _Download_Wave(hidden_download_2.getText().toString(), "/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/");
+ }
+ }
+ }
+ _File_Remover();
+ }
+ }
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Selected_Patched.setNeutralButton(cancel_0, new DialogInterface.OnClickListener(){
+
+ @Override
+ public void onClick(DialogInterface Selected_Patched, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Selected_Patched.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ DELETE = 1;
+ }
+ hidden_patched.setText(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString());
+ hidden_download_1.setText(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Link_1").toString());
+ hidden_download_2.setText(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Link_2").toString());
+ hidden_download_3.setText(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Mirror").toString());
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+
box_uninstall.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View _view) {
@@ -4211,108 +4615,284 @@ public class MainActivity extends AppCompatActivity { runOnUiThread(new Runnable() {
@Override
public void run() {
- if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("true"))) {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("true")))) {
sub_installed.setVisibility(View.VISIBLE);
sub_separator_1.setVisibility(View.VISIBLE);
sub_installed_c.setVisibility(View.VISIBLE);
sub_separator_2.setVisibility(View.VISIBLE);
sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("false"))) {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("false")))) {
sub_installed.setVisibility(View.VISIBLE);
sub_separator_1.setVisibility(View.GONE);
sub_installed_c.setVisibility(View.GONE);
sub_separator_2.setVisibility(View.GONE);
sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("false"))) {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("false")))) {
sub_installed.setVisibility(View.VISIBLE);
sub_separator_1.setVisibility(View.GONE);
sub_installed_c.setVisibility(View.GONE);
sub_separator_2.setVisibility(View.GONE);
sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("false"))) {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("false")))) {
sub_installed.setVisibility(View.GONE);
sub_separator_1.setVisibility(View.GONE);
sub_installed_c.setVisibility(View.VISIBLE);
sub_separator_2.setVisibility(View.GONE);
sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("true"))) {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("false")))) {
sub_installed.setVisibility(View.GONE);
sub_separator_1.setVisibility(View.GONE);
sub_installed_c.setVisibility(View.GONE);
sub_separator_2.setVisibility(View.GONE);
sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("false"))) {
- sub_installed.setVisibility(View.VISIBLE);
- sub_separator_1.setVisibility(View.VISIBLE);
- sub_installed_c.setVisibility(View.VISIBLE);
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.GONE);
sub_separator_2.setVisibility(View.GONE);
sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.VISIBLE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && Installed_Checker_Lite.equals("true"))) {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("false")))) {
sub_installed.setVisibility(View.VISIBLE);
- sub_separator_1.setVisibility(View.GONE);
- sub_installed_c.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.VISIBLE);
+ sub_installed_c.setVisibility(View.VISIBLE);
sub_separator_2.setVisibility(View.VISIBLE);
sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
}
else {
- if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && Installed_Checker_Lite.equals("true"))) {
- sub_installed.setVisibility(View.GONE);
- sub_separator_1.setVisibility(View.GONE);
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.VISIBLE);
+ sub_separator_1.setVisibility(View.VISIBLE);
sub_installed_c.setVisibility(View.VISIBLE);
- sub_separator_2.setVisibility(View.VISIBLE);
- sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_2.setVisibility(View.GONE);
+ sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
sub_installed.setTextColor(0xFFFFFFFF);
sub_separator_1.setTextColor(0xFF616161);
sub_installed_c.setTextColor(0xFFBDBDBD);
sub_separator_2.setTextColor(0xFF616161);
sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.VISIBLE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.GONE);
+ sub_separator_2.setVisibility(View.VISIBLE);
+ sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.VISIBLE);
+ sub_separator_2.setVisibility(View.VISIBLE);
+ sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("false")))) {
+ sub_installed.setVisibility(View.VISIBLE);
+ sub_separator_1.setVisibility(View.VISIBLE);
+ sub_installed_c.setVisibility(View.VISIBLE);
+ sub_separator_2.setVisibility(View.GONE);
+ sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("false")))) {
+ sub_installed.setVisibility(View.VISIBLE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.GONE);
+ sub_separator_2.setVisibility(View.VISIBLE);
+ sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("true") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.VISIBLE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.GONE);
+ sub_separator_2.setVisibility(View.GONE);
+ sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("false") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.GONE);
+ sub_separator_2.setVisibility(View.GONE);
+ sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("false") && Installed_Checker_Wave.equals("true")))) {
+ sub_installed.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.VISIBLE);
+ sub_separator_2.setVisibility(View.GONE);
+ sub_installed_l.setVisibility(View.GONE);
+ sub_separator_3.setVisibility(View.VISIBLE);
+ sub_installed_w.setVisibility(View.VISIBLE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ else {
+ if (Installed_Checker.equals("false") && (Installed_Checker_Cloned.equals("true") && (Installed_Checker_Lite.equals("true") && Installed_Checker_Wave.equals("false")))) {
+ sub_installed.setVisibility(View.GONE);
+ sub_separator_1.setVisibility(View.GONE);
+ sub_installed_c.setVisibility(View.VISIBLE);
+ sub_separator_2.setVisibility(View.VISIBLE);
+ sub_installed_l.setVisibility(View.VISIBLE);
+ sub_separator_3.setVisibility(View.GONE);
+ sub_installed_w.setVisibility(View.GONE);
+ sub_installed.setTextColor(0xFFFFFFFF);
+ sub_separator_1.setTextColor(0xFF616161);
+ sub_installed_c.setTextColor(0xFFBDBDBD);
+ sub_separator_2.setTextColor(0xFF616161);
+ sub_installed_l.setTextColor(0xFF78909C);
+ sub_separator_3.setTextColor(0xFF616161);
+ sub_installed_w.setTextColor(0xFF63F2F2);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
}
}
}
@@ -4324,6 +4904,7 @@ public class MainActivity extends AppCompatActivity { sub_installed.setText("N/A");
sub_installed_c.setText("N/A");
sub_installed_l.setText("N/A");
+ sub_installed_w.setText("N/A");
String uri = "com.spotify.music";
android.content.pm.PackageManager pm = getPackageManager();
@@ -4369,6 +4950,21 @@ public class MainActivity extends AppCompatActivity { Installed_Checker_Lite = "false";
}
+ String uri_w = "com.aspiro.tidal";
+ android.content.pm.PackageManager pm_w = getPackageManager();
+
+ try {
+ android.content.pm.PackageInfo pInfo = pm_w.getPackageInfo(uri_w, android.content.pm.PackageManager.GET_ACTIVITIES);
+ String version_w = pInfo.versionName;
+ sub_installed_w.setText(version_w);
+ Installed_Checker_Wave = "true";
+ }
+
+ catch (Exception e) {
+ sub_installed_w.setText("N/A");
+ Installed_Checker_Wave = "false";
+ }
+
String app = "com.xc3fff0e.xmanager";
android.content.pm.PackageManager ver = getPackageManager();
@@ -5393,44 +5989,56 @@ public class MainActivity extends AppCompatActivity { c = null;
Animation d;
d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- d.setDuration(500); main_box_6.startAnimation(d);
+ d.setDuration(500); main_box_12.startAnimation(d);
d = null;
Animation e;
e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- e.setDuration(600); box_sub_header.startAnimation(e);
+ e.setDuration(600); main_box_7.startAnimation(e);
e = null;
Animation f;
f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- f.setDuration(700); main_box_4.startAnimation(f);
+ f.setDuration(700); main_box_19.startAnimation(f);
f = null;
Animation g;
g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- g.setDuration(800); main_box_15.startAnimation(g);
+ g.setDuration(800); main_box_6.startAnimation(g);
g = null;
Animation h;
h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- h.setDuration(300); title_header.startAnimation(h);
+ h.setDuration(900); box_sub_header.startAnimation(h);
h = null;
Animation i;
i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- i.setDuration(400); title_header_beta.startAnimation(i);
+ i.setDuration(1000); main_box_4.startAnimation(i);
i = null;
Animation j;
j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- j.setDuration(500); title_header_separator.startAnimation(j);
+ j.setDuration(1100); main_box_15.startAnimation(j);
j = null;
Animation k;
k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- k.setDuration(600); box_experiment.startAnimation(k);
+ k.setDuration(300); title_header.startAnimation(k);
k = null;
Animation l;
l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- l.setDuration(700); box_switch.startAnimation(l);
+ l.setDuration(400); title_header_beta.startAnimation(l);
l = null;
Animation m;
m = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- m.setDuration(800); box_update.startAnimation(m);
+ m.setDuration(500); title_header_separator.startAnimation(m);
m = null;
+ Animation n;
+ n = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ n.setDuration(600); box_experiment.startAnimation(n);
+ n = null;
+ Animation o;
+ o = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ o.setDuration(700); box_switch.startAnimation(o);
+ o = null;
+ Animation p;
+ p = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ p.setDuration(800); box_update.startAnimation(p);
+ p = null;
}
@@ -5550,6 +6158,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -5559,6 +6168,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_cloned_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -5568,6 +6178,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_experimental_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -5577,6 +6188,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_experimental_cloned_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -5590,6 +6202,7 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.open);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
Timer = new TimerTask() {
@Override
@@ -5602,6 +6215,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -5611,6 +6225,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_cloned_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -5620,6 +6235,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_experimental_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -5629,6 +6245,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_experimental_cloned_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -5642,6 +6259,7 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.open);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
Timer = new TimerTask() {
@Override
@@ -5657,9 +6275,11 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.VISIBLE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.open);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
list_items_3.setAdapter(new List_items_3Adapter(lite_patched));
((BaseAdapter)list_items_3.getAdapter()).notifyDataSetChanged();
@@ -5671,17 +6291,19 @@ public class MainActivity extends AppCompatActivity { public void run() {
Animation animation;
animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
- animation.setDuration(500); changelogs_oc.startAnimation(animation);
+ animation.setDuration(500); version_oc_04.startAnimation(animation);
animation = null;
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.VISIBLE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
- changelogs_oc.setImageResource(R.drawable.open);
- list_items_4.setAdapter(new List_items_4Adapter(patched_changelogs));
+ version_oc_04.setImageResource(R.drawable.open);
+ changelogs_oc.setImageResource(R.drawable.close);
+ list_items_4.setAdapter(new List_items_4Adapter(wave_patched));
((BaseAdapter)list_items_4.getAdapter()).notifyDataSetChanged();
Timer = new TimerTask() {
@Override
@@ -5689,19 +6311,48 @@ public class MainActivity extends AppCompatActivity { runOnUiThread(new Runnable() {
@Override
public void run() {
- main_refresh_layout.setRefreshing(false);
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
+ animation.setDuration(500); changelogs_oc.startAnimation(animation);
+ animation = null;
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.VISIBLE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
- changelogs_oc.setImageResource(R.drawable.close);
- main_body.setAlpha((float)(1.0d));
- String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
-
- com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ version_oc_04.setImageResource(R.drawable.close);
+ changelogs_oc.setImageResource(R.drawable.open);
+ list_items_5.setAdapter(new List_items_5Adapter(patched_changelogs));
+ ((BaseAdapter)list_items_5.getAdapter()).notifyDataSetChanged();
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ main_refresh_layout.setRefreshing(false);
+ list_items_1.setVisibility(View.GONE);
+ list_items_2.setVisibility(View.GONE);
+ list_items_3.setVisibility(View.GONE);
+ list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
+ version_oc_01.setImageResource(R.drawable.close);
+ version_oc_02.setImageResource(R.drawable.close);
+ version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
+ changelogs_oc.setImageResource(R.drawable.close);
+ main_body.setAlpha((float)(1.0d));
+ String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
+
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
}
});
}
@@ -6414,9 +7065,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest);
sub_text_2.setText(R.string.latest);
sub_text_3.setText(R.string.latest);
+ sub_text_4.setText(R.string.latest);
versions_1.setText(R.string.versions);
versions_2.setText(R.string.versions);
versions_3.setText(R.string.versions);
+ versions_4.setText(R.string.versions);
title_sub.setText(R.string.manager_tools);
source.setText(R.string.source);
support.setText(R.string.support);
@@ -6526,9 +7179,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_01);
sub_text_2.setText(R.string.latest_01);
sub_text_3.setText(R.string.latest_01);
+ sub_text_4.setText(R.string.latest_01);
versions_1.setText(R.string.versions_01);
versions_2.setText(R.string.versions_01);
versions_3.setText(R.string.versions_01);
+ versions_4.setText(R.string.versions_01);
title_sub.setText(R.string.manager_tools_01);
source.setText(R.string.source_01);
support.setText(R.string.support_01);
@@ -6638,9 +7293,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_02);
sub_text_2.setText(R.string.latest_02);
sub_text_3.setText(R.string.latest_02);
+ sub_text_4.setText(R.string.latest_02);
versions_1.setText(R.string.versions_02);
versions_2.setText(R.string.versions_02);
versions_3.setText(R.string.versions_02);
+ versions_4.setText(R.string.versions_02);
title_sub.setText(R.string.manager_tools_02);
source.setText(R.string.source_02);
support.setText(R.string.support_02);
@@ -6750,9 +7407,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_03);
sub_text_2.setText(R.string.latest_03);
sub_text_3.setText(R.string.latest_03);
+ sub_text_4.setText(R.string.latest_03);
versions_1.setText(R.string.versions_03);
versions_2.setText(R.string.versions_03);
versions_3.setText(R.string.versions_03);
+ versions_4.setText(R.string.versions_03);
title_sub.setText(R.string.manager_tools_03);
source.setText(R.string.source_03);
support.setText(R.string.support_03);
@@ -6862,9 +7521,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_04);
sub_text_2.setText(R.string.latest_04);
sub_text_3.setText(R.string.latest_04);
+ sub_text_4.setText(R.string.latest_04);
versions_1.setText(R.string.versions_04);
versions_2.setText(R.string.versions_04);
versions_3.setText(R.string.versions_04);
+ versions_4.setText(R.string.versions_04);
title_sub.setText(R.string.manager_tools_04);
source.setText(R.string.source_04);
support.setText(R.string.support_04);
@@ -6974,9 +7635,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_05);
sub_text_2.setText(R.string.latest_05);
sub_text_3.setText(R.string.latest_05);
+ sub_text_4.setText(R.string.latest_05);
versions_1.setText(R.string.versions_05);
versions_2.setText(R.string.versions_05);
versions_3.setText(R.string.versions_05);
+ versions_4.setText(R.string.versions_05);
title_sub.setText(R.string.manager_tools_05);
source.setText(R.string.source_05);
support.setText(R.string.support_05);
@@ -7086,9 +7749,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_06);
sub_text_2.setText(R.string.latest_06);
sub_text_3.setText(R.string.latest_06);
+ sub_text_4.setText(R.string.latest_06);
versions_1.setText(R.string.versions_06);
versions_2.setText(R.string.versions_06);
versions_3.setText(R.string.versions_06);
+ versions_4.setText(R.string.versions_06);
title_sub.setText(R.string.manager_tools_06);
source.setText(R.string.source_06);
support.setText(R.string.support_06);
@@ -7198,9 +7863,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_07);
sub_text_2.setText(R.string.latest_07);
sub_text_3.setText(R.string.latest_07);
+ sub_text_4.setText(R.string.latest_07);
versions_1.setText(R.string.versions_07);
versions_2.setText(R.string.versions_07);
versions_3.setText(R.string.versions_07);
+ versions_4.setText(R.string.versions_07);
title_sub.setText(R.string.manager_tools_07);
source.setText(R.string.source_07);
support.setText(R.string.support_07);
@@ -7310,9 +7977,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_08);
sub_text_2.setText(R.string.latest_08);
sub_text_3.setText(R.string.latest_08);
+ sub_text_4.setText(R.string.latest_08);
versions_1.setText(R.string.versions_08);
versions_2.setText(R.string.versions_08);
versions_3.setText(R.string.versions_08);
+ versions_4.setText(R.string.versions_08);
title_sub.setText(R.string.manager_tools_08);
source.setText(R.string.source_08);
support.setText(R.string.support_08);
@@ -7422,9 +8091,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_09);
sub_text_2.setText(R.string.latest_09);
sub_text_3.setText(R.string.latest_09);
+ sub_text_4.setText(R.string.latest_09);
versions_1.setText(R.string.versions_09);
versions_2.setText(R.string.versions_09);
versions_3.setText(R.string.versions_09);
+ versions_4.setText(R.string.versions_09);
title_sub.setText(R.string.manager_tools_09);
source.setText(R.string.source_09);
support.setText(R.string.support_09);
@@ -7534,9 +8205,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_10);
sub_text_2.setText(R.string.latest_10);
sub_text_3.setText(R.string.latest_10);
+ sub_text_4.setText(R.string.latest_10);
versions_1.setText(R.string.versions_10);
versions_2.setText(R.string.versions_10);
versions_3.setText(R.string.versions_10);
+ versions_4.setText(R.string.versions_10);
title_sub.setText(R.string.manager_tools_10);
source.setText(R.string.source_10);
support.setText(R.string.support_10);
@@ -7646,9 +8319,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_11);
sub_text_2.setText(R.string.latest_11);
sub_text_3.setText(R.string.latest_11);
+ sub_text_4.setText(R.string.latest_11);
versions_1.setText(R.string.versions_11);
versions_2.setText(R.string.versions_11);
versions_3.setText(R.string.versions_11);
+ versions_4.setText(R.string.versions_11);
title_sub.setText(R.string.manager_tools_11);
source.setText(R.string.source_11);
support.setText(R.string.support_11);
@@ -7758,9 +8433,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_12);
sub_text_2.setText(R.string.latest_12);
sub_text_3.setText(R.string.latest_12);
+ sub_text_4.setText(R.string.latest_12);
versions_1.setText(R.string.versions_12);
versions_2.setText(R.string.versions_12);
versions_3.setText(R.string.versions_12);
+ versions_4.setText(R.string.versions_12);
title_sub.setText(R.string.manager_tools_12);
source.setText(R.string.source_12);
support.setText(R.string.support_12);
@@ -7870,9 +8547,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_13);
sub_text_2.setText(R.string.latest_13);
sub_text_3.setText(R.string.latest_13);
+ sub_text_4.setText(R.string.latest_13);
versions_1.setText(R.string.versions_13);
versions_2.setText(R.string.versions_13);
versions_3.setText(R.string.versions_13);
+ versions_4.setText(R.string.versions_13);
title_sub.setText(R.string.manager_tools_13);
source.setText(R.string.source_13);
support.setText(R.string.support_13);
@@ -7982,9 +8661,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_14);
sub_text_2.setText(R.string.latest_14);
sub_text_3.setText(R.string.latest_14);
+ sub_text_4.setText(R.string.latest_14);
versions_1.setText(R.string.versions_14);
versions_2.setText(R.string.versions_14);
versions_3.setText(R.string.versions_14);
+ versions_4.setText(R.string.versions_14);
title_sub.setText(R.string.manager_tools_14);
source.setText(R.string.source_14);
support.setText(R.string.support_14);
@@ -8094,9 +8775,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_15);
sub_text_2.setText(R.string.latest_15);
sub_text_3.setText(R.string.latest_15);
+ sub_text_4.setText(R.string.latest_15);
versions_1.setText(R.string.versions_15);
versions_2.setText(R.string.versions_15);
versions_3.setText(R.string.versions_15);
+ versions_4.setText(R.string.versions_15);
title_sub.setText(R.string.manager_tools_15);
source.setText(R.string.source_15);
support.setText(R.string.support_15);
@@ -8206,9 +8889,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_16);
sub_text_2.setText(R.string.latest_16);
sub_text_3.setText(R.string.latest_16);
+ sub_text_4.setText(R.string.latest_16);
versions_1.setText(R.string.versions_16);
versions_2.setText(R.string.versions_16);
versions_3.setText(R.string.versions_16);
+ versions_4.setText(R.string.versions_16);
title_sub.setText(R.string.manager_tools_16);
source.setText(R.string.source_16);
support.setText(R.string.support_16);
@@ -8318,9 +9003,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_17);
sub_text_2.setText(R.string.latest_17);
sub_text_3.setText(R.string.latest_17);
+ sub_text_4.setText(R.string.latest_17);
versions_1.setText(R.string.versions_17);
versions_2.setText(R.string.versions_17);
versions_3.setText(R.string.versions_17);
+ versions_4.setText(R.string.versions_17);
title_sub.setText(R.string.manager_tools_17);
source.setText(R.string.source_17);
support.setText(R.string.support_17);
@@ -8430,9 +9117,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_18);
sub_text_2.setText(R.string.latest_18);
sub_text_3.setText(R.string.latest_18);
+ sub_text_4.setText(R.string.latest_18);
versions_1.setText(R.string.versions_18);
versions_2.setText(R.string.versions_18);
versions_3.setText(R.string.versions_18);
+ versions_4.setText(R.string.versions_18);
title_sub.setText(R.string.manager_tools_18);
source.setText(R.string.source_18);
support.setText(R.string.support_18);
@@ -8542,9 +9231,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_19);
sub_text_2.setText(R.string.latest_19);
sub_text_3.setText(R.string.latest_19);
+ sub_text_4.setText(R.string.latest_19);
versions_1.setText(R.string.versions_19);
versions_2.setText(R.string.versions_19);
versions_3.setText(R.string.versions_19);
+ versions_4.setText(R.string.versions_19);
title_sub.setText(R.string.manager_tools_19);
source.setText(R.string.source_19);
support.setText(R.string.support_19);
@@ -8654,9 +9345,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_20);
sub_text_2.setText(R.string.latest_20);
sub_text_3.setText(R.string.latest_20);
+ sub_text_4.setText(R.string.latest_20);
versions_1.setText(R.string.versions_20);
versions_2.setText(R.string.versions_20);
versions_3.setText(R.string.versions_20);
+ versions_4.setText(R.string.versions_20);
title_sub.setText(R.string.manager_tools_20);
source.setText(R.string.source_20);
support.setText(R.string.support_20);
@@ -8766,9 +9459,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_21);
sub_text_2.setText(R.string.latest_21);
sub_text_3.setText(R.string.latest_21);
+ sub_text_4.setText(R.string.latest_21);
versions_1.setText(R.string.versions_21);
versions_2.setText(R.string.versions_21);
versions_3.setText(R.string.versions_21);
+ versions_4.setText(R.string.versions_21);
title_sub.setText(R.string.manager_tools_21);
source.setText(R.string.source_21);
support.setText(R.string.support_21);
@@ -8878,9 +9573,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_22);
sub_text_2.setText(R.string.latest_22);
sub_text_3.setText(R.string.latest_22);
+ sub_text_4.setText(R.string.latest_22);
versions_1.setText(R.string.versions_22);
versions_2.setText(R.string.versions_22);
versions_3.setText(R.string.versions_22);
+ versions_4.setText(R.string.versions_22);
title_sub.setText(R.string.manager_tools_22);
source.setText(R.string.source_22);
support.setText(R.string.support_22);
@@ -8990,9 +9687,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_23);
sub_text_2.setText(R.string.latest_23);
sub_text_3.setText(R.string.latest_23);
+ sub_text_4.setText(R.string.latest_23);
versions_1.setText(R.string.versions_23);
versions_2.setText(R.string.versions_23);
versions_3.setText(R.string.versions_23);
+ versions_4.setText(R.string.versions_23);
title_sub.setText(R.string.manager_tools_23);
source.setText(R.string.source_23);
support.setText(R.string.support_23);
@@ -9102,9 +9801,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_24);
sub_text_2.setText(R.string.latest_24);
sub_text_3.setText(R.string.latest_24);
+ sub_text_4.setText(R.string.latest_24);
versions_1.setText(R.string.versions_24);
versions_2.setText(R.string.versions_24);
versions_3.setText(R.string.versions_24);
+ versions_4.setText(R.string.versions_24);
title_sub.setText(R.string.manager_tools_24);
source.setText(R.string.source_24);
support.setText(R.string.support_24);
@@ -9214,9 +9915,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_25);
sub_text_2.setText(R.string.latest_25);
sub_text_3.setText(R.string.latest_25);
+ sub_text_4.setText(R.string.latest_25);
versions_1.setText(R.string.versions_25);
versions_2.setText(R.string.versions_25);
versions_3.setText(R.string.versions_25);
+ versions_4.setText(R.string.versions_25);
title_sub.setText(R.string.manager_tools_25);
source.setText(R.string.source_25);
support.setText(R.string.support_25);
@@ -9326,9 +10029,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_26);
sub_text_2.setText(R.string.latest_26);
sub_text_3.setText(R.string.latest_26);
+ sub_text_4.setText(R.string.latest_26);
versions_1.setText(R.string.versions_26);
versions_2.setText(R.string.versions_26);
versions_3.setText(R.string.versions_26);
+ versions_4.setText(R.string.versions_26);
title_sub.setText(R.string.manager_tools_26);
source.setText(R.string.source_26);
support.setText(R.string.support_26);
@@ -9438,9 +10143,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_27);
sub_text_2.setText(R.string.latest_27);
sub_text_3.setText(R.string.latest_27);
+ sub_text_4.setText(R.string.latest_27);
versions_1.setText(R.string.versions_27);
versions_2.setText(R.string.versions_27);
versions_3.setText(R.string.versions_27);
+ versions_4.setText(R.string.versions_27);
title_sub.setText(R.string.manager_tools_27);
source.setText(R.string.source_27);
support.setText(R.string.support_27);
@@ -9550,9 +10257,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_28);
sub_text_2.setText(R.string.latest_28);
sub_text_3.setText(R.string.latest_28);
+ sub_text_4.setText(R.string.latest_28);
versions_1.setText(R.string.versions_28);
versions_2.setText(R.string.versions_28);
versions_3.setText(R.string.versions_28);
+ versions_4.setText(R.string.versions_28);
title_sub.setText(R.string.manager_tools_28);
source.setText(R.string.source_28);
support.setText(R.string.support_28);
@@ -9662,9 +10371,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_29);
sub_text_2.setText(R.string.latest_29);
sub_text_3.setText(R.string.latest_29);
+ sub_text_4.setText(R.string.latest_29);
versions_1.setText(R.string.versions_29);
versions_2.setText(R.string.versions_29);
versions_3.setText(R.string.versions_29);
+ versions_4.setText(R.string.versions_29);
title_sub.setText(R.string.manager_tools_29);
source.setText(R.string.source_29);
support.setText(R.string.support_29);
@@ -9774,9 +10485,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_30);
sub_text_2.setText(R.string.latest_30);
sub_text_3.setText(R.string.latest_30);
+ sub_text_4.setText(R.string.latest_30);
versions_1.setText(R.string.versions_30);
versions_2.setText(R.string.versions_30);
versions_3.setText(R.string.versions_30);
+ versions_4.setText(R.string.versions_30);
title_sub.setText(R.string.manager_tools_30);
source.setText(R.string.source_30);
support.setText(R.string.support_30);
@@ -9886,9 +10599,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_31);
sub_text_2.setText(R.string.latest_31);
sub_text_3.setText(R.string.latest_31);
+ sub_text_4.setText(R.string.latest_31);
versions_1.setText(R.string.versions_31);
versions_2.setText(R.string.versions_31);
versions_3.setText(R.string.versions_31);
+ versions_4.setText(R.string.versions_31);
title_sub.setText(R.string.manager_tools_31);
source.setText(R.string.source_31);
support.setText(R.string.support_31);
@@ -9998,9 +10713,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_32);
sub_text_2.setText(R.string.latest_32);
sub_text_3.setText(R.string.latest_32);
+ sub_text_4.setText(R.string.latest_32);
versions_1.setText(R.string.versions_32);
versions_2.setText(R.string.versions_32);
versions_3.setText(R.string.versions_32);
+ versions_4.setText(R.string.versions_32);
title_sub.setText(R.string.manager_tools_32);
source.setText(R.string.source_32);
support.setText(R.string.support_32);
@@ -10110,9 +10827,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_33);
sub_text_2.setText(R.string.latest_33);
sub_text_3.setText(R.string.latest_33);
+ sub_text_4.setText(R.string.latest_33);
versions_1.setText(R.string.versions_33);
versions_2.setText(R.string.versions_33);
versions_3.setText(R.string.versions_33);
+ versions_4.setText(R.string.versions_33);
title_sub.setText(R.string.manager_tools_33);
source.setText(R.string.source_33);
support.setText(R.string.support_33);
@@ -10222,9 +10941,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_34);
sub_text_2.setText(R.string.latest_34);
sub_text_3.setText(R.string.latest_34);
+ sub_text_4.setText(R.string.latest_34);
versions_1.setText(R.string.versions_34);
versions_2.setText(R.string.versions_34);
versions_3.setText(R.string.versions_34);
+ versions_4.setText(R.string.versions_34);
title_sub.setText(R.string.manager_tools_34);
source.setText(R.string.source_34);
support.setText(R.string.support_34);
@@ -10334,9 +11055,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest_35);
sub_text_2.setText(R.string.latest_35);
sub_text_3.setText(R.string.latest_35);
+ sub_text_4.setText(R.string.latest_35);
versions_1.setText(R.string.versions_35);
versions_2.setText(R.string.versions_35);
versions_3.setText(R.string.versions_35);
+ versions_4.setText(R.string.versions_35);
title_sub.setText(R.string.manager_tools_35);
source.setText(R.string.source_35);
support.setText(R.string.support_35);
@@ -10691,9 +11414,11 @@ public class MainActivity extends AppCompatActivity { sub_text_1.setText(R.string.latest);
sub_text_2.setText(R.string.latest);
sub_text_3.setText(R.string.latest);
+ sub_text_4.setText(R.string.latest);
versions_1.setText(R.string.versions);
versions_2.setText(R.string.versions);
versions_3.setText(R.string.versions);
+ versions_4.setText(R.string.versions);
title_sub.setText(R.string.manager_tools);
source.setText(R.string.source);
support.setText(R.string.support);
@@ -10901,20 +11626,32 @@ public class MainActivity extends AppCompatActivity { c = null;
Animation d;
d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- d.setDuration(500); main_box_6.startAnimation(d);
+ d.setDuration(500); main_box_12.startAnimation(d);
d = null;
Animation e;
e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- e.setDuration(600); box_sub_header.startAnimation(e);
+ e.setDuration(600); main_box_7.startAnimation(e);
e = null;
Animation f;
f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- f.setDuration(700); main_box_4.startAnimation(f);
+ f.setDuration(700); main_box_19.startAnimation(f);
f = null;
Animation g;
g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- g.setDuration(800); main_box_15.startAnimation(g);
+ g.setDuration(800); main_box_6.startAnimation(g);
g = null;
+ Animation h;
+ h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ h.setDuration(900); box_sub_header.startAnimation(h);
+ h = null;
+ Animation i;
+ i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ i.setDuration(1000); main_box_4.startAnimation(i);
+ i = null;
+ Animation j;
+ j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ j.setDuration(1100); main_box_15.startAnimation(j);
+ j = null;
}
@@ -10955,6 +11692,15 @@ public class MainActivity extends AppCompatActivity { }
});
+ list_items_5.setOnScrollListener(new AbsListView.OnScrollListener() {
+ @Override public void onScrollStateChanged(AbsListView view, int scrollState) {
+ }
+ @Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
+ int topRowVerticalPosition = (list_items_5 == null || list_items_5.getChildCount() == 0) ? 0 : list_items_5.getChildAt(0).getTop();
+ main_refresh_layout.setEnabled(firstVisibleItem == 0 && topRowVerticalPosition >= 0);
+ }
+ });
+
}
@@ -11555,8 +12301,8 @@ public class MainActivity extends AppCompatActivity { public void run() {
prog.dismiss();
check.dismiss();
- if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
- if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
+ if ((Installed_Version_Cloned < Downloaded_Version_Cloned) || ((Downloaded_Version_Cloned > Installed_Version_Cloned) || ((Installed_Version_Cloned == Downloaded_Version_Cloned) || Installed_Checker_Cloned.equals("false")))) {
+ if (getICSignature(getApplicationContext()).equals(getDCSignature(getApplicationContext())) || Installed_Checker_Cloned.equals("false")) {
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
if(android.os.Build.VERSION.SDK_INT >= 29){
try {
@@ -11613,7 +12359,7 @@ public class MainActivity extends AppCompatActivity { }
}
else {
- if (Downloaded_Version < Installed_Version) {
+ if (Downloaded_Version_Cloned < Installed_Version_Cloned) {
if (!MainActivity.this.isFinishing()) {
final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
String Title = "<b>".concat(installation_failed_0.concat("</b>"));
@@ -11812,6 +12558,25 @@ public class MainActivity extends AppCompatActivity { Downloaded_Version_Lite = Installed_Version_Lite;
}
+ String uri_wave = "com.aspiro.tidal";
+ android.content.pm.PackageManager pm_wave = getPackageManager();
+
+ try {
+ android.content.pm.PackageInfo Installed_Wave = pm_lite.getPackageInfo(uri_wave, android.content.pm.PackageManager.GET_ACTIVITIES);
+ Installed_Version_Wave = Installed_Wave.versionCode;
+ }
+ catch (Exception e) {
+ }
+
+
+ try {
+ android.content.pm.PackageInfo Downloaded_Wave = this.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Patched Wave (xManager).apk"), PackageManager.GET_ACTIVITIES);
+ Downloaded_Version_Wave = Downloaded_Wave.versionCode;
+ }
+ catch (Exception e) {
+ Downloaded_Version_Wave = Installed_Version_Wave;
+ }
+
}
@@ -11943,6 +12708,7 @@ public class MainActivity extends AppCompatActivity { Stock_Experimental_Cloned_Patched = (new Gson()).toJson(Datas.get("Stock_Experimental_Cloned_Patched"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
Amoled_Experimental_Cloned_Patched = (new Gson()).toJson(Datas.get("Amoled_Experimental_Cloned_Patched"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
Lite_Patched = (new Gson()).toJson(Datas.get("Lite_Patched"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
+ Wave_Patched = (new Gson()).toJson(Datas.get("Wave_Patched"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
Patched_Changelogs = (new Gson()).toJson(Datas.get("Patched_Changelogs"), new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
stock_patched = new Gson().fromJson(Stock_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
amoled_patched = new Gson().fromJson(Amoled_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
@@ -11953,6 +12719,7 @@ public class MainActivity extends AppCompatActivity { stock_experimental_cloned_patched = new Gson().fromJson(Stock_Experimental_Cloned_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
amoled_experimental_cloned_patched = new Gson().fromJson(Amoled_Experimental_Cloned_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
lite_patched = new Gson().fromJson(Lite_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
+ wave_patched = new Gson().fromJson(Wave_Patched, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
patched_changelogs = new Gson().fromJson(Patched_Changelogs, new TypeToken<ArrayList<HashMap<String, Object>>>(){}.getType());
sub_1.setText(Datas.get("Stock_Patched_Latest").toString());
sub_2.setText(Datas.get("Amoled_Patched_Latest").toString());
@@ -11963,6 +12730,7 @@ public class MainActivity extends AppCompatActivity { sub_7.setText(Datas.get("SECP_Latest").toString());
sub_8.setText(Datas.get("AECP_Latest").toString());
sub_9.setText(Datas.get("Lite_Patched_Latest").toString());
+ sub_10.setText(Datas.get("Wave_Patched_Latest").toString());
donors_1.setText(Datas.get("Supporters").toString());
hidden_update.setText(Datas.get("Update").toString());
app_changelogs.setText(Datas.get("App_Changelogs").toString());
@@ -12000,9 +12768,11 @@ public class MainActivity extends AppCompatActivity { }
}
list_items_3.setAdapter(new List_items_3Adapter(lite_patched));
- list_items_4.setAdapter(new List_items_4Adapter(patched_changelogs));
+ list_items_4.setAdapter(new List_items_4Adapter(wave_patched));
+ list_items_5.setAdapter(new List_items_5Adapter(patched_changelogs));
((BaseAdapter)list_items_3.getAdapter()).notifyDataSetChanged();
((BaseAdapter)list_items_4.getAdapter()).notifyDataSetChanged();
+ ((BaseAdapter)list_items_5.getAdapter()).notifyDataSetChanged();
if (INITIALIZATION.getString("INITIALIZATION", "").equals("X")) {
_Updater();
}
@@ -12030,6 +12800,9 @@ public class MainActivity extends AppCompatActivity { title_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
title_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
title_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ title_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ title_5.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ title_6.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
@@ -12039,17 +12812,22 @@ public class MainActivity extends AppCompatActivity { sub_7.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_8.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_9.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ sub_10.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_text_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_text_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_text_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ sub_text_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
versions_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
versions_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
versions_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ versions_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_separator_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_installed_c.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_separator_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_installed_l.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ sub_separator_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ sub_installed_w.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
sub_text_installed.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
title_sub.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
support.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
@@ -12096,6 +12874,7 @@ public class MainActivity extends AppCompatActivity { patched_1.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
patched_2.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
patched_3.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
+ patched_4.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 0);
title_header_beta.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
title_header_separator.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
experiment_version.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
@@ -12110,6 +12889,7 @@ public class MainActivity extends AppCompatActivity { main_box_3.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
main_box_5.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
main_box_6.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
+ main_box_7.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
main_box_8.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
main_box_9.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
main_box_10.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF171717));
@@ -12139,8 +12919,13 @@ public class MainActivity extends AppCompatActivity { box_reset_preferences.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF424242));
box_separator_1.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
box_separator_2.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
- box_separator_4.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
box_separator_3.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_4.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_5.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_6.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_7.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_8.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
+ box_separator_9.setBackground(new GradientDrawable() { public GradientDrawable getIns(int a, int b) { this.setCornerRadius(a); this.setColor(b); return this; } }.getIns((int)25, 0xFF616161));
sub_1.setVisibility(View.GONE);
sub_2.setVisibility(View.GONE);
sub_3.setVisibility(View.GONE);
@@ -12152,6 +12937,7 @@ public class MainActivity extends AppCompatActivity { list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
if (!INITIALIZATION.getString("INITIALIZATION", "").equals("X")) {
try {
@@ -12352,6 +13138,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -12361,6 +13148,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_cloned_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -12370,6 +13158,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_experimental_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -12379,6 +13168,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_1.setAdapter(new List_items_1Adapter(stock_experimental_cloned_patched));
((BaseAdapter)list_items_1.getAdapter()).notifyDataSetChanged();
}
@@ -12392,6 +13182,7 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.open);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
Timer = new TimerTask() {
@Override
@@ -12404,6 +13195,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -12413,6 +13205,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_cloned_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -12422,6 +13215,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_experimental_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -12431,6 +13225,7 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.VISIBLE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
list_items_2.setAdapter(new List_items_2Adapter(amoled_experimental_cloned_patched));
((BaseAdapter)list_items_2.getAdapter()).notifyDataSetChanged();
}
@@ -12444,6 +13239,7 @@ public class MainActivity extends AppCompatActivity { version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.open);
version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
Timer = new TimerTask() {
@Override
@@ -12459,9 +13255,11 @@ public class MainActivity extends AppCompatActivity { list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.VISIBLE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.open);
+ version_oc_04.setImageResource(R.drawable.close);
changelogs_oc.setImageResource(R.drawable.close);
list_items_3.setAdapter(new List_items_3Adapter(lite_patched));
((BaseAdapter)list_items_3.getAdapter()).notifyDataSetChanged();
@@ -12473,17 +13271,19 @@ public class MainActivity extends AppCompatActivity { public void run() {
Animation animation;
animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
- animation.setDuration(500); changelogs_oc.startAnimation(animation);
+ animation.setDuration(500); version_oc_04.startAnimation(animation);
animation = null;
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.VISIBLE);
+ list_items_5.setVisibility(View.GONE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
- changelogs_oc.setImageResource(R.drawable.open);
- list_items_4.setAdapter(new List_items_4Adapter(patched_changelogs));
+ version_oc_04.setImageResource(R.drawable.open);
+ changelogs_oc.setImageResource(R.drawable.close);
+ list_items_4.setAdapter(new List_items_4Adapter(wave_patched));
((BaseAdapter)list_items_4.getAdapter()).notifyDataSetChanged();
Timer = new TimerTask() {
@Override
@@ -12491,19 +13291,48 @@ public class MainActivity extends AppCompatActivity { runOnUiThread(new Runnable() {
@Override
public void run() {
- main_refresh_layout.setRefreshing(false);
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
+ animation.setDuration(500); changelogs_oc.startAnimation(animation);
+ animation = null;
list_items_1.setVisibility(View.GONE);
list_items_2.setVisibility(View.GONE);
list_items_3.setVisibility(View.GONE);
list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.VISIBLE);
version_oc_01.setImageResource(R.drawable.close);
version_oc_02.setImageResource(R.drawable.close);
version_oc_03.setImageResource(R.drawable.close);
- changelogs_oc.setImageResource(R.drawable.close);
- main_body.setAlpha((float)(1.0d));
- String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
-
- com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ version_oc_04.setImageResource(R.drawable.close);
+ changelogs_oc.setImageResource(R.drawable.open);
+ list_items_5.setAdapter(new List_items_5Adapter(patched_changelogs));
+ ((BaseAdapter)list_items_5.getAdapter()).notifyDataSetChanged();
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ main_refresh_layout.setRefreshing(false);
+ list_items_1.setVisibility(View.GONE);
+ list_items_2.setVisibility(View.GONE);
+ list_items_3.setVisibility(View.GONE);
+ list_items_4.setVisibility(View.GONE);
+ list_items_5.setVisibility(View.GONE);
+ version_oc_01.setImageResource(R.drawable.close);
+ version_oc_02.setImageResource(R.drawable.close);
+ version_oc_03.setImageResource(R.drawable.close);
+ version_oc_04.setImageResource(R.drawable.close);
+ changelogs_oc.setImageResource(R.drawable.close);
+ main_body.setAlpha((float)(1.0d));
+ String currentDateTimeString = java.text.DateFormat.getDateTimeInstance().format(new Date());
+
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Data List Updated | " + (currentDateTimeString), com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
}
});
}
@@ -12655,6 +13484,7 @@ public class MainActivity extends AppCompatActivity { CLICKER_2 = 1;
CLICKER_3 = 1;
CLICKER_4 = 1;
+ CLICKER_5 = 1;
}
@@ -13824,8 +14654,8 @@ public class MainActivity extends AppCompatActivity { public void run() {
prog.dismiss();
check.dismiss();
- if ((Installed_Version < Downloaded_Version) || ((Downloaded_Version > Installed_Version) || ((Installed_Version == Downloaded_Version) || Installed_Checker.equals("false")))) {
- if (getISignature(getApplicationContext()).equals(getDSignature(getApplicationContext())) || Installed_Checker.equals("false")) {
+ if ((Installed_Version_Lite < Downloaded_Version_Lite) || ((Downloaded_Version_Lite > Installed_Version_Lite) || ((Installed_Version_Lite == Downloaded_Version_Lite) || Installed_Checker_Lite.equals("false")))) {
+ if (getILSignature(getApplicationContext()).equals(getDLSignature(getApplicationContext())) || Installed_Checker_Lite.equals("false")) {
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
if(android.os.Build.VERSION.SDK_INT >= 29){
try {
@@ -13882,7 +14712,7 @@ public class MainActivity extends AppCompatActivity { }
}
else {
- if (Downloaded_Version < Installed_Version) {
+ if (Downloaded_Version_Lite < Installed_Version_Lite) {
if (!MainActivity.this.isFinishing()) {
final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
String Title = "<b>".concat(installation_failed_0.concat("</b>"));
@@ -14303,6 +15133,15 @@ public class MainActivity extends AppCompatActivity { ((ViewGroup) findViewById(R.id.main_box_3)).getLayoutTransition()
.enableTransitionType(LayoutTransition.CHANGING);
+
+ ((ViewGroup) findViewById(R.id.main_box_12)).getLayoutTransition()
+ .enableTransitionType(LayoutTransition.CHANGING);
+
+ ((ViewGroup) findViewById(R.id.main_box_7)).getLayoutTransition()
+ .enableTransitionType(LayoutTransition.CHANGING);
+
+ ((ViewGroup) findViewById(R.id.main_box_19)).getLayoutTransition()
+ .enableTransitionType(LayoutTransition.CHANGING);
((ViewGroup) findViewById(R.id.main_box_6)).getLayoutTransition()
.enableTransitionType(LayoutTransition.CHANGING);
@@ -14499,6 +15338,924 @@ public class MainActivity extends AppCompatActivity { }
+
+ public void _Download_Wave(final String _url, final String _path) {
+ android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
+ android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
+ if (networkInfo != null && networkInfo.isConnected()) {
+ final String urlDownload = _url;
+ final DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+ final String cookies = CookieManager.getInstance().getCookie(urlDownload);
+ final String userAgent = "USER_AGENT";
+ request.addRequestHeader("cookie", cookies);
+ request.addRequestHeader("User-Agent", userAgent);
+ request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI | DownloadManager.Request.NETWORK_MOBILE);
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+ request.setMimeType("application/vnd.android.package-archive");
+ request.allowScanningByMediaScanner();
+ request.setDestinationInExternalFilesDir(MainActivity.this, Environment.DIRECTORY_DOWNLOADS, "Patched Wave (xManager).apk");
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+ final long downloadId = manager.enqueue(request);
+ final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
+ final ProgressDialog check = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
+ prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
+ check.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
+ Thread progress = new Thread() {
+ @Override
+ public void run() {
+ boolean downloading = true;
+ while (downloading) {
+ DownloadManager.Query q = new DownloadManager.Query();
+ q.setFilterById(downloadId);
+ android.database.Cursor cursor = manager.query(q);
+ if (cursor != null) {
+ if (cursor.moveToFirst()) {
+ int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
+ int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
+ if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
+ downloading = false;
+ }
+ if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
+ runOnUiThread(new Runnable() {
+ public void run() {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "The file or link is currently unavailable. Please try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ _File_Remover();
+ }
+ });
+ }
+ final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
+ final int dl_max = (int) (100);
+ final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
+ final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
+ String file_min = String.format("%.2f", file_front);
+ String file_fix = String.format("%.2f", file_end);
+ String file_max = file_fix.replace("-", "");
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ if (prog.getProgress() < dl_progress) {
+ prog.incrementProgressBy(1);
+ }
+ }
+ }, 10);
+ ObjectAnimator animation = ObjectAnimator.ofInt(prog, "progress", prog.getProgress(), prog.getMax());
+ animation.setDuration(1500);
+ animation.setInterpolator(new DecelerateInterpolator());
+ animation.start();
+ if (!MainActivity.this.isFinishing()) {
+ String Title = "<b>".concat(downloading_file_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgressNumberFormat((hidden_patched.getText().toString()) + " | " + (file_max) + " MB");
+ prog.setCancelable(false);
+ prog.setMax(dl_max);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ prog.setCancelable(true);
+ manager.remove(downloadId);
+ _File_Remover();
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ prog.dismiss();
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Download Cancelled", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ }, 0);
+ }
+ });
+ prog.setButton(DialogInterface.BUTTON_NEUTRAL, mirror_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ prog.setCancelable(true);
+ manager.remove(downloadId);
+ _File_Remover();
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ prog.dismiss();
+ try {
+ _Reminder();
+ _Browser(hidden_download_3.getText().toString());
+ } catch (Exception e) {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "The file or link is currently unavailable. Please try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ }
+ }, 0);
+ }
+ });
+ prog.show();
+ }
+ }
+ });
+ if (bytes_downloaded == bytes_total) {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("PREPARING");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ prog.dismiss();
+ check.show();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("VERIFYING PATCHED");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(3500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("VERIFYING SIGNATURE");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(4500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("FINALIZING");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(5500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ try {
+ FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk", apk_path_location.getText().toString().concat("Patched Wave (xManager).apk"));
+ }
+ catch(Exception e) {
+ }
+ if (!MainActivity.this.isFinishing()) {
+ _Extension_9();
+ prog.dismiss();
+ }
+ prog.dismiss();
+ check.dismiss();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(6500));
+ }
+ }
+ cursor.close();
+ }
+ }
+ }
+ };
+ progress.start();
+ } else {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+
+ }
+
+
+ public void _Download_Install_Wave(final String _url, final String _path) {
+ android.net.ConnectivityManager connMgr = (android.net.ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE);
+ android.net.NetworkInfo networkInfo = connMgr.getActiveNetworkInfo();
+ if (networkInfo != null && networkInfo.isConnected()) {
+ final String urlDownload = _url;
+ final DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+ final String cookies = CookieManager.getInstance().getCookie(urlDownload);
+ final String userAgent = "USER_AGENT";
+ request.addRequestHeader("cookie", cookies);
+ request.addRequestHeader("User-Agent", userAgent);
+ request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI | DownloadManager.Request.NETWORK_MOBILE);
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+ request.setMimeType("application/vnd.android.package-archive");
+ request.allowScanningByMediaScanner();
+ request.setDestinationInExternalFilesDir(MainActivity.this, Environment.DIRECTORY_DOWNLOADS, "Patched Wave (xManager).apk");
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+ final long downloadId = manager.enqueue(request);
+ final ProgressDialog prog = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
+ final ProgressDialog check = new ProgressDialog(MainActivity.this, R.style.Progress_Dialog);
+ prog.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
+ check.getWindow().setBackgroundDrawableResource(R.drawable.progress_dialog);
+ Thread progress = new Thread() {
+ @Override
+ public void run() {
+ boolean downloading = true;
+ while (downloading) {
+ DownloadManager.Query q = new DownloadManager.Query();
+ q.setFilterById(downloadId);
+ android.database.Cursor cursor = manager.query(q);
+ if (cursor != null) {
+ if (cursor.moveToFirst()) {
+ int bytes_downloaded = cursor.getInt(cursor .getColumnIndex(DownloadManager.COLUMN_BYTES_DOWNLOADED_SO_FAR));
+ int bytes_total = cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_TOTAL_SIZE_BYTES));
+ if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_SUCCESSFUL) {
+ downloading = false;
+ }
+ if (cursor.getInt(cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)) == DownloadManager.STATUS_FAILED) {
+ runOnUiThread(new Runnable() {
+ public void run() {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "The file or link is currently unavailable. Please try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ _File_Remover();
+ }
+ });
+ }
+ final int dl_progress = (int) (bytes_total != 0 ? (bytes_downloaded * 100l) / bytes_total : 0) ;
+ final int dl_max = (int) (100);
+ final float file_front = (float) ((bytes_downloaded * 1.0) / 1048576.0);
+ final float file_end = (float) ((bytes_total * 1.0) / 1048576.0);
+ String file_min = String.format("%.2f", file_front);
+ String file_fix = String.format("%.2f", file_end);
+ String file_max = file_fix.replace("-", "");
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ if (prog.getProgress() < dl_progress) {
+ prog.incrementProgressBy(1);
+ }
+ }
+ }, 10);
+ ObjectAnimator animation = ObjectAnimator.ofInt(prog, "progress", prog.getProgress(), prog.getMax());
+ animation.setDuration(1500);
+ animation.setInterpolator(new DecelerateInterpolator());
+ animation.start();
+ if (!MainActivity.this.isFinishing()) {
+ String Title = "<b>".concat(downloading_file_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ prog.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ prog.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgressNumberFormat((hidden_patched.getText().toString()) + " | " + (file_max) + " MB");
+ prog.setCancelable(false);
+ prog.setMax(dl_max);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ prog.setCancelable(true);
+ manager.remove(downloadId);
+ _File_Remover();
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ prog.dismiss();
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Download Cancelled", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ }, 0);
+ }
+ });
+ prog.setButton(DialogInterface.BUTTON_NEUTRAL, mirror_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ prog.setCancelable(true);
+ manager.remove(downloadId);
+ _File_Remover();
+ final Handler handler = new Handler();
+ handler.postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ prog.dismiss();
+ try {
+ _Reminder();
+ _Browser(hidden_download_3.getText().toString());
+ } catch (Exception e) {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "The file or link is currently unavailable. Please try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+ }
+ }, 0);
+ }
+ });
+ prog.show();
+ }
+ }
+ });
+ if (bytes_downloaded == bytes_total) {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("PREPARING");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ prog.dismiss();
+ check.show();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("VERIFYING PATCHED");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(3500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("VERIFYING SIGNATURE");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(4500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ ValueAnimator finalize = ValueAnimator.ofInt(0, 100);
+ finalize.setDuration(1800);
+ finalize.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
+ public void onAnimationUpdate(ValueAnimator animation) {
+ check.setProgress((int) animation.getAnimatedValue());
+ String Title = "<b>".concat(hidden_patched.getText().toString().concat("</b>"));
+ String TitleColor = "1DB954";
+ check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ check.setProgressDrawable(getResources().getDrawable(R.drawable.progress_bar));
+ check.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ check.setProgressNumberFormat("FINALIZING");
+ check.setCancelable(false);
+ }
+ });
+ finalize.start();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(5500));
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ try {
+ FileUtil.copyFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk", apk_path_location.getText().toString().concat("Patched Wave (xManager).apk"));
+ }
+ catch(Exception e) {
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ prog.dismiss();
+ check.dismiss();
+ if ((Installed_Version_Wave < Downloaded_Version_Wave) || ((Downloaded_Version_Wave > Installed_Version_Wave) || ((Installed_Version_Wave == Downloaded_Version_Wave) || Installed_Checker_Wave.equals("false")))) {
+ if (getIWSignature(getApplicationContext()).equals(getDWSignature(getApplicationContext())) || Installed_Checker_Wave.equals("false")) {
+ StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
+ if(android.os.Build.VERSION.SDK_INT >= 29){
+ try {
+ Intent intent = new Intent(Intent.ACTION_VIEW);
+ intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+ intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ }
+ } else {
+ try {
+ Intent intent = new Intent(Intent.ACTION_VIEW);
+ intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ }
+ }
+ } else {
+ if (!MainActivity.this.isFinishing()) {
+ final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_spap_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Signature_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+ }
+ else {
+ if (Downloaded_Version_Wave < Installed_Version_Wave) {
+ if (!MainActivity.this.isFinishing()) {
+ final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Downgrade_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(6500));
+ }
+ }
+ cursor.close();
+ }
+ }
+ }
+ };
+ progress.start();
+ } else {
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Slow or no internet connection. Try again later.", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ }
+
+ }
+
+
+ public void _Signature_Checker_Wave() {
+ }
+ public String getIWSignature(Context context) {
+ try {
+ android.content.pm.PackageInfo packageInfo = context.getPackageManager().getPackageInfo("com.aspiro.tidal", PackageManager.GET_SIGNATURES);
+ for (android.content.pm.Signature signature : packageInfo.signatures) {
+ String iw_sha1 = geti_SHA1_(signature.toByteArray());
+ return iw_sha1;
+ }
+ } catch (android.content.pm.PackageManager.NameNotFoundException e) {
+ }
+ return "";
+ }
+
+ public String getiw_SHA1_(byte[] sig) {
+ try {
+ java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
+ digest.update(sig);
+ byte[] hashtext = digest.digest();
+ return iw_bytes_To_Hex_(hashtext);
+ } catch (java.security.NoSuchAlgorithmException e) {
+ }
+ return "";
+ }
+
+ public String iw_bytes_To_Hex_(byte[] bytes) {
+ final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
+ '9', 'A', 'B', 'C', 'D', 'E', 'F' };
+ char[] hexChars = new char[bytes.length * 2];
+ int v;
+ for (int j = 0; j < bytes.length; j++) {
+ v = bytes[j] & 0xFF;
+ hexChars[j * 2] = hexArray[v >>> 4];
+ hexChars[j * 2 + 1] = hexArray[v & 0x0F];
+ }
+ return new String(hexChars);
+ }
+ {
+
+
+ }
+ public String getDWSignature(Context context) {
+ try {
+ android.content.pm.PackageInfo packageArchiveInfo = context.getPackageManager().getPackageArchiveInfo(apk_path_location.getText().toString().concat("Patched Wave (xManager).apk"), PackageManager.GET_SIGNATURES);
+ for (android.content.pm.Signature signature : packageArchiveInfo.signatures) {
+ String dw_sha1 = getd_SHA1_(signature.toByteArray());
+ return dw_sha1;
+ }
+ } catch (Exception e) {
+ }
+ return "";
+ }
+
+ public String getdw_SHA1_(byte[] sig) {
+ try {
+ java.security.MessageDigest digest = java.security.MessageDigest.getInstance("SHA1");
+ digest.update(sig);
+ byte[] hashtext = digest.digest();
+ return dw_bytes_To_Hex_(hashtext);
+ } catch (java.security.NoSuchAlgorithmException e) {
+ }
+ return "";
+ }
+
+ public String dw_bytes_To_Hex_(byte[] bytes) {
+ final char[] hexArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8',
+ '9', 'A', 'B', 'C', 'D', 'E', 'F' };
+ char[] hexChars = new char[bytes.length * 2];
+ int v;
+ for (int j = 0; j < bytes.length; j++) {
+ v = bytes[j] & 0xFF;
+ hexChars[j * 2] = hexArray[v >>> 4];
+ hexChars[j * 2 + 1] = hexArray[v & 0x0F];
+ }
+ return new String(hexChars);
+ }
+ {
+
+
+ }
+
+
+ public void _Extension_8() {
+ if ((Installed_Version_Wave < Downloaded_Version_Wave) || ((Downloaded_Version_Wave > Installed_Version_Wave) || ((Installed_Version_Wave == Downloaded_Version_Wave) || Installed_Checker_Wave.equals("false")))) {
+ if (getIWSignature(getApplicationContext()).equals(getDWSignature(getApplicationContext())) || Installed_Checker_Wave.equals("false")) {
+ StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
+ if(android.os.Build.VERSION.SDK_INT >= 29){
+ try {
+ Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
+ intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ } else {
+ try {
+ Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
+ intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Installation Failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+ } else {
+ final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Signature_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+ else {
+ if (Downloaded_Version_Wave < Installed_Version_Wave) {
+ final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Downgrade_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+
+ }
+
+
+ public void _Extension_9() {
+ final AlertDialog.Builder Success_Download = new AlertDialog.Builder(MainActivity.this, R.style.Other_Dialog);
+ String Title = "<b>".concat(download_success_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Success_Download.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Success_Download, int p) {
+ AlertDialog.setCancelable(true);
+ if ((Installed_Version_Wave < Downloaded_Version_Wave) || ((Downloaded_Version_Wave > Installed_Version_Wave) || ((Installed_Version_Wave == Downloaded_Version_Wave) || Installed_Checker_Wave.equals("false")))) {
+ if (getIWSignature(getApplicationContext()).equals(getDWSignature(getApplicationContext())) || Installed_Checker_Wave.equals("false")) {
+ StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
+ if(android.os.Build.VERSION.SDK_INT >= 29){
+ try {
+ Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
+ intent.setDataAndType(FileProvider.getUriForFile(MainActivity.this, "com.xc3fff0e.xmanager.provider", new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ }
+ } else {
+ try {
+ Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
+ intent.setDataAndType(Uri.fromFile(new File("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/files/Download/Patched Wave (xManager).apk")), "application/vnd.android.package-archive");
+ startActivity(intent);
+ _Reminder();
+ }
+ catch(Exception e) {
+ }
+ }
+ } else {
+ if (!MainActivity.this.isFinishing()) {
+ final AlertDialog.Builder Signature_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Signature_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_cloned_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Signature_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Signature_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Signature_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Signature_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Signature_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+ }
+ else {
+ if (!MainActivity.this.isFinishing()) {
+ if (Downloaded_Version_Wave < Installed_Version_Wave) {
+ final AlertDialog.Builder Downgrade_Check = new AlertDialog.Builder(MainActivity.this, R.style.Alert_Dialog);
+ String Title = "<b>".concat(installation_failed_0.concat("</b>"));
+ String TitleColor = "1DB954";
+ Downgrade_Check.setTitle(Html.fromHtml("<font color=\"#" + TitleColor + "\">"+Title+"</font>"));
+ String Message = installation_failed_desc_0.replace("\n", "<br/>");
+ String MessageColor = "FFFFFF";
+ Downgrade_Check.setMessage(Html.fromHtml("<font color=\"#" + MessageColor + "\">"+Message+"</font>"));
+ Downgrade_Check.setPositiveButton(uninstall_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ try {
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.aspiro.tidal"));
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ Downgrade_Check.setNeutralButton(close_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Downgrade_Check, int p) {
+ AlertDialog.setCancelable(true);
+ }
+ });
+ AlertDialog = Downgrade_Check.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+ }
+ }
+ }
+ }
+ });
+ Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener(){
+ @Override
+ public void onClick(DialogInterface Success_Download, int p) {
+ AlertDialog.setCancelable(true);
+ _Reminder();
+ }
+ });
+ AlertDialog = Success_Download.create();
+ AlertDialog.setCancelable(false);
+ AlertDialog.getWindow().setBackgroundDrawableResource(R.drawable.background);
+ AlertDialog.show();
+
+ }
+
public class List_items_1Adapter extends BaseAdapter {
ArrayList<HashMap<String, Object>> _data;
@@ -14773,6 +16530,78 @@ public class MainActivity extends AppCompatActivity { LayoutInflater _inflater = getLayoutInflater();
View _view = _v;
if (_view == null) {
+ _view = _inflater.inflate(R.layout.list_versions, null);
+ }
+
+ final LinearLayout box = _view.findViewById(R.id.box);
+ final TextView link = _view.findViewById(R.id.link);
+ final TextView mirror = _view.findViewById(R.id.mirror);
+ final ImageView icon = _view.findViewById(R.id.icon);
+ final TextView sub = _view.findViewById(R.id.sub);
+ final TextView sub_separator = _view.findViewById(R.id.sub_separator);
+ final TextView title = _view.findViewById(R.id.title);
+
+ try {
+ sub.setVisibility(View.VISIBLE);
+ sub_separator.setVisibility(View.VISIBLE);
+ title.setVisibility(View.VISIBLE);
+ link.setVisibility(View.GONE);
+ mirror.setVisibility(View.GONE);
+ if (_position < 1) {
+ sub.setTextColor(0xFFFF1744);
+ sub.setText("LATEST RELEASE");
+ sub_separator.setTextColor(0xFF616161);
+ sub_separator.setText("|");
+ }
+ else {
+ sub.setTextColor(0xFFBDBDBD);
+ sub.setText("OLDER RELEASE");
+ sub_separator.setTextColor(0xFF616161);
+ sub_separator.setText("|");
+ }
+ sub.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ sub_separator.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ title.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
+ title.setText(wave_patched.get((int)(wave_patched.size() - 1) - _position).get("Title").toString());
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
+ animation.setDuration(500); box.startAnimation(animation);
+ animation = null;
+ } catch (Exception e) {
+ }
+
+ return _view;
+ }
+ }
+
+ public class List_items_5Adapter extends BaseAdapter {
+
+ ArrayList<HashMap<String, Object>> _data;
+
+ public List_items_5Adapter(ArrayList<HashMap<String, Object>> _arr) {
+ _data = _arr;
+ }
+
+ @Override
+ public int getCount() {
+ return _data.size();
+ }
+
+ @Override
+ public HashMap<String, Object> getItem(int _index) {
+ return _data.get(_index);
+ }
+
+ @Override
+ public long getItemId(int _index) {
+ return _index;
+ }
+
+ @Override
+ public View getView(final int _position, View _v, ViewGroup _container) {
+ LayoutInflater _inflater = getLayoutInflater();
+ View _view = _v;
+ if (_view == null) {
_view = _inflater.inflate(R.layout.list_changelogs, null);
}
@@ -14782,6 +16611,14 @@ public class MainActivity extends AppCompatActivity { try {
info.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_font.ttf"), 1);
info.setText(patched_changelogs.get((int)(patched_changelogs.size() - 1) - _position).get("Patched_Changelogs").toString());
+ box.setOnLongClickListener(new View.OnLongClickListener() {
+ @Override
+ public boolean onLongClick(View _view) {
+ ((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", info.getText().toString()));
+ com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Changelog Copied", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).show();
+ return true;
+ }
+ });
Animation animation;
animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.fade_in);
animation.setDuration(500); box.startAnimation(animation);
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java index 5bd92e2..49e3b4f 100644 --- a/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java +++ b/app/src/main/java/com/xc3fff0e/xmanager/SplashActivity.java @@ -76,34 +76,28 @@ public class SplashActivity extends AppCompatActivity { }
Glide.with(getApplicationContext()).load(Uri.parse("file:///android_asset/splash.gif")).into(icon_splash);
title_splash.setTypeface(Typeface.createFromAsset(getAssets(),"fonts/base_glitch.ttf"), 1);
- if (0 == SketchwareUtil.getRandom((int)(0), (int)(5))) {
+ if (0 == SketchwareUtil.getRandom((int)(0), (int)(4))) {
title_splash.setText("xManager");
title_splash.setTextSize((int)25);
}
else {
- if (1 == SketchwareUtil.getRandom((int)(0), (int)(5))) {
- title_splash.setText("Exodus 20:15");
+ if (1 == SketchwareUtil.getRandom((int)(0), (int)(4))) {
+ title_splash.setText("It's A Movement");
title_splash.setTextSize((int)25);
}
else {
- if (2 == SketchwareUtil.getRandom((int)(0), (int)(5))) {
- title_splash.setText("It's A Movement");
+ if (2 == SketchwareUtil.getRandom((int)(0), (int)(4))) {
+ title_splash.setText("We Are Resistance");
title_splash.setTextSize((int)25);
}
else {
- if (3 == SketchwareUtil.getRandom((int)(0), (int)(5))) {
- title_splash.setText("We Are Resistance");
- title_splash.setTextSize((int)25);
+ if (3 == SketchwareUtil.getRandom((int)(0), (int)(4))) {
+ title_splash.setText("Freedom For Everyone");
+ title_splash.setTextSize((int)20);
}
else {
- if (4 == SketchwareUtil.getRandom((int)(0), (int)(5))) {
- title_splash.setText("Freedom For Everyone");
- title_splash.setTextSize((int)20);
- }
- else {
- title_splash.setText("Don't Make Us Popular!");
- title_splash.setTextSize((int)20);
- }
+ title_splash.setText("Don't Make Us Popular!");
+ title_splash.setTextSize((int)20);
}
}
}
diff --git a/app/src/main/res/layout/main.xml b/app/src/main/res/layout/main.xml index fea3b59..0b0cf32 100644 --- a/app/src/main/res/layout/main.xml +++ b/app/src/main/res/layout/main.xml @@ -1295,7 +1295,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1350,7 +1350,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1371,7 +1371,7 @@ android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingBottom="8dp"
- android:text="jetfire\nmeech\nRishavG\nSherlock Holmes\njuznem\nCivaaBTW (Discord Helper)\nDominik (Discord Helper)\nmilindgoel15 (Reddit Moderator) [r/Vanced]\nstiles_stillinski (Reddit Moderator) [r/ApksApps]"
+ android:text="jetfire\nmeech\nRishavG\nSherlock Holmes\njuznem\nCivaaBTW (Discord Helper)\nDominik (Discord Helper)\nParadox (Discord Helper)\nmilindgoel15 (Reddit Moderator) [r/Vanced]\nstiles_stillinski (Reddit Moderator) [r/ApksApps]"
android:textSize="14sp"
android:textStyle="bold"
android:textColor="#FFFFFF" />
@@ -1383,7 +1383,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1438,7 +1438,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1471,7 +1471,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1504,7 +1504,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -1547,7 +1547,7 @@ android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingBottom="5dp"
- android:text="0V3R5!9H7"
+ android:text="0V3R5!9H7 | ssabit"
android:textSize="14sp"
android:textStyle="bold"
android:textColor="#FFFFFF" />
@@ -2329,7 +2329,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="8dp"
+ android:padding="7dp"
android:background="#424242"
android:orientation="vertical">
<TextView
@@ -2397,7 +2397,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:layout_marginRight="10dp"
- android:padding="10dp"
+ android:padding="7dp"
android:background="#212121"
android:orientation="vertical"
android:animateLayoutChanges="true">
@@ -2579,7 +2579,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="10dp"
+ android:padding="7dp"
android:background="#212121"
android:orientation="vertical"
android:animateLayoutChanges="true">
@@ -2760,7 +2760,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="10dp"
+ android:padding="7dp"
android:background="#212121"
android:orientation="vertical"
android:animateLayoutChanges="true">
@@ -2895,13 +2895,246 @@ android:divider="#171717" />
</LinearLayout>
<LinearLayout
+ android:id="@+id/main_box_12"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="20dp"
+ android:layout_marginRight="10dp"
+ android:gravity="center_horizontal|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="center_horizontal|center_vertical"
+ android:animateLayoutChanges="true">
+ <LinearLayout
+ android:id="@+id/box_separator_6"
+ android:layout_width="wrap_content"
+ android:layout_height="5dp"
+ android:layout_marginLeft="20dp"
+ android:padding="8dp"
+ android:background="#424242"
+ android:orientation="horizontal"
+ android:layout_weight="1" />
+ <LinearLayout
+ android:id="@+id/box_sub_4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="center_horizontal|center_vertical"
+ android:layout_weight="1">
+ <TextView
+ android:id="@+id/title_5"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="EXCLUSIVE PATCHED"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF" />
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/box_separator_7"
+ android:layout_width="wrap_content"
+ android:layout_height="5dp"
+ android:layout_marginRight="20dp"
+ android:padding="8dp"
+ android:background="#424242"
+ android:orientation="horizontal"
+ android:layout_weight="1" />
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/main_box_7"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="10dp"
+ android:layout_marginRight="10dp"
+ android:padding="7dp"
+ android:background="#212121"
+ android:orientation="vertical"
+ android:animateLayoutChanges="true">
+ <LinearLayout
+ android:id="@+id/box_10"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/title_4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:paddingTop="8dp"
+ android:paddingRight="8dp"
+ android:paddingBottom="8dp"
+ android:text="WAVE PATCHED"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#63F2F2" />
+ <LinearLayout
+ android:id="@+id/box_4_sub"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="right|center_vertical">
+ <TextView
+ android:id="@+id/patched_4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingRight="8dp"
+ android:gravity="right|center_vertical"
+ android:text="Ad-free, unlimited skips, play on-demand and listen offline"
+ android:textSize="12sp"
+ android:textColor="#FFFFFF"
+ android:layout_gravity="right|center_vertical" />
+ </LinearLayout>
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/box_11"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/sub_text_4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:text="LATEST"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#BDBDBD" />
+ <LinearLayout
+ android:id="@+id/box_switch_4"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right|center_vertical"
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/sub_10"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="3dp"
+ android:paddingTop="8dp"
+ android:paddingRight="8dp"
+ android:paddingBottom="8dp"
+ android:gravity="right|center_vertical"
+ android:text="N/A"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF"
+ android:layout_gravity="right|center_vertical" />
+ </LinearLayout>
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/box_separator_5"
+ android:layout_width="match_parent"
+ android:layout_height="3dp"
+ android:layout_marginLeft="15dp"
+ android:layout_marginRight="15dp"
+ android:padding="8dp"
+ android:background="#616161"
+ android:orientation="horizontal" />
+ <LinearLayout
+ android:id="@+id/box_12"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <TextView
+ android:id="@+id/versions_4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:paddingTop="8dp"
+ android:paddingRight="8dp"
+ android:paddingBottom="8dp"
+ android:text="VERSIONS"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF" />
+ <LinearLayout
+ android:id="@+id/box_sub_8"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="right|center_vertical">
+ <ImageView
+ android:id="@+id/version_oc_04"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="8dp"
+ android:paddingTop="8dp"
+ android:paddingRight="10dp"
+ android:paddingBottom="8dp"
+ android:src="@drawable/close"
+ android:scaleType="center" />
+ </LinearLayout>
+ </LinearLayout>
+ <ListView
+ android:id="@+id/list_items_4"
+ android:layout_width="match_parent"
+ android:layout_height="260dp"
+ android:choiceMode="none"
+ android:nestedScrollingEnabled="true"
+ android:scrollbarThumbVertical="@drawable/scrollbar_vertical_thumb"
+ android:divider="#171717" />
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/main_box_19"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="10dp"
+ android:layout_marginTop="20dp"
+ android:layout_marginRight="10dp"
+ android:gravity="center_horizontal|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="center_horizontal|center_vertical"
+ android:animateLayoutChanges="true">
+ <LinearLayout
+ android:id="@+id/box_separator_8"
+ android:layout_width="wrap_content"
+ android:layout_height="5dp"
+ android:layout_marginLeft="20dp"
+ android:padding="8dp"
+ android:background="#424242"
+ android:orientation="horizontal"
+ android:layout_weight="1" />
+ <LinearLayout
+ android:id="@+id/box_sub_9"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal|center_vertical"
+ android:orientation="horizontal"
+ android:layout_gravity="center_horizontal|center_vertical"
+ android:layout_weight="1">
+ <TextView
+ android:id="@+id/title_6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="MISCELLANEOUS"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF" />
+ </LinearLayout>
+ <LinearLayout
+ android:id="@+id/box_separator_9"
+ android:layout_width="wrap_content"
+ android:layout_height="5dp"
+ android:layout_marginRight="20dp"
+ android:padding="8dp"
+ android:background="#424242"
+ android:orientation="horizontal"
+ android:layout_weight="1" />
+ </LinearLayout>
+ <LinearLayout
android:id="@+id/main_box_6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="10dp"
+ android:padding="7dp"
android:background="#212121"
android:orientation="vertical"
android:animateLayoutChanges="true">
@@ -2995,6 +3228,32 @@ android:textStyle="bold"
android:textColor="#FFFFFF"
android:layout_gravity="right|center_vertical" />
+ <TextView
+ android:id="@+id/sub_separator_3"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="3dp"
+ android:paddingTop="8dp"
+ android:paddingRight="3dp"
+ android:paddingBottom="8dp"
+ android:gravity="right|center_vertical"
+ android:text="|"
+ android:textSize="14sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF"
+ android:layout_gravity="right|center_vertical" />
+ <TextView
+ android:id="@+id/sub_installed_w"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
+ android:gravity="right|center_vertical"
+ android:text="N/A"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#FFFFFF"
+ android:layout_gravity="right|center_vertical" />
</LinearLayout>
</LinearLayout>
<LinearLayout
@@ -3045,7 +3304,7 @@ </LinearLayout>
</LinearLayout>
<ListView
- android:id="@+id/list_items_4"
+ android:id="@+id/list_items_5"
android:layout_width="match_parent"
android:layout_height="260dp"
android:dividerHeight="3dp"
@@ -3062,7 +3321,7 @@ android:layout_marginLeft="10dp"
android:layout_marginTop="10dp"
android:layout_marginRight="10dp"
- android:padding="10dp"
+ android:padding="7dp"
android:background="#212121"
android:orientation="vertical"
android:animateLayoutChanges="true">
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 55f5739..ee13e43 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -154,7 +154,6 @@ <string name="installation_failed_01" translatable="true">ইনস্টলেশন ব্যর্থ হয়েছে</string>
<string name="installation_failed_desc_01" translatable="true">কারণ: আপনি বর্তমানে যেটি ইনস্টল করা আছে, তার চেয়ে কম প্যাচ করা সংস্করণ ইনস্টল করার চেষ্টা করেছেন৷\n\nসমাধান:\nA. এর সমান বা বড় সংস্করণ নির্বাচন করুন।\nB. বর্তমান সংস্করণ আনইনস্টল করুন, তারপর ডাউনগ্রেড করুন।\n\nযদি সমস্যাটি থেকে যায়, অনবরত জিজ্ঞাসিত প্রশ্ন দেখুন।</string>
<string name="installation_failed_spap_desc_01" translatable="true">কারণ: এই ডিভাইসে ইনস্টল করা বর্তমান প্যাচ সরাসরি xManager বা আমাদের দলের কাছ থেকে আসেনি।\n\nসমাধান: অ্যাপ্লিকেশনটির বর্তমান সংস্করণ আনইনস্টল করুন, xManager পুনরায় চালু করুন এবং আবার চেষ্টা করুন। যদি সমস্যাটি থেকে যায়,তাহলে অনবরত জিজ্ঞাসিত প্রশ্ন দেখুন।</string>
-
<string name="installation_failed_cloned_desc_01" translatable="true">কারণ: এই ডিভাইসে ইনস্টল করা বর্তমান ক্লোন সরাসরি xManager বা আমাদের দলের কাছ থেকে আসেনি।\n\nসমাধান: অ্যাপ্লিকেশনটির বর্তমান সংস্করণ আনইনস্টল করুন, xManager পুনরায় চালু করুন এবং আবার চেষ্টা করুন। যদি সমস্যাটি থেকে যায়, তাহলে অনবরত জিজ্ঞাসিত প্রশ্ন দেখুন।</string>
<string name="existing_patched_01" translatable="true">বিদ্যমান প্যাচড</string>
<string name="existing_patched_desc_01" translatable="true">বাহ্যিক ডিরেক্টরিতে একটি বিদ্যমান প্যাচ সনাক্ত করা হয়েছে। আপনি কি করতে চান?</string>
|