summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java11666
1 files changed, 5804 insertions, 5862 deletions
diff --git a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
index a226d83..9d4a018 100644
--- a/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
+++ b/app/src/main/java/com/xc3fff0e/xmanager/MainActivity.java
@@ -226,6 +226,12 @@ public class MainActivity extends AppCompatActivity {
private TextView testers_1;
private TextView mod_testers_2;
private TextView testers_2;
+ private TextView mobilism_team;
+ private TextView mobilism_1;
+ private TextView manager_team;
+ private TextView manager_1;
+ private TextView forum_team;
+ private TextView forum_1;
private LinearLayout box_about_4_sub_1;
private TextView manager_lang_13;
private TextView translator_13;
@@ -257,12 +263,6 @@ public class MainActivity extends AppCompatActivity {
private TextView translator_12;
private TextView manager_lang_11;
private TextView translator_11;
- private TextView mobilism_team;
- private TextView mobilism_1;
- private TextView forum_team;
- private TextView forum_1;
- private TextView manager_team;
- private TextView manager_1;
private ScrollView main_scroll_body;
private LinearLayout main_body;
private LinearLayout main_box_1;
@@ -538,6 +538,12 @@ public class MainActivity extends AppCompatActivity {
testers_1 = (TextView) findViewById(R.id.testers_1);
mod_testers_2 = (TextView) findViewById(R.id.mod_testers_2);
testers_2 = (TextView) findViewById(R.id.testers_2);
+ mobilism_team = (TextView) findViewById(R.id.mobilism_team);
+ mobilism_1 = (TextView) findViewById(R.id.mobilism_1);
+ manager_team = (TextView) findViewById(R.id.manager_team);
+ manager_1 = (TextView) findViewById(R.id.manager_1);
+ forum_team = (TextView) findViewById(R.id.forum_team);
+ forum_1 = (TextView) findViewById(R.id.forum_1);
box_about_4_sub_1 = (LinearLayout) findViewById(R.id.box_about_4_sub_1);
manager_lang_13 = (TextView) findViewById(R.id.manager_lang_13);
translator_13 = (TextView) findViewById(R.id.translator_13);
@@ -569,12 +575,6 @@ public class MainActivity extends AppCompatActivity {
translator_12 = (TextView) findViewById(R.id.translator_12);
manager_lang_11 = (TextView) findViewById(R.id.manager_lang_11);
translator_11 = (TextView) findViewById(R.id.translator_11);
- mobilism_team = (TextView) findViewById(R.id.mobilism_team);
- mobilism_1 = (TextView) findViewById(R.id.mobilism_1);
- forum_team = (TextView) findViewById(R.id.forum_team);
- forum_1 = (TextView) findViewById(R.id.forum_1);
- manager_team = (TextView) findViewById(R.id.manager_team);
- manager_1 = (TextView) findViewById(R.id.manager_1);
main_scroll_body = (ScrollView) findViewById(R.id.main_scroll_body);
main_body = (LinearLayout) findViewById(R.id.main_body);
main_box_1 = (LinearLayout) findViewById(R.id.main_box_1);
@@ -707,17 +707,17 @@ public class MainActivity extends AppCompatActivity {
try {
if (CHECK == 0) {
CHECK = 1;
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- CHECK = 0;
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ CHECK = 0;
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(2000));
if (true) {
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).setAction("", new View.OnClickListener(){
@@ -727,35 +727,35 @@ public class MainActivity extends AppCompatActivity {
}).show();
}
else {
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- Versions_1 = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- Versions_1.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ Versions_1 = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ Versions_1.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
Latest_Version = Versions_1.get((int)0).get("V").toString();
if (Double.parseDouble(Latest_Version) > Double.parseDouble(Current_Version)) {
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
try {
_RequiredDialog(Update_Authorized, false);
Update_Authorized.setTitle(new_update.getText().toString());
- Update_Authorized.setPositiveButton(download_update.getText().toString(), new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Update_Authorized.setPositiveButton(download_update.getText().toString(), new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Update_Authorized, true);
if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("XX")) {
@@ -767,50 +767,50 @@ public class MainActivity extends AppCompatActivity {
}
}
_Update_Remover();
- }
- catch(Exception e) {
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ catch(Exception e) {
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Update_Authorized.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Update_Authorized, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Update_Authorized.create().show();
- }
- catch(Exception e) {
- }
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1800));
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(2800));
}
else {
if (Double.parseDouble(Current_Version) > Double.parseDouble(Latest_Version)) {
@@ -818,67 +818,67 @@ public class MainActivity extends AppCompatActivity {
}
else {
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
try {
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Update_Latest.setTitle("xManager v".concat(app_version.getText().toString().concat(" (Public Release)")));
+ Update_Latest.setTitle("xManager v".concat(app_version.getText().toString().concat(" (Latest Version)")));
Update_Latest.setMessage(app_changelogs.getText().toString());
Update_Latest.create().show();
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- }
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1800));
+ }
+ catch(Exception e) {
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(2800));
}
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -921,9 +921,9 @@ public class MainActivity extends AppCompatActivity {
apk_path_location.setEnabled(false);
title_header.setText(main_title.getText().toString());
title_header_beta.setVisibility(View.VISIBLE);
- Animation header_beta;
- header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
+ Animation header_beta;
+ header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
header_beta = null;
CLOSER_2 = 0;
_Animation_0();
@@ -987,10 +987,10 @@ public class MainActivity extends AppCompatActivity {
}
else {
NAVIGATION_BAR.edit().putString("NAVIGATION", "0").commit();
- getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
-
- if (Build.VERSION.SDK_INT >= 21) {
- getWindow().setNavigationBarColor(Color.parseColor("#212121"));
+ getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
+
+ if (Build.VERSION.SDK_INT >= 21) {
+ getWindow().setNavigationBarColor(Color.parseColor("#212121"));
}
}
COUNTER = 1;
@@ -1050,7 +1050,7 @@ public class MainActivity extends AppCompatActivity {
COUNTER = 1;
}
- if (_position == 6) {
+ if (_position == 7) {
THEME.edit().putString("THEME", "7").commit();
@@ -1071,1514 +1071,1514 @@ public class MainActivity extends AppCompatActivity {
final int _position = _param3;
if (_position == 0) {
LANGUAGE.edit().putString("LANGUAGE", "0").commit();
- title_1.setText(R.string.spotify_regular);
- title_2.setText(R.string.spotify_amoled);
- sub_text_2.setText(R.string.installed);
- sub_text_4.setText(R.string.installed);
- sub_text_1.setText(R.string.latest);
- sub_text_3.setText(R.string.latest);
- version_switch_1.setText(R.string.versions);
- version_switch_2.setText(R.string.versions);
- changelogs.setText(R.string.changelogs);
- title_sub.setText(R.string.manager_tools);
- device_cpu.setText(R.string.device_cpu);
- source.setText(R.string.source);
- support.setText(R.string.support);
- donate.setText(R.string.donate);
- about.setText(R.string.about);
- list_auto_refresh.setText(R.string.list_auto_refresh);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
- force_auto_install.setText(R.string.force_auto_install);
- force_auto_install_info.setText(R.string.force_auto_install_desc);
- copy_url_mode.setText(R.string.copy_url_mode);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
- navigation_bar.setText(R.string.hide_navigation_bar);
- theme.setText(R.string.show_themes);
- apk_location.setText(R.string.apk_location);
- apk_location_info.setText(R.string.apk_location_desc);
- clear_directory_folders.setText(R.string.clear_directory_folders);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
- reset_settings.setText(R.string.reset_settings);
- sub_title.setText(R.string.about_sub);
- developer_manager.setText(R.string.xmanager_dev);
- developer_spotify.setText(R.string.spotify_mod_devs);
- support_team.setText(R.string.telegram_support_team);
- mod_testers_1.setText(R.string.manager_testers);
- mod_testers_2.setText(R.string.manager_hosting);
- mobilism_team.setText(R.string.mobilism_team);
- forum_team.setText(R.string.forum_team);
- manager_team.setText(R.string.xspotify_team);
- contributors_1.setText(R.string.contributors);
- download_selected.setText(R.string.download_selected);
- download_ready.setText(R.string.download_ready);
- download_ready_desc.setText(R.string.download_ready_desc);
- downloading_file.setText(R.string.downloading_file);
- download_success.setText(R.string.download_success);
- copy_url_desc.setText(R.string.copy_url_desc);
- file_directory.setText(R.string.file_directory);
- new_update.setText(R.string.new_update);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url);
- continue_1.setText(R.string.continue_1);
- cancel.setText(R.string.cancel);
- download.setText(R.string.download);
- later.setText(R.string.later);
- directory.setText(R.string.directory);
- install_now.setText(R.string.install_now);
- install_update.setText(R.string.install_update);
- go_back.setText(R.string.go_back);
- download_update.setText(R.string.download_update);
- not_now.setText(R.string.not_now);
- show_support.setText(R.string.show_support);
- show_support_desc.setText(R.string.show_support_desc);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title);
- settings_title.setText(R.string.settings_title);
- about_title.setText(R.string.about_title);
- maintenance.setText(R.string.maintenance);
- maintenance_desc.setText(R.string.maintenance_desc);
- thanks.setText(R.string.thanks);
- language.setText(R.string.language);
- website.setText(R.string.website);
-
+ title_1.setText(R.string.spotify_regular);
+ title_2.setText(R.string.spotify_amoled);
+ sub_text_2.setText(R.string.installed);
+ sub_text_4.setText(R.string.installed);
+ sub_text_1.setText(R.string.latest);
+ sub_text_3.setText(R.string.latest);
+ version_switch_1.setText(R.string.versions);
+ version_switch_2.setText(R.string.versions);
+ changelogs.setText(R.string.changelogs);
+ title_sub.setText(R.string.manager_tools);
+ device_cpu.setText(R.string.device_cpu);
+ source.setText(R.string.source);
+ support.setText(R.string.support);
+ donate.setText(R.string.donate);
+ about.setText(R.string.about);
+ list_auto_refresh.setText(R.string.list_auto_refresh);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
+ force_auto_install.setText(R.string.force_auto_install);
+ force_auto_install_info.setText(R.string.force_auto_install_desc);
+ copy_url_mode.setText(R.string.copy_url_mode);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
+ navigation_bar.setText(R.string.hide_navigation_bar);
+ theme.setText(R.string.show_themes);
+ apk_location.setText(R.string.apk_location);
+ apk_location_info.setText(R.string.apk_location_desc);
+ clear_directory_folders.setText(R.string.clear_directory_folders);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
+ reset_settings.setText(R.string.reset_settings);
+ sub_title.setText(R.string.about_sub);
+ developer_manager.setText(R.string.xmanager_dev);
+ developer_spotify.setText(R.string.spotify_mod_devs);
+ support_team.setText(R.string.telegram_support_team);
+ mod_testers_1.setText(R.string.manager_testers);
+ mod_testers_2.setText(R.string.manager_hosting);
+ mobilism_team.setText(R.string.mobilism_team);
+ forum_team.setText(R.string.forum_team);
+ manager_team.setText(R.string.xspotify_team);
+ contributors_1.setText(R.string.contributors);
+ download_selected.setText(R.string.download_selected);
+ download_ready.setText(R.string.download_ready);
+ download_ready_desc.setText(R.string.download_ready_desc);
+ downloading_file.setText(R.string.downloading_file);
+ download_success.setText(R.string.download_success);
+ copy_url_desc.setText(R.string.copy_url_desc);
+ file_directory.setText(R.string.file_directory);
+ new_update.setText(R.string.new_update);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url);
+ continue_1.setText(R.string.continue_1);
+ cancel.setText(R.string.cancel);
+ download.setText(R.string.download);
+ later.setText(R.string.later);
+ directory.setText(R.string.directory);
+ install_now.setText(R.string.install_now);
+ install_update.setText(R.string.install_update);
+ go_back.setText(R.string.go_back);
+ download_update.setText(R.string.download_update);
+ not_now.setText(R.string.not_now);
+ show_support.setText(R.string.show_support);
+ show_support_desc.setText(R.string.show_support_desc);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title);
+ settings_title.setText(R.string.settings_title);
+ about_title.setText(R.string.about_title);
+ maintenance.setText(R.string.maintenance);
+ maintenance_desc.setText(R.string.maintenance_desc);
+ thanks.setText(R.string.thanks);
+ language.setText(R.string.language);
+ website.setText(R.string.website);
+
discord.setText(R.string.discord);
COUNTER = 1;
}
if (_position == 1) {
LANGUAGE.edit().putString("LANGUAGE", "1").commit();
- title_1.setText(R.string.spotify_regular_01);
- title_2.setText(R.string.spotify_amoled_01);
- sub_text_2.setText(R.string.installed_01);
- sub_text_4.setText(R.string.installed_01);
- sub_text_1.setText(R.string.latest_01);
- sub_text_3.setText(R.string.latest_01);
- version_switch_1.setText(R.string.versions_01);
- version_switch_2.setText(R.string.versions_01);
- changelogs.setText(R.string.changelogs_01);
- title_sub.setText(R.string.manager_tools_01);
- device_cpu.setText(R.string.device_cpu_01);
- source.setText(R.string.source_01);
- support.setText(R.string.support_01);
- donate.setText(R.string.donate_01);
- about.setText(R.string.about_01);
- list_auto_refresh.setText(R.string.list_auto_refresh_01);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
- force_auto_install.setText(R.string.force_auto_install_01);
- force_auto_install_info.setText(R.string.force_auto_install_desc_01);
- copy_url_mode.setText(R.string.copy_url_mode_01);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
- navigation_bar.setText(R.string.hide_navigation_bar_01);
- theme.setText(R.string.show_themes_01);
- apk_location.setText(R.string.apk_location_01);
- apk_location_info.setText(R.string.apk_location_desc_01);
- clear_directory_folders.setText(R.string.clear_directory_folders_01);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
- reset_settings.setText(R.string.reset_settings_01);
- sub_title.setText(R.string.about_sub_01);
- developer_manager.setText(R.string.xmanager_dev_01);
- developer_spotify.setText(R.string.spotify_mod_devs_01);
- support_team.setText(R.string.telegram_support_team_01);
- mod_testers_1.setText(R.string.manager_testers_01);
- mod_testers_2.setText(R.string.manager_hosting_01);
- mobilism_team.setText(R.string.mobilism_team_01);
- forum_team.setText(R.string.forum_team_01);
- manager_team.setText(R.string.xspotify_team_01);
- contributors_1.setText(R.string.contributors_01);
- download_selected.setText(R.string.download_selected_01);
- download_ready.setText(R.string.download_ready_01);
- download_ready_desc.setText(R.string.download_ready_desc_01);
- downloading_file.setText(R.string.downloading_file_01);
- download_success.setText(R.string.download_success_01);
- copy_url_desc.setText(R.string.copy_url_desc_01);
- file_directory.setText(R.string.file_directory_01);
- new_update.setText(R.string.new_update_01);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_01);
- continue_1.setText(R.string.continue_1_01);
- cancel.setText(R.string.cancel_01);
- download.setText(R.string.download_01);
- later.setText(R.string.later_01);
- directory.setText(R.string.directory_01);
- install_now.setText(R.string.install_now_01);
- install_update.setText(R.string.install_update_01);
- go_back.setText(R.string.go_back_01);
- download_update.setText(R.string.download_update_01);
- not_now.setText(R.string.not_now_01);
- show_support.setText(R.string.show_support_01);
- show_support_desc.setText(R.string.show_support_desc_01);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_01);
- settings_title.setText(R.string.settings_title_01);
- about_title.setText(R.string.about_title_01);
- maintenance.setText(R.string.maintenance_01);
- maintenance_desc.setText(R.string.maintenance_desc_01);
- thanks.setText(R.string.thanks_01);
- language.setText(R.string.language_01);
- website.setText(R.string.website_01);
-
+ title_1.setText(R.string.spotify_regular_01);
+ title_2.setText(R.string.spotify_amoled_01);
+ sub_text_2.setText(R.string.installed_01);
+ sub_text_4.setText(R.string.installed_01);
+ sub_text_1.setText(R.string.latest_01);
+ sub_text_3.setText(R.string.latest_01);
+ version_switch_1.setText(R.string.versions_01);
+ version_switch_2.setText(R.string.versions_01);
+ changelogs.setText(R.string.changelogs_01);
+ title_sub.setText(R.string.manager_tools_01);
+ device_cpu.setText(R.string.device_cpu_01);
+ source.setText(R.string.source_01);
+ support.setText(R.string.support_01);
+ donate.setText(R.string.donate_01);
+ about.setText(R.string.about_01);
+ list_auto_refresh.setText(R.string.list_auto_refresh_01);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
+ force_auto_install.setText(R.string.force_auto_install_01);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_01);
+ copy_url_mode.setText(R.string.copy_url_mode_01);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
+ navigation_bar.setText(R.string.hide_navigation_bar_01);
+ theme.setText(R.string.show_themes_01);
+ apk_location.setText(R.string.apk_location_01);
+ apk_location_info.setText(R.string.apk_location_desc_01);
+ clear_directory_folders.setText(R.string.clear_directory_folders_01);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
+ reset_settings.setText(R.string.reset_settings_01);
+ sub_title.setText(R.string.about_sub_01);
+ developer_manager.setText(R.string.xmanager_dev_01);
+ developer_spotify.setText(R.string.spotify_mod_devs_01);
+ support_team.setText(R.string.telegram_support_team_01);
+ mod_testers_1.setText(R.string.manager_testers_01);
+ mod_testers_2.setText(R.string.manager_hosting_01);
+ mobilism_team.setText(R.string.mobilism_team_01);
+ forum_team.setText(R.string.forum_team_01);
+ manager_team.setText(R.string.xspotify_team_01);
+ contributors_1.setText(R.string.contributors_01);
+ download_selected.setText(R.string.download_selected_01);
+ download_ready.setText(R.string.download_ready_01);
+ download_ready_desc.setText(R.string.download_ready_desc_01);
+ downloading_file.setText(R.string.downloading_file_01);
+ download_success.setText(R.string.download_success_01);
+ copy_url_desc.setText(R.string.copy_url_desc_01);
+ file_directory.setText(R.string.file_directory_01);
+ new_update.setText(R.string.new_update_01);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_01);
+ continue_1.setText(R.string.continue_1_01);
+ cancel.setText(R.string.cancel_01);
+ download.setText(R.string.download_01);
+ later.setText(R.string.later_01);
+ directory.setText(R.string.directory_01);
+ install_now.setText(R.string.install_now_01);
+ install_update.setText(R.string.install_update_01);
+ go_back.setText(R.string.go_back_01);
+ download_update.setText(R.string.download_update_01);
+ not_now.setText(R.string.not_now_01);
+ show_support.setText(R.string.show_support_01);
+ show_support_desc.setText(R.string.show_support_desc_01);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_01);
+ settings_title.setText(R.string.settings_title_01);
+ about_title.setText(R.string.about_title_01);
+ maintenance.setText(R.string.maintenance_01);
+ maintenance_desc.setText(R.string.maintenance_desc_01);
+ thanks.setText(R.string.thanks_01);
+ language.setText(R.string.language_01);
+ website.setText(R.string.website_01);
+
discord.setText(R.string.discord_01);
COUNTER = 1;
}
if (_position == 2) {
LANGUAGE.edit().putString("LANGUAGE", "2").commit();
- title_1.setText(R.string.spotify_regular_02);
- title_2.setText(R.string.spotify_amoled_02);
- sub_text_2.setText(R.string.installed_02);
- sub_text_4.setText(R.string.installed_02);
- sub_text_1.setText(R.string.latest_02);
- sub_text_3.setText(R.string.latest_02);
- version_switch_1.setText(R.string.versions_02);
- version_switch_2.setText(R.string.versions_02);
- changelogs.setText(R.string.changelogs_02);
- title_sub.setText(R.string.manager_tools_02);
- device_cpu.setText(R.string.device_cpu_02);
- source.setText(R.string.source_02);
- support.setText(R.string.support_02);
- donate.setText(R.string.donate_02);
- about.setText(R.string.about_02);
- list_auto_refresh.setText(R.string.list_auto_refresh_02);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
- force_auto_install.setText(R.string.force_auto_install_02);
- force_auto_install_info.setText(R.string.force_auto_install_desc_02);
- copy_url_mode.setText(R.string.copy_url_mode_02);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
- navigation_bar.setText(R.string.hide_navigation_bar_02);
- theme.setText(R.string.show_themes_02);
- apk_location.setText(R.string.apk_location_02);
- apk_location_info.setText(R.string.apk_location_desc_02);
- clear_directory_folders.setText(R.string.clear_directory_folders_02);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
- reset_settings.setText(R.string.reset_settings_02);
- sub_title.setText(R.string.about_sub_02);
- developer_manager.setText(R.string.xmanager_dev_02);
- developer_spotify.setText(R.string.spotify_mod_devs_02);
- support_team.setText(R.string.telegram_support_team_02);
- mod_testers_1.setText(R.string.manager_testers_02);
- mod_testers_2.setText(R.string.manager_hosting_02);
- mobilism_team.setText(R.string.mobilism_team_02);
- forum_team.setText(R.string.forum_team_02);
- manager_team.setText(R.string.xspotify_team_02);
- contributors_1.setText(R.string.contributors_02);
- download_selected.setText(R.string.download_selected_02);
- download_ready.setText(R.string.download_ready_02);
- download_ready_desc.setText(R.string.download_ready_desc_02);
- downloading_file.setText(R.string.downloading_file_02);
- download_success.setText(R.string.download_success_02);
- copy_url_desc.setText(R.string.copy_url_desc_02);
- file_directory.setText(R.string.file_directory_02);
- new_update.setText(R.string.new_update_02);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_02);
- continue_1.setText(R.string.continue_1_02);
- cancel.setText(R.string.cancel_02);
- download.setText(R.string.download_02);
- later.setText(R.string.later_02);
- directory.setText(R.string.directory_02);
- install_now.setText(R.string.install_now_02);
- install_update.setText(R.string.install_update_02);
- go_back.setText(R.string.go_back_02);
- download_update.setText(R.string.download_update_02);
- not_now.setText(R.string.not_now_02);
- show_support.setText(R.string.show_support_02);
- show_support_desc.setText(R.string.show_support_desc_02);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_02);
- settings_title.setText(R.string.settings_title_02);
- about_title.setText(R.string.about_title_02);
- maintenance.setText(R.string.maintenance_02);
- maintenance_desc.setText(R.string.maintenance_desc_02);
- thanks.setText(R.string.thanks_02);
- language.setText(R.string.language_02);
- website.setText(R.string.website_02);
-
+ title_1.setText(R.string.spotify_regular_02);
+ title_2.setText(R.string.spotify_amoled_02);
+ sub_text_2.setText(R.string.installed_02);
+ sub_text_4.setText(R.string.installed_02);
+ sub_text_1.setText(R.string.latest_02);
+ sub_text_3.setText(R.string.latest_02);
+ version_switch_1.setText(R.string.versions_02);
+ version_switch_2.setText(R.string.versions_02);
+ changelogs.setText(R.string.changelogs_02);
+ title_sub.setText(R.string.manager_tools_02);
+ device_cpu.setText(R.string.device_cpu_02);
+ source.setText(R.string.source_02);
+ support.setText(R.string.support_02);
+ donate.setText(R.string.donate_02);
+ about.setText(R.string.about_02);
+ list_auto_refresh.setText(R.string.list_auto_refresh_02);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
+ force_auto_install.setText(R.string.force_auto_install_02);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_02);
+ copy_url_mode.setText(R.string.copy_url_mode_02);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
+ navigation_bar.setText(R.string.hide_navigation_bar_02);
+ theme.setText(R.string.show_themes_02);
+ apk_location.setText(R.string.apk_location_02);
+ apk_location_info.setText(R.string.apk_location_desc_02);
+ clear_directory_folders.setText(R.string.clear_directory_folders_02);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
+ reset_settings.setText(R.string.reset_settings_02);
+ sub_title.setText(R.string.about_sub_02);
+ developer_manager.setText(R.string.xmanager_dev_02);
+ developer_spotify.setText(R.string.spotify_mod_devs_02);
+ support_team.setText(R.string.telegram_support_team_02);
+ mod_testers_1.setText(R.string.manager_testers_02);
+ mod_testers_2.setText(R.string.manager_hosting_02);
+ mobilism_team.setText(R.string.mobilism_team_02);
+ forum_team.setText(R.string.forum_team_02);
+ manager_team.setText(R.string.xspotify_team_02);
+ contributors_1.setText(R.string.contributors_02);
+ download_selected.setText(R.string.download_selected_02);
+ download_ready.setText(R.string.download_ready_02);
+ download_ready_desc.setText(R.string.download_ready_desc_02);
+ downloading_file.setText(R.string.downloading_file_02);
+ download_success.setText(R.string.download_success_02);
+ copy_url_desc.setText(R.string.copy_url_desc_02);
+ file_directory.setText(R.string.file_directory_02);
+ new_update.setText(R.string.new_update_02);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_02);
+ continue_1.setText(R.string.continue_1_02);
+ cancel.setText(R.string.cancel_02);
+ download.setText(R.string.download_02);
+ later.setText(R.string.later_02);
+ directory.setText(R.string.directory_02);
+ install_now.setText(R.string.install_now_02);
+ install_update.setText(R.string.install_update_02);
+ go_back.setText(R.string.go_back_02);
+ download_update.setText(R.string.download_update_02);
+ not_now.setText(R.string.not_now_02);
+ show_support.setText(R.string.show_support_02);
+ show_support_desc.setText(R.string.show_support_desc_02);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_02);
+ settings_title.setText(R.string.settings_title_02);
+ about_title.setText(R.string.about_title_02);
+ maintenance.setText(R.string.maintenance_02);
+ maintenance_desc.setText(R.string.maintenance_desc_02);
+ thanks.setText(R.string.thanks_02);
+ language.setText(R.string.language_02);
+ website.setText(R.string.website_02);
+
discord.setText(R.string.discord_02);
COUNTER = 1;
}
if (_position == 3) {
LANGUAGE.edit().putString("LANGUAGE", "3").commit();
- title_1.setText(R.string.spotify_regular_03);
- title_2.setText(R.string.spotify_amoled_03);
- sub_text_2.setText(R.string.installed_03);
- sub_text_4.setText(R.string.installed_03);
- sub_text_1.setText(R.string.latest_03);
- sub_text_3.setText(R.string.latest_03);
- version_switch_1.setText(R.string.versions_03);
- version_switch_2.setText(R.string.versions_03);
- changelogs.setText(R.string.changelogs_03);
- title_sub.setText(R.string.manager_tools_03);
- device_cpu.setText(R.string.device_cpu_03);
- source.setText(R.string.source_03);
- support.setText(R.string.support_03);
- donate.setText(R.string.donate_03);
- about.setText(R.string.about_03);
- list_auto_refresh.setText(R.string.list_auto_refresh_03);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
- force_auto_install.setText(R.string.force_auto_install_03);
- force_auto_install_info.setText(R.string.force_auto_install_desc_03);
- copy_url_mode.setText(R.string.copy_url_mode_03);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
- navigation_bar.setText(R.string.hide_navigation_bar_03);
- theme.setText(R.string.show_themes_03);
- apk_location.setText(R.string.apk_location_03);
- apk_location_info.setText(R.string.apk_location_desc_03);
- clear_directory_folders.setText(R.string.clear_directory_folders_03);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
- reset_settings.setText(R.string.reset_settings_03);
- sub_title.setText(R.string.about_sub_03);
- developer_manager.setText(R.string.xmanager_dev_03);
- developer_spotify.setText(R.string.spotify_mod_devs_03);
- support_team.setText(R.string.telegram_support_team_03);
- mod_testers_1.setText(R.string.manager_testers_03);
- mod_testers_2.setText(R.string.manager_hosting_03);
- mobilism_team.setText(R.string.mobilism_team_03);
- forum_team.setText(R.string.forum_team_03);
- manager_team.setText(R.string.xspotify_team_03);
- contributors_1.setText(R.string.contributors_03);
- download_selected.setText(R.string.download_selected_03);
- download_ready.setText(R.string.download_ready_03);
- download_ready_desc.setText(R.string.download_ready_desc_03);
- downloading_file.setText(R.string.downloading_file_03);
- download_success.setText(R.string.download_success_03);
- copy_url_desc.setText(R.string.copy_url_desc_03);
- file_directory.setText(R.string.file_directory_03);
- new_update.setText(R.string.new_update_03);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_03);
- continue_1.setText(R.string.continue_1_03);
- cancel.setText(R.string.cancel_03);
- download.setText(R.string.download_03);
- later.setText(R.string.later_03);
- directory.setText(R.string.directory_03);
- install_now.setText(R.string.install_now_03);
- install_update.setText(R.string.install_update_03);
- go_back.setText(R.string.go_back_03);
- download_update.setText(R.string.download_update_03);
- not_now.setText(R.string.not_now_03);
- show_support.setText(R.string.show_support_03);
- show_support_desc.setText(R.string.show_support_desc_03);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_03);
- settings_title.setText(R.string.settings_title_03);
- about_title.setText(R.string.about_title_03);
- maintenance.setText(R.string.maintenance_03);
- maintenance_desc.setText(R.string.maintenance_desc_03);
- thanks.setText(R.string.thanks_03);
- language.setText(R.string.language_03);
- website.setText(R.string.website_03);
-
+ title_1.setText(R.string.spotify_regular_03);
+ title_2.setText(R.string.spotify_amoled_03);
+ sub_text_2.setText(R.string.installed_03);
+ sub_text_4.setText(R.string.installed_03);
+ sub_text_1.setText(R.string.latest_03);
+ sub_text_3.setText(R.string.latest_03);
+ version_switch_1.setText(R.string.versions_03);
+ version_switch_2.setText(R.string.versions_03);
+ changelogs.setText(R.string.changelogs_03);
+ title_sub.setText(R.string.manager_tools_03);
+ device_cpu.setText(R.string.device_cpu_03);
+ source.setText(R.string.source_03);
+ support.setText(R.string.support_03);
+ donate.setText(R.string.donate_03);
+ about.setText(R.string.about_03);
+ list_auto_refresh.setText(R.string.list_auto_refresh_03);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
+ force_auto_install.setText(R.string.force_auto_install_03);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_03);
+ copy_url_mode.setText(R.string.copy_url_mode_03);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
+ navigation_bar.setText(R.string.hide_navigation_bar_03);
+ theme.setText(R.string.show_themes_03);
+ apk_location.setText(R.string.apk_location_03);
+ apk_location_info.setText(R.string.apk_location_desc_03);
+ clear_directory_folders.setText(R.string.clear_directory_folders_03);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
+ reset_settings.setText(R.string.reset_settings_03);
+ sub_title.setText(R.string.about_sub_03);
+ developer_manager.setText(R.string.xmanager_dev_03);
+ developer_spotify.setText(R.string.spotify_mod_devs_03);
+ support_team.setText(R.string.telegram_support_team_03);
+ mod_testers_1.setText(R.string.manager_testers_03);
+ mod_testers_2.setText(R.string.manager_hosting_03);
+ mobilism_team.setText(R.string.mobilism_team_03);
+ forum_team.setText(R.string.forum_team_03);
+ manager_team.setText(R.string.xspotify_team_03);
+ contributors_1.setText(R.string.contributors_03);
+ download_selected.setText(R.string.download_selected_03);
+ download_ready.setText(R.string.download_ready_03);
+ download_ready_desc.setText(R.string.download_ready_desc_03);
+ downloading_file.setText(R.string.downloading_file_03);
+ download_success.setText(R.string.download_success_03);
+ copy_url_desc.setText(R.string.copy_url_desc_03);
+ file_directory.setText(R.string.file_directory_03);
+ new_update.setText(R.string.new_update_03);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_03);
+ continue_1.setText(R.string.continue_1_03);
+ cancel.setText(R.string.cancel_03);
+ download.setText(R.string.download_03);
+ later.setText(R.string.later_03);
+ directory.setText(R.string.directory_03);
+ install_now.setText(R.string.install_now_03);
+ install_update.setText(R.string.install_update_03);
+ go_back.setText(R.string.go_back_03);
+ download_update.setText(R.string.download_update_03);
+ not_now.setText(R.string.not_now_03);
+ show_support.setText(R.string.show_support_03);
+ show_support_desc.setText(R.string.show_support_desc_03);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_03);
+ settings_title.setText(R.string.settings_title_03);
+ about_title.setText(R.string.about_title_03);
+ maintenance.setText(R.string.maintenance_03);
+ maintenance_desc.setText(R.string.maintenance_desc_03);
+ thanks.setText(R.string.thanks_03);
+ language.setText(R.string.language_03);
+ website.setText(R.string.website_03);
+
discord.setText(R.string.discord_03);
COUNTER = 1;
}
if (_position == 4) {
LANGUAGE.edit().putString("LANGUAGE", "4").commit();
- title_1.setText(R.string.spotify_regular_04);
- title_2.setText(R.string.spotify_amoled_04);
- sub_text_2.setText(R.string.installed_04);
- sub_text_4.setText(R.string.installed_04);
- sub_text_1.setText(R.string.latest_04);
- sub_text_3.setText(R.string.latest_04);
- version_switch_1.setText(R.string.versions_04);
- version_switch_2.setText(R.string.versions_04);
- changelogs.setText(R.string.changelogs_04);
- title_sub.setText(R.string.manager_tools_04);
- device_cpu.setText(R.string.device_cpu_04);
- source.setText(R.string.source_04);
- support.setText(R.string.support_04);
- donate.setText(R.string.donate_04);
- about.setText(R.string.about_04);
- list_auto_refresh.setText(R.string.list_auto_refresh_04);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
- force_auto_install.setText(R.string.force_auto_install_04);
- force_auto_install_info.setText(R.string.force_auto_install_desc_04);
- copy_url_mode.setText(R.string.copy_url_mode_04);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
- navigation_bar.setText(R.string.hide_navigation_bar_04);
- theme.setText(R.string.show_themes_04);
- apk_location.setText(R.string.apk_location_04);
- apk_location_info.setText(R.string.apk_location_desc_04);
- clear_directory_folders.setText(R.string.clear_directory_folders_04);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
- reset_settings.setText(R.string.reset_settings_04);
- sub_title.setText(R.string.about_sub_04);
- developer_manager.setText(R.string.xmanager_dev_04);
- developer_spotify.setText(R.string.spotify_mod_devs_04);
- support_team.setText(R.string.telegram_support_team_04);
- mod_testers_1.setText(R.string.manager_testers_04);
- mod_testers_2.setText(R.string.manager_hosting_04);
- mobilism_team.setText(R.string.mobilism_team_04);
- forum_team.setText(R.string.forum_team_04);
- manager_team.setText(R.string.xspotify_team_04);
- contributors_1.setText(R.string.contributors_04);
- download_selected.setText(R.string.download_selected_04);
- download_ready.setText(R.string.download_ready_04);
- download_ready_desc.setText(R.string.download_ready_desc_04);
- downloading_file.setText(R.string.downloading_file_04);
- download_success.setText(R.string.download_success_04);
- copy_url_desc.setText(R.string.copy_url_desc_04);
- file_directory.setText(R.string.file_directory_04);
- new_update.setText(R.string.new_update_04);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_04);
- continue_1.setText(R.string.continue_1_04);
- cancel.setText(R.string.cancel_04);
- download.setText(R.string.download_04);
- later.setText(R.string.later_04);
- directory.setText(R.string.directory_04);
- install_now.setText(R.string.install_now_04);
- install_update.setText(R.string.install_update_04);
- go_back.setText(R.string.go_back_04);
- download_update.setText(R.string.download_update_04);
- not_now.setText(R.string.not_now_04);
- show_support.setText(R.string.show_support_04);
- show_support_desc.setText(R.string.show_support_desc_04);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_04);
- settings_title.setText(R.string.settings_title_04);
- about_title.setText(R.string.about_title_04);
- maintenance.setText(R.string.maintenance_04);
- maintenance_desc.setText(R.string.maintenance_desc_04);
- thanks.setText(R.string.thanks_04);
- language.setText(R.string.language_04);
- website.setText(R.string.website_04);
-
+ title_1.setText(R.string.spotify_regular_04);
+ title_2.setText(R.string.spotify_amoled_04);
+ sub_text_2.setText(R.string.installed_04);
+ sub_text_4.setText(R.string.installed_04);
+ sub_text_1.setText(R.string.latest_04);
+ sub_text_3.setText(R.string.latest_04);
+ version_switch_1.setText(R.string.versions_04);
+ version_switch_2.setText(R.string.versions_04);
+ changelogs.setText(R.string.changelogs_04);
+ title_sub.setText(R.string.manager_tools_04);
+ device_cpu.setText(R.string.device_cpu_04);
+ source.setText(R.string.source_04);
+ support.setText(R.string.support_04);
+ donate.setText(R.string.donate_04);
+ about.setText(R.string.about_04);
+ list_auto_refresh.setText(R.string.list_auto_refresh_04);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
+ force_auto_install.setText(R.string.force_auto_install_04);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_04);
+ copy_url_mode.setText(R.string.copy_url_mode_04);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
+ navigation_bar.setText(R.string.hide_navigation_bar_04);
+ theme.setText(R.string.show_themes_04);
+ apk_location.setText(R.string.apk_location_04);
+ apk_location_info.setText(R.string.apk_location_desc_04);
+ clear_directory_folders.setText(R.string.clear_directory_folders_04);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
+ reset_settings.setText(R.string.reset_settings_04);
+ sub_title.setText(R.string.about_sub_04);
+ developer_manager.setText(R.string.xmanager_dev_04);
+ developer_spotify.setText(R.string.spotify_mod_devs_04);
+ support_team.setText(R.string.telegram_support_team_04);
+ mod_testers_1.setText(R.string.manager_testers_04);
+ mod_testers_2.setText(R.string.manager_hosting_04);
+ mobilism_team.setText(R.string.mobilism_team_04);
+ forum_team.setText(R.string.forum_team_04);
+ manager_team.setText(R.string.xspotify_team_04);
+ contributors_1.setText(R.string.contributors_04);
+ download_selected.setText(R.string.download_selected_04);
+ download_ready.setText(R.string.download_ready_04);
+ download_ready_desc.setText(R.string.download_ready_desc_04);
+ downloading_file.setText(R.string.downloading_file_04);
+ download_success.setText(R.string.download_success_04);
+ copy_url_desc.setText(R.string.copy_url_desc_04);
+ file_directory.setText(R.string.file_directory_04);
+ new_update.setText(R.string.new_update_04);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_04);
+ continue_1.setText(R.string.continue_1_04);
+ cancel.setText(R.string.cancel_04);
+ download.setText(R.string.download_04);
+ later.setText(R.string.later_04);
+ directory.setText(R.string.directory_04);
+ install_now.setText(R.string.install_now_04);
+ install_update.setText(R.string.install_update_04);
+ go_back.setText(R.string.go_back_04);
+ download_update.setText(R.string.download_update_04);
+ not_now.setText(R.string.not_now_04);
+ show_support.setText(R.string.show_support_04);
+ show_support_desc.setText(R.string.show_support_desc_04);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_04);
+ settings_title.setText(R.string.settings_title_04);
+ about_title.setText(R.string.about_title_04);
+ maintenance.setText(R.string.maintenance_04);
+ maintenance_desc.setText(R.string.maintenance_desc_04);
+ thanks.setText(R.string.thanks_04);
+ language.setText(R.string.language_04);
+ website.setText(R.string.website_04);
+
discord.setText(R.string.discord_04);
COUNTER = 1;
}
if (_position == 5) {
LANGUAGE.edit().putString("LANGUAGE", "5").commit();
- title_1.setText(R.string.spotify_regular_05);
- title_2.setText(R.string.spotify_amoled_05);
- sub_text_2.setText(R.string.installed_05);
- sub_text_4.setText(R.string.installed_05);
- sub_text_1.setText(R.string.latest_05);
- sub_text_3.setText(R.string.latest_05);
- version_switch_1.setText(R.string.versions_05);
- version_switch_2.setText(R.string.versions_05);
- changelogs.setText(R.string.changelogs_05);
- title_sub.setText(R.string.manager_tools_05);
- device_cpu.setText(R.string.device_cpu_05);
- source.setText(R.string.source_05);
- support.setText(R.string.support_05);
- donate.setText(R.string.donate_05);
- about.setText(R.string.about_05);
- list_auto_refresh.setText(R.string.list_auto_refresh_05);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
- force_auto_install.setText(R.string.force_auto_install_05);
- force_auto_install_info.setText(R.string.force_auto_install_desc_05);
- copy_url_mode.setText(R.string.copy_url_mode_05);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
- navigation_bar.setText(R.string.hide_navigation_bar_05);
- theme.setText(R.string.show_themes_05);
- apk_location.setText(R.string.apk_location_05);
- apk_location_info.setText(R.string.apk_location_desc_05);
- clear_directory_folders.setText(R.string.clear_directory_folders_05);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
- reset_settings.setText(R.string.reset_settings_05);
- sub_title.setText(R.string.about_sub_05);
- developer_manager.setText(R.string.xmanager_dev_05);
- developer_spotify.setText(R.string.spotify_mod_devs_05);
- support_team.setText(R.string.telegram_support_team_05);
- mod_testers_1.setText(R.string.manager_testers_05);
- mod_testers_2.setText(R.string.manager_hosting_05);
- mobilism_team.setText(R.string.mobilism_team_05);
- forum_team.setText(R.string.forum_team_05);
- manager_team.setText(R.string.xspotify_team_05);
- contributors_1.setText(R.string.contributors_05);
- download_selected.setText(R.string.download_selected_05);
- download_ready.setText(R.string.download_ready_05);
- download_ready_desc.setText(R.string.download_ready_desc_05);
- downloading_file.setText(R.string.downloading_file_05);
- download_success.setText(R.string.download_success_05);
- copy_url_desc.setText(R.string.copy_url_desc_05);
- file_directory.setText(R.string.file_directory_05);
- new_update.setText(R.string.new_update_05);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_05);
- continue_1.setText(R.string.continue_1_05);
- cancel.setText(R.string.cancel_05);
- download.setText(R.string.download_05);
- later.setText(R.string.later_05);
- directory.setText(R.string.directory_05);
- install_now.setText(R.string.install_now_05);
- install_update.setText(R.string.install_update_05);
- go_back.setText(R.string.go_back_05);
- download_update.setText(R.string.download_update_05);
- not_now.setText(R.string.not_now_05);
- show_support.setText(R.string.show_support_05);
- show_support_desc.setText(R.string.show_support_desc_05);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_05);
- settings_title.setText(R.string.settings_title_05);
- about_title.setText(R.string.about_title_05);
- maintenance.setText(R.string.maintenance_05);
- maintenance_desc.setText(R.string.maintenance_desc_05);
- thanks.setText(R.string.thanks_05);
- language.setText(R.string.language_05);
- website.setText(R.string.website_05);
-
+ title_1.setText(R.string.spotify_regular_05);
+ title_2.setText(R.string.spotify_amoled_05);
+ sub_text_2.setText(R.string.installed_05);
+ sub_text_4.setText(R.string.installed_05);
+ sub_text_1.setText(R.string.latest_05);
+ sub_text_3.setText(R.string.latest_05);
+ version_switch_1.setText(R.string.versions_05);
+ version_switch_2.setText(R.string.versions_05);
+ changelogs.setText(R.string.changelogs_05);
+ title_sub.setText(R.string.manager_tools_05);
+ device_cpu.setText(R.string.device_cpu_05);
+ source.setText(R.string.source_05);
+ support.setText(R.string.support_05);
+ donate.setText(R.string.donate_05);
+ about.setText(R.string.about_05);
+ list_auto_refresh.setText(R.string.list_auto_refresh_05);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
+ force_auto_install.setText(R.string.force_auto_install_05);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_05);
+ copy_url_mode.setText(R.string.copy_url_mode_05);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
+ navigation_bar.setText(R.string.hide_navigation_bar_05);
+ theme.setText(R.string.show_themes_05);
+ apk_location.setText(R.string.apk_location_05);
+ apk_location_info.setText(R.string.apk_location_desc_05);
+ clear_directory_folders.setText(R.string.clear_directory_folders_05);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
+ reset_settings.setText(R.string.reset_settings_05);
+ sub_title.setText(R.string.about_sub_05);
+ developer_manager.setText(R.string.xmanager_dev_05);
+ developer_spotify.setText(R.string.spotify_mod_devs_05);
+ support_team.setText(R.string.telegram_support_team_05);
+ mod_testers_1.setText(R.string.manager_testers_05);
+ mod_testers_2.setText(R.string.manager_hosting_05);
+ mobilism_team.setText(R.string.mobilism_team_05);
+ forum_team.setText(R.string.forum_team_05);
+ manager_team.setText(R.string.xspotify_team_05);
+ contributors_1.setText(R.string.contributors_05);
+ download_selected.setText(R.string.download_selected_05);
+ download_ready.setText(R.string.download_ready_05);
+ download_ready_desc.setText(R.string.download_ready_desc_05);
+ downloading_file.setText(R.string.downloading_file_05);
+ download_success.setText(R.string.download_success_05);
+ copy_url_desc.setText(R.string.copy_url_desc_05);
+ file_directory.setText(R.string.file_directory_05);
+ new_update.setText(R.string.new_update_05);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_05);
+ continue_1.setText(R.string.continue_1_05);
+ cancel.setText(R.string.cancel_05);
+ download.setText(R.string.download_05);
+ later.setText(R.string.later_05);
+ directory.setText(R.string.directory_05);
+ install_now.setText(R.string.install_now_05);
+ install_update.setText(R.string.install_update_05);
+ go_back.setText(R.string.go_back_05);
+ download_update.setText(R.string.download_update_05);
+ not_now.setText(R.string.not_now_05);
+ show_support.setText(R.string.show_support_05);
+ show_support_desc.setText(R.string.show_support_desc_05);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_05);
+ settings_title.setText(R.string.settings_title_05);
+ about_title.setText(R.string.about_title_05);
+ maintenance.setText(R.string.maintenance_05);
+ maintenance_desc.setText(R.string.maintenance_desc_05);
+ thanks.setText(R.string.thanks_05);
+ language.setText(R.string.language_05);
+ website.setText(R.string.website_05);
+
discord.setText(R.string.discord_05);
COUNTER = 1;
}
if (_position == 6) {
LANGUAGE.edit().putString("LANGUAGE", "6").commit();
- title_1.setText(R.string.spotify_regular_06);
- title_2.setText(R.string.spotify_amoled_06);
- sub_text_2.setText(R.string.installed_06);
- sub_text_4.setText(R.string.installed_06);
- sub_text_1.setText(R.string.latest_06);
- sub_text_3.setText(R.string.latest_06);
- version_switch_1.setText(R.string.versions_06);
- version_switch_2.setText(R.string.versions_06);
- changelogs.setText(R.string.changelogs_06);
- title_sub.setText(R.string.manager_tools_06);
- device_cpu.setText(R.string.device_cpu_06);
- source.setText(R.string.source_06);
- support.setText(R.string.support_06);
- donate.setText(R.string.donate_06);
- about.setText(R.string.about_06);
- list_auto_refresh.setText(R.string.list_auto_refresh_06);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
- force_auto_install.setText(R.string.force_auto_install_06);
- force_auto_install_info.setText(R.string.force_auto_install_desc_06);
- copy_url_mode.setText(R.string.copy_url_mode_06);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
- navigation_bar.setText(R.string.hide_navigation_bar_06);
- theme.setText(R.string.show_themes_06);
- apk_location.setText(R.string.apk_location_06);
- apk_location_info.setText(R.string.apk_location_desc_06);
- clear_directory_folders.setText(R.string.clear_directory_folders_06);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
- reset_settings.setText(R.string.reset_settings_06);
- sub_title.setText(R.string.about_sub_06);
- developer_manager.setText(R.string.xmanager_dev_06);
- developer_spotify.setText(R.string.spotify_mod_devs_06);
- support_team.setText(R.string.telegram_support_team_06);
- mod_testers_1.setText(R.string.manager_testers_06);
- mod_testers_2.setText(R.string.manager_hosting_06);
- mobilism_team.setText(R.string.mobilism_team_06);
- forum_team.setText(R.string.forum_team_06);
- manager_team.setText(R.string.xspotify_team_06);
- contributors_1.setText(R.string.contributors_06);
- download_selected.setText(R.string.download_selected_06);
- download_ready.setText(R.string.download_ready_06);
- download_ready_desc.setText(R.string.download_ready_desc_06);
- downloading_file.setText(R.string.downloading_file_06);
- download_success.setText(R.string.download_success_06);
- copy_url_desc.setText(R.string.copy_url_desc_06);
- file_directory.setText(R.string.file_directory_06);
- new_update.setText(R.string.new_update_06);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_06);
- continue_1.setText(R.string.continue_1_06);
- cancel.setText(R.string.cancel_06);
- download.setText(R.string.download_06);
- later.setText(R.string.later_06);
- directory.setText(R.string.directory_06);
- install_now.setText(R.string.install_now_06);
- install_update.setText(R.string.install_update_06);
- go_back.setText(R.string.go_back_06);
- download_update.setText(R.string.download_update_06);
- not_now.setText(R.string.not_now_06);
- show_support.setText(R.string.show_support_06);
- show_support_desc.setText(R.string.show_support_desc_06);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_06);
- settings_title.setText(R.string.settings_title_06);
- about_title.setText(R.string.about_title_06);
- maintenance.setText(R.string.maintenance_06);
- maintenance_desc.setText(R.string.maintenance_desc_06);
- thanks.setText(R.string.thanks_06);
- language.setText(R.string.language_06);
- website.setText(R.string.website_06);
-
+ title_1.setText(R.string.spotify_regular_06);
+ title_2.setText(R.string.spotify_amoled_06);
+ sub_text_2.setText(R.string.installed_06);
+ sub_text_4.setText(R.string.installed_06);
+ sub_text_1.setText(R.string.latest_06);
+ sub_text_3.setText(R.string.latest_06);
+ version_switch_1.setText(R.string.versions_06);
+ version_switch_2.setText(R.string.versions_06);
+ changelogs.setText(R.string.changelogs_06);
+ title_sub.setText(R.string.manager_tools_06);
+ device_cpu.setText(R.string.device_cpu_06);
+ source.setText(R.string.source_06);
+ support.setText(R.string.support_06);
+ donate.setText(R.string.donate_06);
+ about.setText(R.string.about_06);
+ list_auto_refresh.setText(R.string.list_auto_refresh_06);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
+ force_auto_install.setText(R.string.force_auto_install_06);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_06);
+ copy_url_mode.setText(R.string.copy_url_mode_06);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
+ navigation_bar.setText(R.string.hide_navigation_bar_06);
+ theme.setText(R.string.show_themes_06);
+ apk_location.setText(R.string.apk_location_06);
+ apk_location_info.setText(R.string.apk_location_desc_06);
+ clear_directory_folders.setText(R.string.clear_directory_folders_06);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
+ reset_settings.setText(R.string.reset_settings_06);
+ sub_title.setText(R.string.about_sub_06);
+ developer_manager.setText(R.string.xmanager_dev_06);
+ developer_spotify.setText(R.string.spotify_mod_devs_06);
+ support_team.setText(R.string.telegram_support_team_06);
+ mod_testers_1.setText(R.string.manager_testers_06);
+ mod_testers_2.setText(R.string.manager_hosting_06);
+ mobilism_team.setText(R.string.mobilism_team_06);
+ forum_team.setText(R.string.forum_team_06);
+ manager_team.setText(R.string.xspotify_team_06);
+ contributors_1.setText(R.string.contributors_06);
+ download_selected.setText(R.string.download_selected_06);
+ download_ready.setText(R.string.download_ready_06);
+ download_ready_desc.setText(R.string.download_ready_desc_06);
+ downloading_file.setText(R.string.downloading_file_06);
+ download_success.setText(R.string.download_success_06);
+ copy_url_desc.setText(R.string.copy_url_desc_06);
+ file_directory.setText(R.string.file_directory_06);
+ new_update.setText(R.string.new_update_06);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_06);
+ continue_1.setText(R.string.continue_1_06);
+ cancel.setText(R.string.cancel_06);
+ download.setText(R.string.download_06);
+ later.setText(R.string.later_06);
+ directory.setText(R.string.directory_06);
+ install_now.setText(R.string.install_now_06);
+ install_update.setText(R.string.install_update_06);
+ go_back.setText(R.string.go_back_06);
+ download_update.setText(R.string.download_update_06);
+ not_now.setText(R.string.not_now_06);
+ show_support.setText(R.string.show_support_06);
+ show_support_desc.setText(R.string.show_support_desc_06);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_06);
+ settings_title.setText(R.string.settings_title_06);
+ about_title.setText(R.string.about_title_06);
+ maintenance.setText(R.string.maintenance_06);
+ maintenance_desc.setText(R.string.maintenance_desc_06);
+ thanks.setText(R.string.thanks_06);
+ language.setText(R.string.language_06);
+ website.setText(R.string.website_06);
+
discord.setText(R.string.discord_06);
COUNTER = 1;
}
if (_position == 7) {
LANGUAGE.edit().putString("LANGUAGE", "7").commit();
- title_1.setText(R.string.spotify_regular_07);
- title_2.setText(R.string.spotify_amoled_07);
- sub_text_2.setText(R.string.installed_07);
- sub_text_4.setText(R.string.installed_07);
- sub_text_1.setText(R.string.latest_07);
- sub_text_3.setText(R.string.latest_07);
- version_switch_1.setText(R.string.versions_07);
- version_switch_2.setText(R.string.versions_07);
- changelogs.setText(R.string.changelogs_07);
- title_sub.setText(R.string.manager_tools_07);
- device_cpu.setText(R.string.device_cpu_07);
- source.setText(R.string.source_07);
- support.setText(R.string.support_07);
- donate.setText(R.string.donate_07);
- about.setText(R.string.about_07);
- list_auto_refresh.setText(R.string.list_auto_refresh_07);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
- force_auto_install.setText(R.string.force_auto_install_07);
- force_auto_install_info.setText(R.string.force_auto_install_desc_07);
- copy_url_mode.setText(R.string.copy_url_mode_07);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
- navigation_bar.setText(R.string.hide_navigation_bar_07);
- theme.setText(R.string.show_themes_07);
- apk_location.setText(R.string.apk_location_07);
- apk_location_info.setText(R.string.apk_location_desc_07);
- clear_directory_folders.setText(R.string.clear_directory_folders_07);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
- reset_settings.setText(R.string.reset_settings_07);
- sub_title.setText(R.string.about_sub_07);
- developer_manager.setText(R.string.xmanager_dev_07);
- developer_spotify.setText(R.string.spotify_mod_devs_07);
- support_team.setText(R.string.telegram_support_team_07);
- mod_testers_1.setText(R.string.manager_testers_07);
- mod_testers_2.setText(R.string.manager_hosting_07);
- mobilism_team.setText(R.string.mobilism_team_07);
- forum_team.setText(R.string.forum_team_07);
- manager_team.setText(R.string.xspotify_team_07);
- contributors_1.setText(R.string.contributors_07);
- download_selected.setText(R.string.download_selected_07);
- download_ready.setText(R.string.download_ready_07);
- download_ready_desc.setText(R.string.download_ready_desc_07);
- downloading_file.setText(R.string.downloading_file_07);
- download_success.setText(R.string.download_success_07);
- copy_url_desc.setText(R.string.copy_url_desc_07);
- file_directory.setText(R.string.file_directory_07);
- new_update.setText(R.string.new_update_07);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_07);
- continue_1.setText(R.string.continue_1_07);
- cancel.setText(R.string.cancel_07);
- download.setText(R.string.download_07);
- later.setText(R.string.later_07);
- directory.setText(R.string.directory_07);
- install_now.setText(R.string.install_now_07);
- install_update.setText(R.string.install_update_07);
- go_back.setText(R.string.go_back_07);
- download_update.setText(R.string.download_update_07);
- not_now.setText(R.string.not_now_07);
- show_support.setText(R.string.show_support_07);
- show_support_desc.setText(R.string.show_support_desc_07);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_07);
- settings_title.setText(R.string.settings_title_07);
- about_title.setText(R.string.about_title_07);
- maintenance.setText(R.string.maintenance_07);
- maintenance_desc.setText(R.string.maintenance_desc_07);
- thanks.setText(R.string.thanks_07);
- language.setText(R.string.language_07);
- website.setText(R.string.website_07);
-
+ title_1.setText(R.string.spotify_regular_07);
+ title_2.setText(R.string.spotify_amoled_07);
+ sub_text_2.setText(R.string.installed_07);
+ sub_text_4.setText(R.string.installed_07);
+ sub_text_1.setText(R.string.latest_07);
+ sub_text_3.setText(R.string.latest_07);
+ version_switch_1.setText(R.string.versions_07);
+ version_switch_2.setText(R.string.versions_07);
+ changelogs.setText(R.string.changelogs_07);
+ title_sub.setText(R.string.manager_tools_07);
+ device_cpu.setText(R.string.device_cpu_07);
+ source.setText(R.string.source_07);
+ support.setText(R.string.support_07);
+ donate.setText(R.string.donate_07);
+ about.setText(R.string.about_07);
+ list_auto_refresh.setText(R.string.list_auto_refresh_07);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
+ force_auto_install.setText(R.string.force_auto_install_07);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_07);
+ copy_url_mode.setText(R.string.copy_url_mode_07);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
+ navigation_bar.setText(R.string.hide_navigation_bar_07);
+ theme.setText(R.string.show_themes_07);
+ apk_location.setText(R.string.apk_location_07);
+ apk_location_info.setText(R.string.apk_location_desc_07);
+ clear_directory_folders.setText(R.string.clear_directory_folders_07);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
+ reset_settings.setText(R.string.reset_settings_07);
+ sub_title.setText(R.string.about_sub_07);
+ developer_manager.setText(R.string.xmanager_dev_07);
+ developer_spotify.setText(R.string.spotify_mod_devs_07);
+ support_team.setText(R.string.telegram_support_team_07);
+ mod_testers_1.setText(R.string.manager_testers_07);
+ mod_testers_2.setText(R.string.manager_hosting_07);
+ mobilism_team.setText(R.string.mobilism_team_07);
+ forum_team.setText(R.string.forum_team_07);
+ manager_team.setText(R.string.xspotify_team_07);
+ contributors_1.setText(R.string.contributors_07);
+ download_selected.setText(R.string.download_selected_07);
+ download_ready.setText(R.string.download_ready_07);
+ download_ready_desc.setText(R.string.download_ready_desc_07);
+ downloading_file.setText(R.string.downloading_file_07);
+ download_success.setText(R.string.download_success_07);
+ copy_url_desc.setText(R.string.copy_url_desc_07);
+ file_directory.setText(R.string.file_directory_07);
+ new_update.setText(R.string.new_update_07);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_07);
+ continue_1.setText(R.string.continue_1_07);
+ cancel.setText(R.string.cancel_07);
+ download.setText(R.string.download_07);
+ later.setText(R.string.later_07);
+ directory.setText(R.string.directory_07);
+ install_now.setText(R.string.install_now_07);
+ install_update.setText(R.string.install_update_07);
+ go_back.setText(R.string.go_back_07);
+ download_update.setText(R.string.download_update_07);
+ not_now.setText(R.string.not_now_07);
+ show_support.setText(R.string.show_support_07);
+ show_support_desc.setText(R.string.show_support_desc_07);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_07);
+ settings_title.setText(R.string.settings_title_07);
+ about_title.setText(R.string.about_title_07);
+ maintenance.setText(R.string.maintenance_07);
+ maintenance_desc.setText(R.string.maintenance_desc_07);
+ thanks.setText(R.string.thanks_07);
+ language.setText(R.string.language_07);
+ website.setText(R.string.website_07);
+
discord.setText(R.string.discord_07);
COUNTER = 1;
}
if (_position == 8) {
LANGUAGE.edit().putString("LANGUAGE", "8").commit();
- title_1.setText(R.string.spotify_regular_08);
- title_2.setText(R.string.spotify_amoled_08);
- sub_text_2.setText(R.string.installed_08);
- sub_text_4.setText(R.string.installed_08);
- sub_text_1.setText(R.string.latest_08);
- sub_text_3.setText(R.string.latest_08);
- version_switch_1.setText(R.string.versions_08);
- version_switch_2.setText(R.string.versions_08);
- changelogs.setText(R.string.changelogs_08);
- title_sub.setText(R.string.manager_tools_08);
- device_cpu.setText(R.string.device_cpu_08);
- source.setText(R.string.source_08);
- support.setText(R.string.support_08);
- donate.setText(R.string.donate_08);
- about.setText(R.string.about_08);
- list_auto_refresh.setText(R.string.list_auto_refresh_08);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
- force_auto_install.setText(R.string.force_auto_install_08);
- force_auto_install_info.setText(R.string.force_auto_install_desc_08);
- copy_url_mode.setText(R.string.copy_url_mode_08);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
- navigation_bar.setText(R.string.hide_navigation_bar_08);
- theme.setText(R.string.show_themes_08);
- apk_location.setText(R.string.apk_location_08);
- apk_location_info.setText(R.string.apk_location_desc_08);
- clear_directory_folders.setText(R.string.clear_directory_folders_08);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
- reset_settings.setText(R.string.reset_settings_08);
- sub_title.setText(R.string.about_sub_08);
- developer_manager.setText(R.string.xmanager_dev_08);
- developer_spotify.setText(R.string.spotify_mod_devs_08);
- support_team.setText(R.string.telegram_support_team_08);
- mod_testers_1.setText(R.string.manager_testers_08);
- mod_testers_2.setText(R.string.manager_hosting_08);
- mobilism_team.setText(R.string.mobilism_team_08);
- forum_team.setText(R.string.forum_team_08);
- manager_team.setText(R.string.xspotify_team_08);
- contributors_1.setText(R.string.contributors_08);
- download_selected.setText(R.string.download_selected_08);
- download_ready.setText(R.string.download_ready_08);
- download_ready_desc.setText(R.string.download_ready_desc_08);
- downloading_file.setText(R.string.downloading_file_08);
- download_success.setText(R.string.download_success_08);
- copy_url_desc.setText(R.string.copy_url_desc_08);
- file_directory.setText(R.string.file_directory_08);
- new_update.setText(R.string.new_update_08);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_08);
- continue_1.setText(R.string.continue_1_08);
- cancel.setText(R.string.cancel_08);
- download.setText(R.string.download_08);
- later.setText(R.string.later_08);
- directory.setText(R.string.directory_08);
- install_now.setText(R.string.install_now_08);
- install_update.setText(R.string.install_update_08);
- go_back.setText(R.string.go_back_08);
- download_update.setText(R.string.download_update_08);
- not_now.setText(R.string.not_now_08);
- show_support.setText(R.string.show_support_08);
- show_support_desc.setText(R.string.show_support_desc_08);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_08);
- settings_title.setText(R.string.settings_title_08);
- about_title.setText(R.string.about_title_08);
- maintenance.setText(R.string.maintenance_08);
- maintenance_desc.setText(R.string.maintenance_desc_08);
- thanks.setText(R.string.thanks_08);
- language.setText(R.string.language_08);
- website.setText(R.string.website_08);
-
+ title_1.setText(R.string.spotify_regular_08);
+ title_2.setText(R.string.spotify_amoled_08);
+ sub_text_2.setText(R.string.installed_08);
+ sub_text_4.setText(R.string.installed_08);
+ sub_text_1.setText(R.string.latest_08);
+ sub_text_3.setText(R.string.latest_08);
+ version_switch_1.setText(R.string.versions_08);
+ version_switch_2.setText(R.string.versions_08);
+ changelogs.setText(R.string.changelogs_08);
+ title_sub.setText(R.string.manager_tools_08);
+ device_cpu.setText(R.string.device_cpu_08);
+ source.setText(R.string.source_08);
+ support.setText(R.string.support_08);
+ donate.setText(R.string.donate_08);
+ about.setText(R.string.about_08);
+ list_auto_refresh.setText(R.string.list_auto_refresh_08);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
+ force_auto_install.setText(R.string.force_auto_install_08);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_08);
+ copy_url_mode.setText(R.string.copy_url_mode_08);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
+ navigation_bar.setText(R.string.hide_navigation_bar_08);
+ theme.setText(R.string.show_themes_08);
+ apk_location.setText(R.string.apk_location_08);
+ apk_location_info.setText(R.string.apk_location_desc_08);
+ clear_directory_folders.setText(R.string.clear_directory_folders_08);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
+ reset_settings.setText(R.string.reset_settings_08);
+ sub_title.setText(R.string.about_sub_08);
+ developer_manager.setText(R.string.xmanager_dev_08);
+ developer_spotify.setText(R.string.spotify_mod_devs_08);
+ support_team.setText(R.string.telegram_support_team_08);
+ mod_testers_1.setText(R.string.manager_testers_08);
+ mod_testers_2.setText(R.string.manager_hosting_08);
+ mobilism_team.setText(R.string.mobilism_team_08);
+ forum_team.setText(R.string.forum_team_08);
+ manager_team.setText(R.string.xspotify_team_08);
+ contributors_1.setText(R.string.contributors_08);
+ download_selected.setText(R.string.download_selected_08);
+ download_ready.setText(R.string.download_ready_08);
+ download_ready_desc.setText(R.string.download_ready_desc_08);
+ downloading_file.setText(R.string.downloading_file_08);
+ download_success.setText(R.string.download_success_08);
+ copy_url_desc.setText(R.string.copy_url_desc_08);
+ file_directory.setText(R.string.file_directory_08);
+ new_update.setText(R.string.new_update_08);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_08);
+ continue_1.setText(R.string.continue_1_08);
+ cancel.setText(R.string.cancel_08);
+ download.setText(R.string.download_08);
+ later.setText(R.string.later_08);
+ directory.setText(R.string.directory_08);
+ install_now.setText(R.string.install_now_08);
+ install_update.setText(R.string.install_update_08);
+ go_back.setText(R.string.go_back_08);
+ download_update.setText(R.string.download_update_08);
+ not_now.setText(R.string.not_now_08);
+ show_support.setText(R.string.show_support_08);
+ show_support_desc.setText(R.string.show_support_desc_08);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_08);
+ settings_title.setText(R.string.settings_title_08);
+ about_title.setText(R.string.about_title_08);
+ maintenance.setText(R.string.maintenance_08);
+ maintenance_desc.setText(R.string.maintenance_desc_08);
+ thanks.setText(R.string.thanks_08);
+ language.setText(R.string.language_08);
+ website.setText(R.string.website_08);
+
discord.setText(R.string.discord_08);
COUNTER = 1;
}
if (_position == 9) {
LANGUAGE.edit().putString("LANGUAGE", "9").commit();
- title_1.setText(R.string.spotify_regular_09);
- title_2.setText(R.string.spotify_amoled_09);
- sub_text_2.setText(R.string.installed_09);
- sub_text_4.setText(R.string.installed_09);
- sub_text_1.setText(R.string.latest_09);
- sub_text_3.setText(R.string.latest_09);
- version_switch_1.setText(R.string.versions_09);
- version_switch_2.setText(R.string.versions_09);
- changelogs.setText(R.string.changelogs_09);
- title_sub.setText(R.string.manager_tools_09);
- device_cpu.setText(R.string.device_cpu_09);
- source.setText(R.string.source_09);
- support.setText(R.string.support_09);
- donate.setText(R.string.donate_09);
- about.setText(R.string.about_09);
- list_auto_refresh.setText(R.string.list_auto_refresh_09);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
- force_auto_install.setText(R.string.force_auto_install_09);
- force_auto_install_info.setText(R.string.force_auto_install_desc_09);
- copy_url_mode.setText(R.string.copy_url_mode_09);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
- navigation_bar.setText(R.string.hide_navigation_bar_09);
- theme.setText(R.string.show_themes_09);
- apk_location.setText(R.string.apk_location_09);
- apk_location_info.setText(R.string.apk_location_desc_09);
- clear_directory_folders.setText(R.string.clear_directory_folders_09);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
- reset_settings.setText(R.string.reset_settings_09);
- sub_title.setText(R.string.about_sub_09);
- developer_manager.setText(R.string.xmanager_dev_09);
- developer_spotify.setText(R.string.spotify_mod_devs_09);
- support_team.setText(R.string.telegram_support_team_09);
- mod_testers_1.setText(R.string.manager_testers_09);
- mod_testers_2.setText(R.string.manager_hosting_09);
- mobilism_team.setText(R.string.mobilism_team_09);
- forum_team.setText(R.string.forum_team_09);
- manager_team.setText(R.string.xspotify_team_09);
- contributors_1.setText(R.string.contributors_09);
- download_selected.setText(R.string.download_selected_09);
- download_ready.setText(R.string.download_ready_09);
- download_ready_desc.setText(R.string.download_ready_desc_09);
- downloading_file.setText(R.string.downloading_file_09);
- download_success.setText(R.string.download_success_09);
- copy_url_desc.setText(R.string.copy_url_desc_09);
- file_directory.setText(R.string.file_directory_09);
- new_update.setText(R.string.new_update_09);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_09);
- continue_1.setText(R.string.continue_1_09);
- cancel.setText(R.string.cancel_09);
- download.setText(R.string.download_09);
- later.setText(R.string.later_09);
- directory.setText(R.string.directory_09);
- install_now.setText(R.string.install_now_09);
- install_update.setText(R.string.install_update_09);
- go_back.setText(R.string.go_back_09);
- download_update.setText(R.string.download_update_09);
- not_now.setText(R.string.not_now_09);
- show_support.setText(R.string.show_support_09);
- show_support_desc.setText(R.string.show_support_desc_09);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_09);
- settings_title.setText(R.string.settings_title_09);
- about_title.setText(R.string.about_title_09);
- maintenance.setText(R.string.maintenance_09);
- maintenance_desc.setText(R.string.maintenance_desc_09);
- thanks.setText(R.string.thanks_09);
- language.setText(R.string.language_09);
- website.setText(R.string.website_09);
-
+ title_1.setText(R.string.spotify_regular_09);
+ title_2.setText(R.string.spotify_amoled_09);
+ sub_text_2.setText(R.string.installed_09);
+ sub_text_4.setText(R.string.installed_09);
+ sub_text_1.setText(R.string.latest_09);
+ sub_text_3.setText(R.string.latest_09);
+ version_switch_1.setText(R.string.versions_09);
+ version_switch_2.setText(R.string.versions_09);
+ changelogs.setText(R.string.changelogs_09);
+ title_sub.setText(R.string.manager_tools_09);
+ device_cpu.setText(R.string.device_cpu_09);
+ source.setText(R.string.source_09);
+ support.setText(R.string.support_09);
+ donate.setText(R.string.donate_09);
+ about.setText(R.string.about_09);
+ list_auto_refresh.setText(R.string.list_auto_refresh_09);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
+ force_auto_install.setText(R.string.force_auto_install_09);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_09);
+ copy_url_mode.setText(R.string.copy_url_mode_09);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
+ navigation_bar.setText(R.string.hide_navigation_bar_09);
+ theme.setText(R.string.show_themes_09);
+ apk_location.setText(R.string.apk_location_09);
+ apk_location_info.setText(R.string.apk_location_desc_09);
+ clear_directory_folders.setText(R.string.clear_directory_folders_09);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
+ reset_settings.setText(R.string.reset_settings_09);
+ sub_title.setText(R.string.about_sub_09);
+ developer_manager.setText(R.string.xmanager_dev_09);
+ developer_spotify.setText(R.string.spotify_mod_devs_09);
+ support_team.setText(R.string.telegram_support_team_09);
+ mod_testers_1.setText(R.string.manager_testers_09);
+ mod_testers_2.setText(R.string.manager_hosting_09);
+ mobilism_team.setText(R.string.mobilism_team_09);
+ forum_team.setText(R.string.forum_team_09);
+ manager_team.setText(R.string.xspotify_team_09);
+ contributors_1.setText(R.string.contributors_09);
+ download_selected.setText(R.string.download_selected_09);
+ download_ready.setText(R.string.download_ready_09);
+ download_ready_desc.setText(R.string.download_ready_desc_09);
+ downloading_file.setText(R.string.downloading_file_09);
+ download_success.setText(R.string.download_success_09);
+ copy_url_desc.setText(R.string.copy_url_desc_09);
+ file_directory.setText(R.string.file_directory_09);
+ new_update.setText(R.string.new_update_09);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_09);
+ continue_1.setText(R.string.continue_1_09);
+ cancel.setText(R.string.cancel_09);
+ download.setText(R.string.download_09);
+ later.setText(R.string.later_09);
+ directory.setText(R.string.directory_09);
+ install_now.setText(R.string.install_now_09);
+ install_update.setText(R.string.install_update_09);
+ go_back.setText(R.string.go_back_09);
+ download_update.setText(R.string.download_update_09);
+ not_now.setText(R.string.not_now_09);
+ show_support.setText(R.string.show_support_09);
+ show_support_desc.setText(R.string.show_support_desc_09);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_09);
+ settings_title.setText(R.string.settings_title_09);
+ about_title.setText(R.string.about_title_09);
+ maintenance.setText(R.string.maintenance_09);
+ maintenance_desc.setText(R.string.maintenance_desc_09);
+ thanks.setText(R.string.thanks_09);
+ language.setText(R.string.language_09);
+ website.setText(R.string.website_09);
+
discord.setText(R.string.discord_09);
COUNTER = 1;
}
if (_position == 10) {
LANGUAGE.edit().putString("LANGUAGE", "10").commit();
- title_1.setText(R.string.spotify_regular_10);
- title_2.setText(R.string.spotify_amoled_10);
- sub_text_2.setText(R.string.installed_10);
- sub_text_4.setText(R.string.installed_10);
- sub_text_1.setText(R.string.latest_10);
- sub_text_3.setText(R.string.latest_10);
- version_switch_1.setText(R.string.versions_10);
- version_switch_2.setText(R.string.versions_10);
- changelogs.setText(R.string.changelogs_10);
- title_sub.setText(R.string.manager_tools_10);
- device_cpu.setText(R.string.device_cpu_10);
- source.setText(R.string.source_10);
- support.setText(R.string.support_10);
- donate.setText(R.string.donate_10);
- about.setText(R.string.about_10);
- list_auto_refresh.setText(R.string.list_auto_refresh_10);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
- force_auto_install.setText(R.string.force_auto_install_10);
- force_auto_install_info.setText(R.string.force_auto_install_desc_10);
- copy_url_mode.setText(R.string.copy_url_mode_10);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
- navigation_bar.setText(R.string.hide_navigation_bar_10);
- theme.setText(R.string.show_themes_10);
- apk_location.setText(R.string.apk_location_10);
- apk_location_info.setText(R.string.apk_location_desc_10);
- clear_directory_folders.setText(R.string.clear_directory_folders_10);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
- reset_settings.setText(R.string.reset_settings_10);
- sub_title.setText(R.string.about_sub_10);
- developer_manager.setText(R.string.xmanager_dev_10);
- developer_spotify.setText(R.string.spotify_mod_devs_10);
- support_team.setText(R.string.telegram_support_team_10);
- mod_testers_1.setText(R.string.manager_testers_10);
- mod_testers_2.setText(R.string.manager_hosting_10);
- mobilism_team.setText(R.string.mobilism_team_10);
- forum_team.setText(R.string.forum_team_10);
- manager_team.setText(R.string.xspotify_team_10);
- contributors_1.setText(R.string.contributors_10);
- download_selected.setText(R.string.download_selected_10);
- download_ready.setText(R.string.download_ready_10);
- download_ready_desc.setText(R.string.download_ready_desc_10);
- downloading_file.setText(R.string.downloading_file_10);
- download_success.setText(R.string.download_success_10);
- copy_url_desc.setText(R.string.copy_url_desc_10);
- file_directory.setText(R.string.file_directory_10);
- new_update.setText(R.string.new_update_10);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_10);
- continue_1.setText(R.string.continue_1_10);
- cancel.setText(R.string.cancel_10);
- download.setText(R.string.download_10);
- later.setText(R.string.later_10);
- directory.setText(R.string.directory_10);
- install_now.setText(R.string.install_now_10);
- install_update.setText(R.string.install_update_10);
- go_back.setText(R.string.go_back_10);
- download_update.setText(R.string.download_update_10);
- not_now.setText(R.string.not_now_10);
- show_support.setText(R.string.show_support_10);
- show_support_desc.setText(R.string.show_support_desc_10);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_10);
- settings_title.setText(R.string.settings_title_10);
- about_title.setText(R.string.about_title_10);
- maintenance.setText(R.string.maintenance_10);
- maintenance_desc.setText(R.string.maintenance_desc_10);
- thanks.setText(R.string.thanks_10);
- language.setText(R.string.language_10);
- website.setText(R.string.website_10);
-
+ title_1.setText(R.string.spotify_regular_10);
+ title_2.setText(R.string.spotify_amoled_10);
+ sub_text_2.setText(R.string.installed_10);
+ sub_text_4.setText(R.string.installed_10);
+ sub_text_1.setText(R.string.latest_10);
+ sub_text_3.setText(R.string.latest_10);
+ version_switch_1.setText(R.string.versions_10);
+ version_switch_2.setText(R.string.versions_10);
+ changelogs.setText(R.string.changelogs_10);
+ title_sub.setText(R.string.manager_tools_10);
+ device_cpu.setText(R.string.device_cpu_10);
+ source.setText(R.string.source_10);
+ support.setText(R.string.support_10);
+ donate.setText(R.string.donate_10);
+ about.setText(R.string.about_10);
+ list_auto_refresh.setText(R.string.list_auto_refresh_10);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
+ force_auto_install.setText(R.string.force_auto_install_10);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_10);
+ copy_url_mode.setText(R.string.copy_url_mode_10);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
+ navigation_bar.setText(R.string.hide_navigation_bar_10);
+ theme.setText(R.string.show_themes_10);
+ apk_location.setText(R.string.apk_location_10);
+ apk_location_info.setText(R.string.apk_location_desc_10);
+ clear_directory_folders.setText(R.string.clear_directory_folders_10);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
+ reset_settings.setText(R.string.reset_settings_10);
+ sub_title.setText(R.string.about_sub_10);
+ developer_manager.setText(R.string.xmanager_dev_10);
+ developer_spotify.setText(R.string.spotify_mod_devs_10);
+ support_team.setText(R.string.telegram_support_team_10);
+ mod_testers_1.setText(R.string.manager_testers_10);
+ mod_testers_2.setText(R.string.manager_hosting_10);
+ mobilism_team.setText(R.string.mobilism_team_10);
+ forum_team.setText(R.string.forum_team_10);
+ manager_team.setText(R.string.xspotify_team_10);
+ contributors_1.setText(R.string.contributors_10);
+ download_selected.setText(R.string.download_selected_10);
+ download_ready.setText(R.string.download_ready_10);
+ download_ready_desc.setText(R.string.download_ready_desc_10);
+ downloading_file.setText(R.string.downloading_file_10);
+ download_success.setText(R.string.download_success_10);
+ copy_url_desc.setText(R.string.copy_url_desc_10);
+ file_directory.setText(R.string.file_directory_10);
+ new_update.setText(R.string.new_update_10);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_10);
+ continue_1.setText(R.string.continue_1_10);
+ cancel.setText(R.string.cancel_10);
+ download.setText(R.string.download_10);
+ later.setText(R.string.later_10);
+ directory.setText(R.string.directory_10);
+ install_now.setText(R.string.install_now_10);
+ install_update.setText(R.string.install_update_10);
+ go_back.setText(R.string.go_back_10);
+ download_update.setText(R.string.download_update_10);
+ not_now.setText(R.string.not_now_10);
+ show_support.setText(R.string.show_support_10);
+ show_support_desc.setText(R.string.show_support_desc_10);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_10);
+ settings_title.setText(R.string.settings_title_10);
+ about_title.setText(R.string.about_title_10);
+ maintenance.setText(R.string.maintenance_10);
+ maintenance_desc.setText(R.string.maintenance_desc_10);
+ thanks.setText(R.string.thanks_10);
+ language.setText(R.string.language_10);
+ website.setText(R.string.website_10);
+
discord.setText(R.string.discord_10);
COUNTER = 1;
}
if (_position == 11) {
LANGUAGE.edit().putString("LANGUAGE", "11").commit();
- title_1.setText(R.string.spotify_regular_11);
- title_2.setText(R.string.spotify_amoled_11);
- sub_text_2.setText(R.string.installed_11);
- sub_text_4.setText(R.string.installed_11);
- sub_text_1.setText(R.string.latest_11);
- sub_text_3.setText(R.string.latest_11);
- version_switch_1.setText(R.string.versions_11);
- version_switch_2.setText(R.string.versions_11);
- changelogs.setText(R.string.changelogs_11);
- title_sub.setText(R.string.manager_tools_11);
- device_cpu.setText(R.string.device_cpu_11);
- source.setText(R.string.source_11);
- support.setText(R.string.support_11);
- donate.setText(R.string.donate_11);
- about.setText(R.string.about_11);
- list_auto_refresh.setText(R.string.list_auto_refresh_11);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
- force_auto_install.setText(R.string.force_auto_install_11);
- force_auto_install_info.setText(R.string.force_auto_install_desc_11);
- copy_url_mode.setText(R.string.copy_url_mode_11);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
- navigation_bar.setText(R.string.hide_navigation_bar_11);
- theme.setText(R.string.show_themes_11);
- apk_location.setText(R.string.apk_location_11);
- apk_location_info.setText(R.string.apk_location_desc_11);
- clear_directory_folders.setText(R.string.clear_directory_folders_11);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
- reset_settings.setText(R.string.reset_settings_11);
- sub_title.setText(R.string.about_sub_11);
- developer_manager.setText(R.string.xmanager_dev_11);
- developer_spotify.setText(R.string.spotify_mod_devs_11);
- support_team.setText(R.string.telegram_support_team_11);
- mod_testers_1.setText(R.string.manager_testers_11);
- mod_testers_2.setText(R.string.manager_hosting_11);
- mobilism_team.setText(R.string.mobilism_team_11);
- forum_team.setText(R.string.forum_team_11);
- manager_team.setText(R.string.xspotify_team_11);
- contributors_1.setText(R.string.contributors_11);
- download_selected.setText(R.string.download_selected_11);
- download_ready.setText(R.string.download_ready_11);
- download_ready_desc.setText(R.string.download_ready_desc_11);
- downloading_file.setText(R.string.downloading_file_11);
- download_success.setText(R.string.download_success_11);
- copy_url_desc.setText(R.string.copy_url_desc_11);
- file_directory.setText(R.string.file_directory_11);
- new_update.setText(R.string.new_update_11);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_11);
- continue_1.setText(R.string.continue_1_11);
- cancel.setText(R.string.cancel_11);
- download.setText(R.string.download_11);
- later.setText(R.string.later_11);
- directory.setText(R.string.directory_11);
- install_now.setText(R.string.install_now_11);
- install_update.setText(R.string.install_update_11);
- go_back.setText(R.string.go_back_11);
- download_update.setText(R.string.download_update_11);
- not_now.setText(R.string.not_now_11);
- show_support.setText(R.string.show_support_11);
- show_support_desc.setText(R.string.show_support_desc_11);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_11);
- settings_title.setText(R.string.settings_title_11);
- about_title.setText(R.string.about_title_11);
- maintenance.setText(R.string.maintenance_11);
- maintenance_desc.setText(R.string.maintenance_desc_11);
- thanks.setText(R.string.thanks_11);
- language.setText(R.string.language_11);
- website.setText(R.string.website_11);
-
+ title_1.setText(R.string.spotify_regular_11);
+ title_2.setText(R.string.spotify_amoled_11);
+ sub_text_2.setText(R.string.installed_11);
+ sub_text_4.setText(R.string.installed_11);
+ sub_text_1.setText(R.string.latest_11);
+ sub_text_3.setText(R.string.latest_11);
+ version_switch_1.setText(R.string.versions_11);
+ version_switch_2.setText(R.string.versions_11);
+ changelogs.setText(R.string.changelogs_11);
+ title_sub.setText(R.string.manager_tools_11);
+ device_cpu.setText(R.string.device_cpu_11);
+ source.setText(R.string.source_11);
+ support.setText(R.string.support_11);
+ donate.setText(R.string.donate_11);
+ about.setText(R.string.about_11);
+ list_auto_refresh.setText(R.string.list_auto_refresh_11);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
+ force_auto_install.setText(R.string.force_auto_install_11);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_11);
+ copy_url_mode.setText(R.string.copy_url_mode_11);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
+ navigation_bar.setText(R.string.hide_navigation_bar_11);
+ theme.setText(R.string.show_themes_11);
+ apk_location.setText(R.string.apk_location_11);
+ apk_location_info.setText(R.string.apk_location_desc_11);
+ clear_directory_folders.setText(R.string.clear_directory_folders_11);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
+ reset_settings.setText(R.string.reset_settings_11);
+ sub_title.setText(R.string.about_sub_11);
+ developer_manager.setText(R.string.xmanager_dev_11);
+ developer_spotify.setText(R.string.spotify_mod_devs_11);
+ support_team.setText(R.string.telegram_support_team_11);
+ mod_testers_1.setText(R.string.manager_testers_11);
+ mod_testers_2.setText(R.string.manager_hosting_11);
+ mobilism_team.setText(R.string.mobilism_team_11);
+ forum_team.setText(R.string.forum_team_11);
+ manager_team.setText(R.string.xspotify_team_11);
+ contributors_1.setText(R.string.contributors_11);
+ download_selected.setText(R.string.download_selected_11);
+ download_ready.setText(R.string.download_ready_11);
+ download_ready_desc.setText(R.string.download_ready_desc_11);
+ downloading_file.setText(R.string.downloading_file_11);
+ download_success.setText(R.string.download_success_11);
+ copy_url_desc.setText(R.string.copy_url_desc_11);
+ file_directory.setText(R.string.file_directory_11);
+ new_update.setText(R.string.new_update_11);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_11);
+ continue_1.setText(R.string.continue_1_11);
+ cancel.setText(R.string.cancel_11);
+ download.setText(R.string.download_11);
+ later.setText(R.string.later_11);
+ directory.setText(R.string.directory_11);
+ install_now.setText(R.string.install_now_11);
+ install_update.setText(R.string.install_update_11);
+ go_back.setText(R.string.go_back_11);
+ download_update.setText(R.string.download_update_11);
+ not_now.setText(R.string.not_now_11);
+ show_support.setText(R.string.show_support_11);
+ show_support_desc.setText(R.string.show_support_desc_11);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_11);
+ settings_title.setText(R.string.settings_title_11);
+ about_title.setText(R.string.about_title_11);
+ maintenance.setText(R.string.maintenance_11);
+ maintenance_desc.setText(R.string.maintenance_desc_11);
+ thanks.setText(R.string.thanks_11);
+ language.setText(R.string.language_11);
+ website.setText(R.string.website_11);
+
discord.setText(R.string.discord_11);
COUNTER = 1;
}
if (_position == 12) {
LANGUAGE.edit().putString("LANGUAGE", "12").commit();
- title_1.setText(R.string.spotify_regular_12);
- title_2.setText(R.string.spotify_amoled_12);
- sub_text_2.setText(R.string.installed_12);
- sub_text_4.setText(R.string.installed_12);
- sub_text_1.setText(R.string.latest_12);
- sub_text_3.setText(R.string.latest_12);
- version_switch_1.setText(R.string.versions_12);
- version_switch_2.setText(R.string.versions_12);
- changelogs.setText(R.string.changelogs_12);
- title_sub.setText(R.string.manager_tools_12);
- device_cpu.setText(R.string.device_cpu_12);
- source.setText(R.string.source_12);
- support.setText(R.string.support_12);
- donate.setText(R.string.donate_12);
- about.setText(R.string.about_12);
- list_auto_refresh.setText(R.string.list_auto_refresh_12);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
- force_auto_install.setText(R.string.force_auto_install_12);
- force_auto_install_info.setText(R.string.force_auto_install_desc_12);
- copy_url_mode.setText(R.string.copy_url_mode_12);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
- navigation_bar.setText(R.string.hide_navigation_bar_12);
- theme.setText(R.string.show_themes_12);
- apk_location.setText(R.string.apk_location_12);
- apk_location_info.setText(R.string.apk_location_desc_12);
- clear_directory_folders.setText(R.string.clear_directory_folders_12);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
- reset_settings.setText(R.string.reset_settings_12);
- sub_title.setText(R.string.about_sub_12);
- developer_manager.setText(R.string.xmanager_dev_12);
- developer_spotify.setText(R.string.spotify_mod_devs_12);
- support_team.setText(R.string.telegram_support_team_12);
- mod_testers_1.setText(R.string.manager_testers_12);
- mod_testers_2.setText(R.string.manager_hosting_12);
- mobilism_team.setText(R.string.mobilism_team_12);
- forum_team.setText(R.string.forum_team_12);
- manager_team.setText(R.string.xspotify_team_12);
- contributors_1.setText(R.string.contributors_12);
- download_selected.setText(R.string.download_selected_12);
- download_ready.setText(R.string.download_ready_12);
- download_ready_desc.setText(R.string.download_ready_desc_12);
- downloading_file.setText(R.string.downloading_file_12);
- download_success.setText(R.string.download_success_12);
- copy_url_desc.setText(R.string.copy_url_desc_12);
- file_directory.setText(R.string.file_directory_12);
- new_update.setText(R.string.new_update_12);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_12);
- continue_1.setText(R.string.continue_1_12);
- cancel.setText(R.string.cancel_12);
- download.setText(R.string.download_12);
- later.setText(R.string.later_12);
- directory.setText(R.string.directory_12);
- install_now.setText(R.string.install_now_12);
- install_update.setText(R.string.install_update_12);
- go_back.setText(R.string.go_back_12);
- download_update.setText(R.string.download_update_12);
- not_now.setText(R.string.not_now_12);
- show_support.setText(R.string.show_support_12);
- show_support_desc.setText(R.string.show_support_desc_12);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_12);
- settings_title.setText(R.string.settings_title_12);
- about_title.setText(R.string.about_title_12);
- maintenance.setText(R.string.maintenance_12);
- maintenance_desc.setText(R.string.maintenance_desc_12);
- thanks.setText(R.string.thanks_12);
- language.setText(R.string.language_12);
- website.setText(R.string.website_12);
-
+ title_1.setText(R.string.spotify_regular_12);
+ title_2.setText(R.string.spotify_amoled_12);
+ sub_text_2.setText(R.string.installed_12);
+ sub_text_4.setText(R.string.installed_12);
+ sub_text_1.setText(R.string.latest_12);
+ sub_text_3.setText(R.string.latest_12);
+ version_switch_1.setText(R.string.versions_12);
+ version_switch_2.setText(R.string.versions_12);
+ changelogs.setText(R.string.changelogs_12);
+ title_sub.setText(R.string.manager_tools_12);
+ device_cpu.setText(R.string.device_cpu_12);
+ source.setText(R.string.source_12);
+ support.setText(R.string.support_12);
+ donate.setText(R.string.donate_12);
+ about.setText(R.string.about_12);
+ list_auto_refresh.setText(R.string.list_auto_refresh_12);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
+ force_auto_install.setText(R.string.force_auto_install_12);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_12);
+ copy_url_mode.setText(R.string.copy_url_mode_12);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
+ navigation_bar.setText(R.string.hide_navigation_bar_12);
+ theme.setText(R.string.show_themes_12);
+ apk_location.setText(R.string.apk_location_12);
+ apk_location_info.setText(R.string.apk_location_desc_12);
+ clear_directory_folders.setText(R.string.clear_directory_folders_12);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
+ reset_settings.setText(R.string.reset_settings_12);
+ sub_title.setText(R.string.about_sub_12);
+ developer_manager.setText(R.string.xmanager_dev_12);
+ developer_spotify.setText(R.string.spotify_mod_devs_12);
+ support_team.setText(R.string.telegram_support_team_12);
+ mod_testers_1.setText(R.string.manager_testers_12);
+ mod_testers_2.setText(R.string.manager_hosting_12);
+ mobilism_team.setText(R.string.mobilism_team_12);
+ forum_team.setText(R.string.forum_team_12);
+ manager_team.setText(R.string.xspotify_team_12);
+ contributors_1.setText(R.string.contributors_12);
+ download_selected.setText(R.string.download_selected_12);
+ download_ready.setText(R.string.download_ready_12);
+ download_ready_desc.setText(R.string.download_ready_desc_12);
+ downloading_file.setText(R.string.downloading_file_12);
+ download_success.setText(R.string.download_success_12);
+ copy_url_desc.setText(R.string.copy_url_desc_12);
+ file_directory.setText(R.string.file_directory_12);
+ new_update.setText(R.string.new_update_12);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_12);
+ continue_1.setText(R.string.continue_1_12);
+ cancel.setText(R.string.cancel_12);
+ download.setText(R.string.download_12);
+ later.setText(R.string.later_12);
+ directory.setText(R.string.directory_12);
+ install_now.setText(R.string.install_now_12);
+ install_update.setText(R.string.install_update_12);
+ go_back.setText(R.string.go_back_12);
+ download_update.setText(R.string.download_update_12);
+ not_now.setText(R.string.not_now_12);
+ show_support.setText(R.string.show_support_12);
+ show_support_desc.setText(R.string.show_support_desc_12);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_12);
+ settings_title.setText(R.string.settings_title_12);
+ about_title.setText(R.string.about_title_12);
+ maintenance.setText(R.string.maintenance_12);
+ maintenance_desc.setText(R.string.maintenance_desc_12);
+ thanks.setText(R.string.thanks_12);
+ language.setText(R.string.language_12);
+ website.setText(R.string.website_12);
+
discord.setText(R.string.discord_12);
COUNTER = 1;
}
if (_position == 13) {
LANGUAGE.edit().putString("LANGUAGE", "13").commit();
- title_1.setText(R.string.spotify_regular_13);
- title_2.setText(R.string.spotify_amoled_13);
- sub_text_2.setText(R.string.installed_13);
- sub_text_4.setText(R.string.installed_13);
- sub_text_1.setText(R.string.latest_13);
- sub_text_3.setText(R.string.latest_13);
- version_switch_1.setText(R.string.versions_13);
- version_switch_2.setText(R.string.versions_13);
- changelogs.setText(R.string.changelogs_13);
- title_sub.setText(R.string.manager_tools_13);
- device_cpu.setText(R.string.device_cpu_13);
- source.setText(R.string.source_13);
- support.setText(R.string.support_13);
- donate.setText(R.string.donate_13);
- about.setText(R.string.about_13);
- list_auto_refresh.setText(R.string.list_auto_refresh_13);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
- force_auto_install.setText(R.string.force_auto_install_13);
- force_auto_install_info.setText(R.string.force_auto_install_desc_13);
- copy_url_mode.setText(R.string.copy_url_mode_13);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
- navigation_bar.setText(R.string.hide_navigation_bar_13);
- theme.setText(R.string.show_themes_13);
- apk_location.setText(R.string.apk_location_13);
- apk_location_info.setText(R.string.apk_location_desc_13);
- clear_directory_folders.setText(R.string.clear_directory_folders_13);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
- reset_settings.setText(R.string.reset_settings_13);
- sub_title.setText(R.string.about_sub_13);
- developer_manager.setText(R.string.xmanager_dev_13);
- developer_spotify.setText(R.string.spotify_mod_devs_13);
- support_team.setText(R.string.telegram_support_team_13);
- mod_testers_1.setText(R.string.manager_testers_13);
- mod_testers_2.setText(R.string.manager_hosting_13);
- mobilism_team.setText(R.string.mobilism_team_13);
- forum_team.setText(R.string.forum_team_13);
- manager_team.setText(R.string.xspotify_team_13);
- contributors_1.setText(R.string.contributors_13);
- download_selected.setText(R.string.download_selected_13);
- download_ready.setText(R.string.download_ready_13);
- download_ready_desc.setText(R.string.download_ready_desc_13);
- downloading_file.setText(R.string.downloading_file_13);
- download_success.setText(R.string.download_success_13);
- copy_url_desc.setText(R.string.copy_url_desc_13);
- file_directory.setText(R.string.file_directory_13);
- new_update.setText(R.string.new_update_13);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_13);
- continue_1.setText(R.string.continue_1_13);
- cancel.setText(R.string.cancel_13);
- download.setText(R.string.download_13);
- later.setText(R.string.later_13);
- directory.setText(R.string.directory_13);
- install_now.setText(R.string.install_now_13);
- install_update.setText(R.string.install_update_13);
- go_back.setText(R.string.go_back_13);
- download_update.setText(R.string.download_update_13);
- not_now.setText(R.string.not_now_13);
- show_support.setText(R.string.show_support_13);
- show_support_desc.setText(R.string.show_support_desc_13);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_13);
- settings_title.setText(R.string.settings_title_13);
- about_title.setText(R.string.about_title_13);
- maintenance.setText(R.string.maintenance_13);
- maintenance_desc.setText(R.string.maintenance_desc_13);
- thanks.setText(R.string.thanks_13);
- language.setText(R.string.language_13);
- website.setText(R.string.website_13);
-
+ title_1.setText(R.string.spotify_regular_13);
+ title_2.setText(R.string.spotify_amoled_13);
+ sub_text_2.setText(R.string.installed_13);
+ sub_text_4.setText(R.string.installed_13);
+ sub_text_1.setText(R.string.latest_13);
+ sub_text_3.setText(R.string.latest_13);
+ version_switch_1.setText(R.string.versions_13);
+ version_switch_2.setText(R.string.versions_13);
+ changelogs.setText(R.string.changelogs_13);
+ title_sub.setText(R.string.manager_tools_13);
+ device_cpu.setText(R.string.device_cpu_13);
+ source.setText(R.string.source_13);
+ support.setText(R.string.support_13);
+ donate.setText(R.string.donate_13);
+ about.setText(R.string.about_13);
+ list_auto_refresh.setText(R.string.list_auto_refresh_13);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
+ force_auto_install.setText(R.string.force_auto_install_13);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_13);
+ copy_url_mode.setText(R.string.copy_url_mode_13);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
+ navigation_bar.setText(R.string.hide_navigation_bar_13);
+ theme.setText(R.string.show_themes_13);
+ apk_location.setText(R.string.apk_location_13);
+ apk_location_info.setText(R.string.apk_location_desc_13);
+ clear_directory_folders.setText(R.string.clear_directory_folders_13);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
+ reset_settings.setText(R.string.reset_settings_13);
+ sub_title.setText(R.string.about_sub_13);
+ developer_manager.setText(R.string.xmanager_dev_13);
+ developer_spotify.setText(R.string.spotify_mod_devs_13);
+ support_team.setText(R.string.telegram_support_team_13);
+ mod_testers_1.setText(R.string.manager_testers_13);
+ mod_testers_2.setText(R.string.manager_hosting_13);
+ mobilism_team.setText(R.string.mobilism_team_13);
+ forum_team.setText(R.string.forum_team_13);
+ manager_team.setText(R.string.xspotify_team_13);
+ contributors_1.setText(R.string.contributors_13);
+ download_selected.setText(R.string.download_selected_13);
+ download_ready.setText(R.string.download_ready_13);
+ download_ready_desc.setText(R.string.download_ready_desc_13);
+ downloading_file.setText(R.string.downloading_file_13);
+ download_success.setText(R.string.download_success_13);
+ copy_url_desc.setText(R.string.copy_url_desc_13);
+ file_directory.setText(R.string.file_directory_13);
+ new_update.setText(R.string.new_update_13);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_13);
+ continue_1.setText(R.string.continue_1_13);
+ cancel.setText(R.string.cancel_13);
+ download.setText(R.string.download_13);
+ later.setText(R.string.later_13);
+ directory.setText(R.string.directory_13);
+ install_now.setText(R.string.install_now_13);
+ install_update.setText(R.string.install_update_13);
+ go_back.setText(R.string.go_back_13);
+ download_update.setText(R.string.download_update_13);
+ not_now.setText(R.string.not_now_13);
+ show_support.setText(R.string.show_support_13);
+ show_support_desc.setText(R.string.show_support_desc_13);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_13);
+ settings_title.setText(R.string.settings_title_13);
+ about_title.setText(R.string.about_title_13);
+ maintenance.setText(R.string.maintenance_13);
+ maintenance_desc.setText(R.string.maintenance_desc_13);
+ thanks.setText(R.string.thanks_13);
+ language.setText(R.string.language_13);
+ website.setText(R.string.website_13);
+
discord.setText(R.string.discord_13);
COUNTER = 1;
}
if (_position == 14) {
LANGUAGE.edit().putString("LANGUAGE", "14").commit();
- title_1.setText(R.string.spotify_regular_14);
- title_2.setText(R.string.spotify_amoled_14);
- sub_text_2.setText(R.string.installed_14);
- sub_text_4.setText(R.string.installed_14);
- sub_text_1.setText(R.string.latest_14);
- sub_text_3.setText(R.string.latest_14);
- version_switch_1.setText(R.string.versions_14);
- version_switch_2.setText(R.string.versions_14);
- changelogs.setText(R.string.changelogs_14);
- title_sub.setText(R.string.manager_tools_14);
- device_cpu.setText(R.string.device_cpu_14);
- source.setText(R.string.source_14);
- support.setText(R.string.support_14);
- donate.setText(R.string.donate_14);
- about.setText(R.string.about_14);
- list_auto_refresh.setText(R.string.list_auto_refresh_14);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
- force_auto_install.setText(R.string.force_auto_install_14);
- force_auto_install_info.setText(R.string.force_auto_install_desc_14);
- copy_url_mode.setText(R.string.copy_url_mode_14);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
- navigation_bar.setText(R.string.hide_navigation_bar_14);
- theme.setText(R.string.show_themes_14);
- apk_location.setText(R.string.apk_location_14);
- apk_location_info.setText(R.string.apk_location_desc_14);
- clear_directory_folders.setText(R.string.clear_directory_folders_14);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
- reset_settings.setText(R.string.reset_settings_14);
- sub_title.setText(R.string.about_sub_14);
- developer_manager.setText(R.string.xmanager_dev_14);
- developer_spotify.setText(R.string.spotify_mod_devs_14);
- support_team.setText(R.string.telegram_support_team_14);
- mod_testers_1.setText(R.string.manager_testers_14);
- mod_testers_2.setText(R.string.manager_hosting_14);
- mobilism_team.setText(R.string.mobilism_team_14);
- forum_team.setText(R.string.forum_team_14);
- manager_team.setText(R.string.xspotify_team_14);
- contributors_1.setText(R.string.contributors_14);
- download_selected.setText(R.string.download_selected_14);
- download_ready.setText(R.string.download_ready_14);
- download_ready_desc.setText(R.string.download_ready_desc_14);
- downloading_file.setText(R.string.downloading_file_14);
- download_success.setText(R.string.download_success_14);
- copy_url_desc.setText(R.string.copy_url_desc_14);
- file_directory.setText(R.string.file_directory_14);
- new_update.setText(R.string.new_update_14);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_14);
- continue_1.setText(R.string.continue_1_14);
- cancel.setText(R.string.cancel_14);
- download.setText(R.string.download_14);
- later.setText(R.string.later_14);
- directory.setText(R.string.directory_14);
- install_now.setText(R.string.install_now_14);
- install_update.setText(R.string.install_update_14);
- go_back.setText(R.string.go_back_14);
- download_update.setText(R.string.download_update_14);
- not_now.setText(R.string.not_now_14);
- show_support.setText(R.string.show_support_14);
- show_support_desc.setText(R.string.show_support_desc_14);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_14);
- settings_title.setText(R.string.settings_title_14);
- about_title.setText(R.string.about_title_14);
- maintenance.setText(R.string.maintenance_14);
- maintenance_desc.setText(R.string.maintenance_desc_14);
- thanks.setText(R.string.thanks_14);
- language.setText(R.string.language_14);
- website.setText(R.string.website_14);
-
+ title_1.setText(R.string.spotify_regular_14);
+ title_2.setText(R.string.spotify_amoled_14);
+ sub_text_2.setText(R.string.installed_14);
+ sub_text_4.setText(R.string.installed_14);
+ sub_text_1.setText(R.string.latest_14);
+ sub_text_3.setText(R.string.latest_14);
+ version_switch_1.setText(R.string.versions_14);
+ version_switch_2.setText(R.string.versions_14);
+ changelogs.setText(R.string.changelogs_14);
+ title_sub.setText(R.string.manager_tools_14);
+ device_cpu.setText(R.string.device_cpu_14);
+ source.setText(R.string.source_14);
+ support.setText(R.string.support_14);
+ donate.setText(R.string.donate_14);
+ about.setText(R.string.about_14);
+ list_auto_refresh.setText(R.string.list_auto_refresh_14);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
+ force_auto_install.setText(R.string.force_auto_install_14);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_14);
+ copy_url_mode.setText(R.string.copy_url_mode_14);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
+ navigation_bar.setText(R.string.hide_navigation_bar_14);
+ theme.setText(R.string.show_themes_14);
+ apk_location.setText(R.string.apk_location_14);
+ apk_location_info.setText(R.string.apk_location_desc_14);
+ clear_directory_folders.setText(R.string.clear_directory_folders_14);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
+ reset_settings.setText(R.string.reset_settings_14);
+ sub_title.setText(R.string.about_sub_14);
+ developer_manager.setText(R.string.xmanager_dev_14);
+ developer_spotify.setText(R.string.spotify_mod_devs_14);
+ support_team.setText(R.string.telegram_support_team_14);
+ mod_testers_1.setText(R.string.manager_testers_14);
+ mod_testers_2.setText(R.string.manager_hosting_14);
+ mobilism_team.setText(R.string.mobilism_team_14);
+ forum_team.setText(R.string.forum_team_14);
+ manager_team.setText(R.string.xspotify_team_14);
+ contributors_1.setText(R.string.contributors_14);
+ download_selected.setText(R.string.download_selected_14);
+ download_ready.setText(R.string.download_ready_14);
+ download_ready_desc.setText(R.string.download_ready_desc_14);
+ downloading_file.setText(R.string.downloading_file_14);
+ download_success.setText(R.string.download_success_14);
+ copy_url_desc.setText(R.string.copy_url_desc_14);
+ file_directory.setText(R.string.file_directory_14);
+ new_update.setText(R.string.new_update_14);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_14);
+ continue_1.setText(R.string.continue_1_14);
+ cancel.setText(R.string.cancel_14);
+ download.setText(R.string.download_14);
+ later.setText(R.string.later_14);
+ directory.setText(R.string.directory_14);
+ install_now.setText(R.string.install_now_14);
+ install_update.setText(R.string.install_update_14);
+ go_back.setText(R.string.go_back_14);
+ download_update.setText(R.string.download_update_14);
+ not_now.setText(R.string.not_now_14);
+ show_support.setText(R.string.show_support_14);
+ show_support_desc.setText(R.string.show_support_desc_14);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_14);
+ settings_title.setText(R.string.settings_title_14);
+ about_title.setText(R.string.about_title_14);
+ maintenance.setText(R.string.maintenance_14);
+ maintenance_desc.setText(R.string.maintenance_desc_14);
+ thanks.setText(R.string.thanks_14);
+ language.setText(R.string.language_14);
+ website.setText(R.string.website_14);
+
discord.setText(R.string.discord_14);
COUNTER = 1;
}
if (_position == 15) {
LANGUAGE.edit().putString("LANGUAGE", "15").commit();
- title_1.setText(R.string.spotify_regular_15);
- title_2.setText(R.string.spotify_amoled_15);
- sub_text_2.setText(R.string.installed_15);
- sub_text_4.setText(R.string.installed_15);
- sub_text_1.setText(R.string.latest_15);
- sub_text_3.setText(R.string.latest_15);
- version_switch_1.setText(R.string.versions_15);
- version_switch_2.setText(R.string.versions_15);
- changelogs.setText(R.string.changelogs_15);
- title_sub.setText(R.string.manager_tools_15);
- device_cpu.setText(R.string.device_cpu_15);
- source.setText(R.string.source_15);
- support.setText(R.string.support_15);
- donate.setText(R.string.donate_15);
- about.setText(R.string.about_15);
- list_auto_refresh.setText(R.string.list_auto_refresh_15);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
- force_auto_install.setText(R.string.force_auto_install_15);
- force_auto_install_info.setText(R.string.force_auto_install_desc_15);
- copy_url_mode.setText(R.string.copy_url_mode_15);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
- navigation_bar.setText(R.string.hide_navigation_bar_15);
- theme.setText(R.string.show_themes_15);
- apk_location.setText(R.string.apk_location_15);
- apk_location_info.setText(R.string.apk_location_desc_15);
- clear_directory_folders.setText(R.string.clear_directory_folders_15);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
- reset_settings.setText(R.string.reset_settings_15);
- sub_title.setText(R.string.about_sub_15);
- developer_manager.setText(R.string.xmanager_dev_15);
- developer_spotify.setText(R.string.spotify_mod_devs_15);
- support_team.setText(R.string.telegram_support_team_15);
- mod_testers_1.setText(R.string.manager_testers_15);
- mod_testers_2.setText(R.string.manager_hosting_15);
- mobilism_team.setText(R.string.mobilism_team_15);
- forum_team.setText(R.string.forum_team_15);
- manager_team.setText(R.string.xspotify_team_15);
- contributors_1.setText(R.string.contributors_15);
- download_selected.setText(R.string.download_selected_15);
- download_ready.setText(R.string.download_ready_15);
- download_ready_desc.setText(R.string.download_ready_desc_15);
- downloading_file.setText(R.string.downloading_file_15);
- download_success.setText(R.string.download_success_15);
- copy_url_desc.setText(R.string.copy_url_desc_15);
- file_directory.setText(R.string.file_directory_15);
- new_update.setText(R.string.new_update_15);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_15);
- continue_1.setText(R.string.continue_1_15);
- cancel.setText(R.string.cancel_15);
- download.setText(R.string.download_15);
- later.setText(R.string.later_15);
- directory.setText(R.string.directory_15);
- install_now.setText(R.string.install_now_15);
- install_update.setText(R.string.install_update_15);
- go_back.setText(R.string.go_back_15);
- download_update.setText(R.string.download_update_15);
- not_now.setText(R.string.not_now_15);
- show_support.setText(R.string.show_support_15);
- show_support_desc.setText(R.string.show_support_desc_15);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_15);
- settings_title.setText(R.string.settings_title_15);
- about_title.setText(R.string.about_title_15);
- maintenance.setText(R.string.maintenance_15);
- maintenance_desc.setText(R.string.maintenance_desc_15);
- thanks.setText(R.string.thanks_15);
- language.setText(R.string.language_15);
- website.setText(R.string.website_15);
-
+ title_1.setText(R.string.spotify_regular_15);
+ title_2.setText(R.string.spotify_amoled_15);
+ sub_text_2.setText(R.string.installed_15);
+ sub_text_4.setText(R.string.installed_15);
+ sub_text_1.setText(R.string.latest_15);
+ sub_text_3.setText(R.string.latest_15);
+ version_switch_1.setText(R.string.versions_15);
+ version_switch_2.setText(R.string.versions_15);
+ changelogs.setText(R.string.changelogs_15);
+ title_sub.setText(R.string.manager_tools_15);
+ device_cpu.setText(R.string.device_cpu_15);
+ source.setText(R.string.source_15);
+ support.setText(R.string.support_15);
+ donate.setText(R.string.donate_15);
+ about.setText(R.string.about_15);
+ list_auto_refresh.setText(R.string.list_auto_refresh_15);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
+ force_auto_install.setText(R.string.force_auto_install_15);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_15);
+ copy_url_mode.setText(R.string.copy_url_mode_15);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
+ navigation_bar.setText(R.string.hide_navigation_bar_15);
+ theme.setText(R.string.show_themes_15);
+ apk_location.setText(R.string.apk_location_15);
+ apk_location_info.setText(R.string.apk_location_desc_15);
+ clear_directory_folders.setText(R.string.clear_directory_folders_15);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
+ reset_settings.setText(R.string.reset_settings_15);
+ sub_title.setText(R.string.about_sub_15);
+ developer_manager.setText(R.string.xmanager_dev_15);
+ developer_spotify.setText(R.string.spotify_mod_devs_15);
+ support_team.setText(R.string.telegram_support_team_15);
+ mod_testers_1.setText(R.string.manager_testers_15);
+ mod_testers_2.setText(R.string.manager_hosting_15);
+ mobilism_team.setText(R.string.mobilism_team_15);
+ forum_team.setText(R.string.forum_team_15);
+ manager_team.setText(R.string.xspotify_team_15);
+ contributors_1.setText(R.string.contributors_15);
+ download_selected.setText(R.string.download_selected_15);
+ download_ready.setText(R.string.download_ready_15);
+ download_ready_desc.setText(R.string.download_ready_desc_15);
+ downloading_file.setText(R.string.downloading_file_15);
+ download_success.setText(R.string.download_success_15);
+ copy_url_desc.setText(R.string.copy_url_desc_15);
+ file_directory.setText(R.string.file_directory_15);
+ new_update.setText(R.string.new_update_15);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_15);
+ continue_1.setText(R.string.continue_1_15);
+ cancel.setText(R.string.cancel_15);
+ download.setText(R.string.download_15);
+ later.setText(R.string.later_15);
+ directory.setText(R.string.directory_15);
+ install_now.setText(R.string.install_now_15);
+ install_update.setText(R.string.install_update_15);
+ go_back.setText(R.string.go_back_15);
+ download_update.setText(R.string.download_update_15);
+ not_now.setText(R.string.not_now_15);
+ show_support.setText(R.string.show_support_15);
+ show_support_desc.setText(R.string.show_support_desc_15);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_15);
+ settings_title.setText(R.string.settings_title_15);
+ about_title.setText(R.string.about_title_15);
+ maintenance.setText(R.string.maintenance_15);
+ maintenance_desc.setText(R.string.maintenance_desc_15);
+ thanks.setText(R.string.thanks_15);
+ language.setText(R.string.language_15);
+ website.setText(R.string.website_15);
+
discord.setText(R.string.discord_15);
COUNTER = 1;
}
if (_position == 16) {
LANGUAGE.edit().putString("LANGUAGE", "16").commit();
- title_1.setText(R.string.spotify_regular_16);
- title_2.setText(R.string.spotify_amoled_16);
- sub_text_2.setText(R.string.installed_16);
- sub_text_4.setText(R.string.installed_16);
- sub_text_1.setText(R.string.latest_16);
- sub_text_3.setText(R.string.latest_16);
- version_switch_1.setText(R.string.versions_16);
- version_switch_2.setText(R.string.versions_16);
- changelogs.setText(R.string.changelogs_16);
- title_sub.setText(R.string.manager_tools_16);
- device_cpu.setText(R.string.device_cpu_16);
- source.setText(R.string.source_16);
- support.setText(R.string.support_16);
- donate.setText(R.string.donate_16);
- about.setText(R.string.about_16);
- list_auto_refresh.setText(R.string.list_auto_refresh_16);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
- force_auto_install.setText(R.string.force_auto_install_16);
- force_auto_install_info.setText(R.string.force_auto_install_desc_16);
- copy_url_mode.setText(R.string.copy_url_mode_16);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
- navigation_bar.setText(R.string.hide_navigation_bar_16);
- theme.setText(R.string.show_themes_16);
- apk_location.setText(R.string.apk_location_16);
- apk_location_info.setText(R.string.apk_location_desc_16);
- clear_directory_folders.setText(R.string.clear_directory_folders_16);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
- reset_settings.setText(R.string.reset_settings_16);
- sub_title.setText(R.string.about_sub_16);
- developer_manager.setText(R.string.xmanager_dev_16);
- developer_spotify.setText(R.string.spotify_mod_devs_16);
- support_team.setText(R.string.telegram_support_team_16);
- mod_testers_1.setText(R.string.manager_testers_16);
- mod_testers_2.setText(R.string.manager_hosting_16);
- mobilism_team.setText(R.string.mobilism_team_16);
- forum_team.setText(R.string.forum_team_16);
- manager_team.setText(R.string.xspotify_team_16);
- contributors_1.setText(R.string.contributors_16);
- download_selected.setText(R.string.download_selected_16);
- download_ready.setText(R.string.download_ready_16);
- download_ready_desc.setText(R.string.download_ready_desc_16);
- downloading_file.setText(R.string.downloading_file_16);
- download_success.setText(R.string.download_success_16);
- copy_url_desc.setText(R.string.copy_url_desc_16);
- file_directory.setText(R.string.file_directory_16);
- new_update.setText(R.string.new_update_16);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_16);
- continue_1.setText(R.string.continue_1_16);
- cancel.setText(R.string.cancel_16);
- download.setText(R.string.download_16);
- later.setText(R.string.later_16);
- directory.setText(R.string.directory_16);
- install_now.setText(R.string.install_now_16);
- install_update.setText(R.string.install_update_16);
- go_back.setText(R.string.go_back_16);
- download_update.setText(R.string.download_update_16);
- not_now.setText(R.string.not_now_16);
- show_support.setText(R.string.show_support_16);
- show_support_desc.setText(R.string.show_support_desc_16);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_16);
- settings_title.setText(R.string.settings_title_16);
- about_title.setText(R.string.about_title_16);
- maintenance.setText(R.string.maintenance_16);
- maintenance_desc.setText(R.string.maintenance_desc_16);
- thanks.setText(R.string.thanks_16);
- language.setText(R.string.language_16);
- website.setText(R.string.website_16);
-
+ title_1.setText(R.string.spotify_regular_16);
+ title_2.setText(R.string.spotify_amoled_16);
+ sub_text_2.setText(R.string.installed_16);
+ sub_text_4.setText(R.string.installed_16);
+ sub_text_1.setText(R.string.latest_16);
+ sub_text_3.setText(R.string.latest_16);
+ version_switch_1.setText(R.string.versions_16);
+ version_switch_2.setText(R.string.versions_16);
+ changelogs.setText(R.string.changelogs_16);
+ title_sub.setText(R.string.manager_tools_16);
+ device_cpu.setText(R.string.device_cpu_16);
+ source.setText(R.string.source_16);
+ support.setText(R.string.support_16);
+ donate.setText(R.string.donate_16);
+ about.setText(R.string.about_16);
+ list_auto_refresh.setText(R.string.list_auto_refresh_16);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
+ force_auto_install.setText(R.string.force_auto_install_16);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_16);
+ copy_url_mode.setText(R.string.copy_url_mode_16);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
+ navigation_bar.setText(R.string.hide_navigation_bar_16);
+ theme.setText(R.string.show_themes_16);
+ apk_location.setText(R.string.apk_location_16);
+ apk_location_info.setText(R.string.apk_location_desc_16);
+ clear_directory_folders.setText(R.string.clear_directory_folders_16);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
+ reset_settings.setText(R.string.reset_settings_16);
+ sub_title.setText(R.string.about_sub_16);
+ developer_manager.setText(R.string.xmanager_dev_16);
+ developer_spotify.setText(R.string.spotify_mod_devs_16);
+ support_team.setText(R.string.telegram_support_team_16);
+ mod_testers_1.setText(R.string.manager_testers_16);
+ mod_testers_2.setText(R.string.manager_hosting_16);
+ mobilism_team.setText(R.string.mobilism_team_16);
+ forum_team.setText(R.string.forum_team_16);
+ manager_team.setText(R.string.xspotify_team_16);
+ contributors_1.setText(R.string.contributors_16);
+ download_selected.setText(R.string.download_selected_16);
+ download_ready.setText(R.string.download_ready_16);
+ download_ready_desc.setText(R.string.download_ready_desc_16);
+ downloading_file.setText(R.string.downloading_file_16);
+ download_success.setText(R.string.download_success_16);
+ copy_url_desc.setText(R.string.copy_url_desc_16);
+ file_directory.setText(R.string.file_directory_16);
+ new_update.setText(R.string.new_update_16);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_16);
+ continue_1.setText(R.string.continue_1_16);
+ cancel.setText(R.string.cancel_16);
+ download.setText(R.string.download_16);
+ later.setText(R.string.later_16);
+ directory.setText(R.string.directory_16);
+ install_now.setText(R.string.install_now_16);
+ install_update.setText(R.string.install_update_16);
+ go_back.setText(R.string.go_back_16);
+ download_update.setText(R.string.download_update_16);
+ not_now.setText(R.string.not_now_16);
+ show_support.setText(R.string.show_support_16);
+ show_support_desc.setText(R.string.show_support_desc_16);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_16);
+ settings_title.setText(R.string.settings_title_16);
+ about_title.setText(R.string.about_title_16);
+ maintenance.setText(R.string.maintenance_16);
+ maintenance_desc.setText(R.string.maintenance_desc_16);
+ thanks.setText(R.string.thanks_16);
+ language.setText(R.string.language_16);
+ website.setText(R.string.website_16);
+
discord.setText(R.string.discord_16);
COUNTER = 1;
}
@@ -2623,90 +2623,90 @@ public class MainActivity extends AppCompatActivity {
- title_1.setText(R.string.spotify_regular);
- title_2.setText(R.string.spotify_amoled);
- sub_text_2.setText(R.string.installed);
- sub_text_4.setText(R.string.installed);
- sub_text_1.setText(R.string.latest);
- sub_text_3.setText(R.string.latest);
- version_switch_1.setText(R.string.versions);
- version_switch_2.setText(R.string.versions);
- changelogs.setText(R.string.changelogs);
- title_sub.setText(R.string.manager_tools);
- device_cpu.setText(R.string.device_cpu);
- source.setText(R.string.source);
- support.setText(R.string.support);
- donate.setText(R.string.donate);
- about.setText(R.string.about);
- list_auto_refresh.setText(R.string.list_auto_refresh);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
- force_auto_install.setText(R.string.force_auto_install);
- force_auto_install_info.setText(R.string.force_auto_install_desc);
- copy_url_mode.setText(R.string.copy_url_mode);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
- navigation_bar.setText(R.string.hide_navigation_bar);
- theme.setText(R.string.show_themes);
- apk_location.setText(R.string.apk_location);
- apk_location_info.setText(R.string.apk_location_desc);
- clear_directory_folders.setText(R.string.clear_directory_folders);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
- reset_settings.setText(R.string.reset_settings);
- sub_title.setText(R.string.about_sub);
- developer_manager.setText(R.string.xmanager_dev);
- developer_spotify.setText(R.string.spotify_mod_devs);
- support_team.setText(R.string.telegram_support_team);
- mod_testers_1.setText(R.string.manager_testers);
- mod_testers_2.setText(R.string.manager_hosting);
- mobilism_team.setText(R.string.mobilism_team);
- forum_team.setText(R.string.forum_team);
- manager_team.setText(R.string.xspotify_team);
- contributors_1.setText(R.string.contributors);
- download_selected.setText(R.string.download_selected);
- download_ready.setText(R.string.download_ready);
- download_ready_desc.setText(R.string.download_ready_desc);
- downloading_file.setText(R.string.downloading_file);
- download_success.setText(R.string.download_success);
- copy_url_desc.setText(R.string.copy_url_desc);
- file_directory.setText(R.string.file_directory);
- new_update.setText(R.string.new_update);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url);
- continue_1.setText(R.string.continue_1);
- cancel.setText(R.string.cancel);
- download.setText(R.string.download);
- later.setText(R.string.later);
- directory.setText(R.string.directory);
- install_now.setText(R.string.install_now);
- install_update.setText(R.string.install_update);
- go_back.setText(R.string.go_back);
- download_update.setText(R.string.download_update);
- not_now.setText(R.string.not_now);
- show_support.setText(R.string.show_support);
- show_support_desc.setText(R.string.show_support_desc);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title);
- settings_title.setText(R.string.settings_title);
- about_title.setText(R.string.about_title);
- maintenance.setText(R.string.maintenance);
- maintenance_desc.setText(R.string.maintenance_desc);
- thanks.setText(R.string.thanks);
- language.setText(R.string.language);
- website.setText(R.string.website);
-
+ title_1.setText(R.string.spotify_regular);
+ title_2.setText(R.string.spotify_amoled);
+ sub_text_2.setText(R.string.installed);
+ sub_text_4.setText(R.string.installed);
+ sub_text_1.setText(R.string.latest);
+ sub_text_3.setText(R.string.latest);
+ version_switch_1.setText(R.string.versions);
+ version_switch_2.setText(R.string.versions);
+ changelogs.setText(R.string.changelogs);
+ title_sub.setText(R.string.manager_tools);
+ device_cpu.setText(R.string.device_cpu);
+ source.setText(R.string.source);
+ support.setText(R.string.support);
+ donate.setText(R.string.donate);
+ about.setText(R.string.about);
+ list_auto_refresh.setText(R.string.list_auto_refresh);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
+ force_auto_install.setText(R.string.force_auto_install);
+ force_auto_install_info.setText(R.string.force_auto_install_desc);
+ copy_url_mode.setText(R.string.copy_url_mode);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
+ navigation_bar.setText(R.string.hide_navigation_bar);
+ theme.setText(R.string.show_themes);
+ apk_location.setText(R.string.apk_location);
+ apk_location_info.setText(R.string.apk_location_desc);
+ clear_directory_folders.setText(R.string.clear_directory_folders);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
+ reset_settings.setText(R.string.reset_settings);
+ sub_title.setText(R.string.about_sub);
+ developer_manager.setText(R.string.xmanager_dev);
+ developer_spotify.setText(R.string.spotify_mod_devs);
+ support_team.setText(R.string.telegram_support_team);
+ mod_testers_1.setText(R.string.manager_testers);
+ mod_testers_2.setText(R.string.manager_hosting);
+ mobilism_team.setText(R.string.mobilism_team);
+ forum_team.setText(R.string.forum_team);
+ manager_team.setText(R.string.xspotify_team);
+ contributors_1.setText(R.string.contributors);
+ download_selected.setText(R.string.download_selected);
+ download_ready.setText(R.string.download_ready);
+ download_ready_desc.setText(R.string.download_ready_desc);
+ downloading_file.setText(R.string.downloading_file);
+ download_success.setText(R.string.download_success);
+ copy_url_desc.setText(R.string.copy_url_desc);
+ file_directory.setText(R.string.file_directory);
+ new_update.setText(R.string.new_update);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url);
+ continue_1.setText(R.string.continue_1);
+ cancel.setText(R.string.cancel);
+ download.setText(R.string.download);
+ later.setText(R.string.later);
+ directory.setText(R.string.directory);
+ install_now.setText(R.string.install_now);
+ install_update.setText(R.string.install_update);
+ go_back.setText(R.string.go_back);
+ download_update.setText(R.string.download_update);
+ not_now.setText(R.string.not_now);
+ show_support.setText(R.string.show_support);
+ show_support_desc.setText(R.string.show_support_desc);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title);
+ settings_title.setText(R.string.settings_title);
+ about_title.setText(R.string.about_title);
+ maintenance.setText(R.string.maintenance);
+ maintenance_desc.setText(R.string.maintenance_desc);
+ thanks.setText(R.string.thanks);
+ language.setText(R.string.language);
+ website.setText(R.string.website);
+
discord.setText(R.string.discord);
select_language.setSelection((int)(0));
select_theme.setSelection((int)(0));
@@ -2729,9 +2729,9 @@ public class MainActivity extends AppCompatActivity {
box_switch.setVisibility(View.VISIBLE);
title_header.setText(main_title.getText().toString());
title_header_beta.setVisibility(View.VISIBLE);
- Animation header_beta;
- header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
+ Animation header_beta;
+ header_beta = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ header_beta.setDuration(200); title_header_beta.startAnimation(header_beta);
header_beta = null;
CLOSER_1 = 0;
_Animation_0();
@@ -2749,91 +2749,91 @@ public class MainActivity extends AppCompatActivity {
version_switch_02.setChecked(false);
changelogs_switch.setChecked(false);
list_menu_1.setVisibility(View.VISIBLE);
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
sub_1.setText(VERSIONS.getString("REGULAR", ""));
list_menu_1.setAdapter(new List_menu_1Adapter(listdata));
- ((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ ((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
main_refresh_layout.setEnabled(false);
if (true) {
@@ -2851,8 +2851,8 @@ public class MainActivity extends AppCompatActivity {
list_menu_1.setAdapter(new List_menu_1Adapter(listdata));
((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -2867,91 +2867,91 @@ public class MainActivity extends AppCompatActivity {
version_switch_01.setChecked(false);
changelogs_switch.setChecked(false);
list_menu_2.setVisibility(View.VISIBLE);
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
sub_3.setText(VERSIONS.getString("AMOLED", ""));
list_menu_2.setAdapter(new List_menu_2Adapter(listdata));
- ((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ ((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
main_refresh_layout.setEnabled(false);
if (true) {
@@ -2969,8 +2969,8 @@ public class MainActivity extends AppCompatActivity {
list_menu_2.setAdapter(new List_menu_2Adapter(listdata));
((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -2994,21 +2994,21 @@ public class MainActivity extends AppCompatActivity {
}
main_refresh_layout.setEnabled(false);
_Switches();
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Fetching failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
}
else {
box_6_sub_2.setVisibility(View.GONE);
main_refresh_layout.setEnabled(true);
}
- Animation changelogs;
- changelogs = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- changelogs.setDuration(200); box_changelogs_1.startAnimation(changelogs);
+ Animation changelogs;
+ changelogs = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ changelogs.setDuration(200); box_changelogs_1.startAnimation(changelogs);
changelogs = null;
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3017,11 +3017,11 @@ public class MainActivity extends AppCompatActivity {
@Override
public void onClick(View _view) {
try {
- Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music"));
+ Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:com.spotify.music"));
startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
}
});
@@ -3030,11 +3030,11 @@ public class MainActivity extends AppCompatActivity {
@Override
public void onClick(View _view) {
try {
- Intent intent = new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS); intent.setData(Uri.parse("package:com.spotify.music"));
+ Intent intent = new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS); intent.setData(Uri.parse("package:com.spotify.music"));
startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
}
});
@@ -3045,52 +3045,52 @@ public class MainActivity extends AppCompatActivity {
try {
if (CHECK == 0) {
CHECK = 1;
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- CHECK = 0;
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ CHECK = 0;
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(2000));
if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.spotify.music/")) {
FileUtil.deleteFile("/storage/emulated/0/Android/data/com.spotify.music/");
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(100));
}
else {
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(100));
}
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3098,17 +3098,17 @@ public class MainActivity extends AppCompatActivity {
box_open.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View _view) {
- String packageName = "com.spotify.music";
-
- Intent intent = getPackageManager().getLaunchIntentForPackage(packageName);
- if(intent == null) {
-
- try {
- intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName));
- } catch (Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
+ String packageName = "com.spotify.music";
+
+ Intent intent = getPackageManager().getLaunchIntentForPackage(packageName);
+ if(intent == null) {
+
+ try {
+ intent = new Intent(Intent.ACTION_VIEW, Uri.parse("market://details?id=" + packageName));
+ } catch (Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
startActivity(intent);
}
});
@@ -3120,8 +3120,8 @@ public class MainActivity extends AppCompatActivity {
Support.setAction(Intent.ACTION_VIEW);
Support.setData(Uri.parse("https://t.me/SpotifyModSupport"));
startActivity(Support);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3133,36 +3133,36 @@ public class MainActivity extends AppCompatActivity {
_RequiredDialog(Donation, false);
Donation.setTitle(show_support.getText().toString());
Donation.setMessage(show_support_desc.getText().toString());
- Donation.setPositiveButton(donate.getText().toString(), new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Donation.setPositiveButton(donate.getText().toString(), new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Donation, true);
Donate.setAction(Intent.ACTION_VIEW);
Donate.setData(Uri.parse("https://www.paypal.me/mrvnce"));
- startActivity(Donate);
- }
+ startActivity(Donate);
+ }
});
- Donation.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Donation.setNeutralButton(not_now.getText().toString(), new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Donation, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Donation.create().show();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3191,8 +3191,8 @@ public class MainActivity extends AppCompatActivity {
Support.setAction(Intent.ACTION_VIEW);
Support.setData(Uri.parse("https://discord.gg/sZWsVvC3pu"));
startActivity(Support);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3204,8 +3204,8 @@ public class MainActivity extends AppCompatActivity {
Source.setAction(Intent.ACTION_VIEW);
Source.setData(Uri.parse("https://xmanager-v2.github.io/"));
startActivity(Source);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3217,8 +3217,8 @@ public class MainActivity extends AppCompatActivity {
Source.setAction(Intent.ACTION_VIEW);
Source.setData(Uri.parse("https://github.com/xManager-v2/xManager-Spotify"));
startActivity(Source);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
});
@@ -3228,51 +3228,51 @@ public class MainActivity extends AppCompatActivity {
public void onResponse(String _param1, String _param2) {
final String _tag = _param1;
final String _response = _param2;
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
sub_1.setText(VERSIONS_REGULAR);
main_body.setEnabled(false);
- main_body.setAlpha((float)(0.65d));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(0.65d));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
sub_3.setText(VERSIONS_AMOLED);
main_body.setEnabled(true);
- main_body.setAlpha((float)(1.0d));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(1.0d));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3287,18 +3287,18 @@ public class MainActivity extends AppCompatActivity {
}).show();
main_body.setAlpha((float)(0.65d));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
- main_body.setAlpha((float)(1.0d));
- }
- });
- }
- };
+ main_body.setAlpha((float)(1.0d));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(700));
}
};
@@ -3348,29 +3348,29 @@ public class MainActivity extends AppCompatActivity {
GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
- xManager_Update.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ xManager_Update.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
try {
hidden_download.setText(_childValue.get("Links").toString());
- }
- catch(Exception e) {
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ catch(Exception e) {
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3410,29 +3410,29 @@ public class MainActivity extends AppCompatActivity {
GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
try {
changelogs_x.setText(_childValue.get("Changelogs").toString());
- }
- catch(Exception e) {
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ catch(Exception e) {
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3473,9 +3473,9 @@ public class MainActivity extends AppCompatActivity {
final String _token = task.getResult().getToken();
final String _errorMessage = task.getException() != null ? task.getException().getMessage() : "";
try {
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Failed to receive notification", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Failed to receive notification", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
}
};
@@ -3486,29 +3486,29 @@ public class MainActivity extends AppCompatActivity {
GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
try {
app_changelogs.setText(_childValue.get("App_Changelogs").toString());
- }
- catch(Exception e) {
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ catch(Exception e) {
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3548,33 +3548,33 @@ public class MainActivity extends AppCompatActivity {
GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
try {
listdata.add(_childValue);
sub_1.setText(_childKey.replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", " ").replace("(Arm64.v8a)", " "));
VERSIONS.edit().putString("REGULAR", _childKey.replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", "").replace("(Arm64.v8a)", "")).commit();
list_menu_1.setAdapter(new List_menu_1Adapter(listdata));
((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
- }
- catch(Exception e) {
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ catch(Exception e) {
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3597,13 +3597,13 @@ public class MainActivity extends AppCompatActivity {
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
try {
- Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
-
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
+ Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
+
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -3622,33 +3622,33 @@ public class MainActivity extends AppCompatActivity {
GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
try {
listdata.add(_childValue);
sub_3.setText(_childKey.replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", " ").replace("(Arm64.v8a)", " "));
VERSIONS.edit().putString("AMOLED", _childKey.replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", "").replace("(Arm64.v8a)", "")).commit();
list_menu_2.setAdapter(new List_menu_2Adapter(listdata));
((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
- }
- catch(Exception e) {
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ catch(Exception e) {
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
}
@@ -3671,13 +3671,13 @@ public class MainActivity extends AppCompatActivity {
final String _childKey = _param1.getKey();
final HashMap<String, Object> _childValue = _param1.getValue(_ind);
try {
- Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
-
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
+ Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
+
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -3698,8 +3698,8 @@ public class MainActivity extends AppCompatActivity {
_Informations();
_Animation_0();
_Model_UI();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -3730,17 +3730,17 @@ public class MainActivity extends AppCompatActivity {
}
if (CHECK == 0) {
CHECK = 1;
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- CHECK = 0;
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ CHECK = 0;
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(3000));
}
@@ -3748,8 +3748,8 @@ public class MainActivity extends AppCompatActivity {
finishAndRemoveTask();
finishAffinity();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -3761,43 +3761,43 @@ public class MainActivity extends AppCompatActivity {
private void _Informations () {
sub_2.setText("N/A");
cpu.setText("N/A");
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- String uri = "com.spotify.music";
- android.content.pm.PackageManager pm = getPackageManager();
-
- try {
- android.content.pm.PackageInfo pInfo = pm.getPackageInfo(uri, android.content.pm.PackageManager.GET_ACTIVITIES);
- String version = pInfo.versionName;
- sub_2.setText(version);
- sub_4.setText(version);
-
- }
- catch (Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ String uri = "com.spotify.music";
+ android.content.pm.PackageManager pm = getPackageManager();
+
+ try {
+ android.content.pm.PackageInfo pInfo = pm.getPackageInfo(uri, android.content.pm.PackageManager.GET_ACTIVITIES);
+ String version = pInfo.versionName;
+ sub_2.setText(version);
+ sub_4.setText(version);
+
+ }
+ catch (Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Application not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ String app = "com.xc3fff0e.xmanager";
+ android.content.pm.PackageManager ver = getPackageManager();
+
+ try {
+ android.content.pm.PackageInfo pInfo = ver.getPackageInfo(app, android.content.pm.PackageManager.GET_ACTIVITIES);
+ String version = pInfo.versionName;
+ app_version.setText(version);
+
}
- String app = "com.xc3fff0e.xmanager";
- android.content.pm.PackageManager ver = getPackageManager();
-
- try {
- android.content.pm.PackageInfo pInfo = ver.getPackageInfo(app, android.content.pm.PackageManager.GET_ACTIVITIES);
- String version = pInfo.versionName;
- app_version.setText(version);
-
- }
- catch (Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Spotify not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ catch (Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Spotify not installed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
}
cpu.setText(Build.CPU_ABI);
- cpu.setText(cpu.getText().toString().toUpperCase());
- }
- });
- }
- };
+ cpu.setText(cpu.getText().toString().toUpperCase());
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(750));
}
@@ -3811,245 +3811,245 @@ public class MainActivity extends AppCompatActivity {
try {
FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
- 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;
-
- DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
-
- final String fileName = URLUtil.guessFileName(urlDownload, null, null);
-
- request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
-
- request.setMimeType("application/vnd.android.package-archive");
-
+ 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;
+
+ DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+
+ request.setMimeType("application/vnd.android.package-archive");
+
request.allowScanningByMediaScanner();
request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official).apk");
-
- final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
-
- final long downloadId = manager.enqueue(request);
-
- final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
- prog.setMax(100);
- prog.setIndeterminate(false);
- prog.setCancelable(false);
- prog.setCanceledOnTouchOutside(false);
- prog.setTitle(downloading_file_0);
- new Thread(new Runnable() {
-
- @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() {
-
- SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- });
- prog.cancel();
- break;
-
- }
-
- final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
-
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- prog.setTitle(downloading_file_0);
- prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
- prog.setProgress(bytes_downloaded);
- prog.setMax(bytes_total);
- prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int which) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- manager.remove(downloadId);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- prog.cancel();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(0));
- }
- });
- prog.show();
-
- if (bytes_downloaded == bytes_total) {
-
- 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/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
+
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+
+ final long downloadId = manager.enqueue(request);
+
+ final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+ prog.setMax(100);
+ prog.setIndeterminate(false);
+ prog.setCancelable(false);
+ prog.setCanceledOnTouchOutside(false);
+ prog.setTitle(downloading_file_0);
+ new Thread(new Runnable() {
+
+ @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() {
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ });
+ prog.cancel();
+ break;
+
+ }
+
+ final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+
+ prog.setTitle(downloading_file_0);
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgress(bytes_downloaded);
+ prog.setMax(bytes_total);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ manager.remove(downloadId);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ prog.cancel();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(0));
+ }
+ });
+ prog.show();
+
+ if (bytes_downloaded == bytes_total) {
+
+ 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/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
_RequiredDialog(Success_Download, false);
Success_Download.setTitle(download_success_0);
- Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
-
- }
+ Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+
+ }
});
- Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
+ Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
_RequiredDialog(Directory, false);
Directory.setTitle(file_directory_0);
Directory.setMessage("<".concat(apk_path_location.getText().toString().concat(">")));
- Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Directory, true);
_RequiredDialog(Success_Download, false);
- Success_Download.create().show();
- }
+ Success_Download.create().show();
+ }
});
- Directory.create().show();
-
- }
- });
- Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Directory.create().show();
+
+ }
+ });
+ Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Success_Download.create().show();
+ Success_Download.create().show();
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download Complete", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- SketchwareUtil.CustomToast(getApplicationContext(), "Download Complete", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
-
- prog.cancel();
-
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1500));
- }
- } });
- }
- cursor.close();
- }
- } } }).start();
-
- } else {
+ prog.cancel();
+
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ }
+ } });
+ }
+ cursor.close();
+ }
+ } } }).start();
+
+ } else {
com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No Internet Connection", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).setAction("", new View.OnClickListener(){
@Override
public void onClick(View _view) {
}
- }).show();
+ }).show();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -4209,50 +4209,50 @@ public class MainActivity extends AppCompatActivity {
if (!ON_SCREEN.getString("ON_SCREEN", "").equals("ON_SCREEN")) {
try {
box_header.setVisibility(View.GONE);
- final ProgressDialog prog_0 = new ProgressDialog(MainActivity.this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
-
- prog_0.setMax(100);
- prog_0.setMessage("Initial optimization. Please wait...");
- prog_0.setIndeterminate(true);
- prog_0.setCancelable(false);
- if (!MainActivity.this.isFinishing()){
- prog_0.show();
+ final ProgressDialog prog_0 = new ProgressDialog(MainActivity.this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+
+ prog_0.setMax(100);
+ prog_0.setMessage("Initial optimization. Please wait...");
+ prog_0.setIndeterminate(true);
+ prog_0.setCancelable(false);
+ if (!MainActivity.this.isFinishing()){
+ prog_0.show();
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
prog_0.dismiss();
- final ProgressDialog prog_1 = new ProgressDialog(MainActivity.this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
-
- prog_1.setMax(100);
- prog_1.setMessage("Relaunching...");
- prog_1.setIndeterminate(true);
- prog_1.setCancelable(false);
- prog_1.show();
-
- if (!MainActivity.this.isFinishing()){
- return;
+ final ProgressDialog prog_1 = new ProgressDialog(MainActivity.this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+
+ prog_1.setMax(100);
+ prog_1.setMessage("Relaunching...");
+ prog_1.setIndeterminate(true);
+ prog_1.setCancelable(false);
+ prog_1.show();
+
+ if (!MainActivity.this.isFinishing()){
+ return;
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
box_header.setVisibility(View.VISIBLE);
- prog_1.dismiss();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(9000));
- }
- });
- }
- };
+ prog_1.dismiss();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(9000));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(8000));
if (FileUtil.isExistFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/")) {
FileUtil.deleteFile("/storage/emulated/0/Android/data/com.xc3fff0e.xmanager/");
@@ -4262,203 +4262,203 @@ public class MainActivity extends AppCompatActivity {
}
main_body.setEnabled(false);
main_body.setAlpha((float)(0.65d));
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
sub_1.setText(VERSIONS.getString("REGULAR", ""));
list_menu_1.smoothScrollToPosition((int)(999));
version_switch_01.setChecked(true);
version_switch_02.setChecked(false);
changelogs_switch.setChecked(false);
- main_body.setAlpha((float)(0.65d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(300));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(0.65d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(300));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- sub_3.setText(VERSIONS.getString("AMOLED", ""));
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ sub_3.setText(VERSIONS.getString("AMOLED", ""));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(300));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
list_menu_2.smoothScrollToPosition((int)(999));
version_switch_01.setChecked(false);
version_switch_02.setChecked(true);
changelogs_switch.setChecked(false);
main_body.setAlpha((float)(0.65d));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
version_switch_01.setChecked(false);
version_switch_02.setChecked(false);
changelogs_switch.setChecked(true);
main_body.setAlpha((float)(0.65d));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
version_switch_01.setChecked(false);
version_switch_02.setChecked(false);
changelogs_switch.setChecked(false);
main_body.setEnabled(true);
- main_body.setAlpha((float)(1.0d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(900));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(1.0d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(900));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
ON_SCREEN.edit().putString("ON_SCREEN", "ON_SCREEN").commit();
try {
- Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
-
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
- intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
+ Intent intent = getBaseContext().getPackageManager().getLaunchIntentForPackage(getBaseContext().getPackageName() );
+
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
+ intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
- }
- catch (Exception e) {
- }
- }
- });
- }
- };
+ }
+ catch (Exception e) {
+ }
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(10000));
main_body_optimization.setVisibility(View.VISIBLE);
main_scroll_settings.setVisibility(View.GONE);
@@ -4466,157 +4466,156 @@ public class MainActivity extends AppCompatActivity {
main_refresh_layout.setVisibility(View.GONE);
box_switch.setVisibility(View.GONE);
box_update.setVisibility(View.GONE);
- _Default_Language();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
else {
try {
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
sub_1.setText(VERSIONS.getString("REGULAR", ""));
list_menu_1.setAdapter(new List_menu_1Adapter(listdata));
((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
main_body.setEnabled(false);
- main_body.setAlpha((float)(0.65d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(300));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(0.65d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(300));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- sub_3.setText(VERSIONS.getString("AMOLED", ""));
- }
- });
- }
- };
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ sub_3.setText(VERSIONS.getString("AMOLED", ""));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(300));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
list_menu_2.setAdapter(new List_menu_2Adapter(listdata));
((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
main_body.setEnabled(true);
- main_body.setAlpha((float)(1.0d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(1.0d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
main_body_optimization.setVisibility(View.GONE);
main_scroll_settings.setVisibility(View.GONE);
@@ -4626,10 +4625,9 @@ public class MainActivity extends AppCompatActivity {
box_switch.setVisibility(View.VISIBLE);
icon_update.setAlpha((float)(1.0d));
icon_switch.setAlpha((float)(1.0d));
- _Default_Language();
_Updater();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -4641,8 +4639,8 @@ public class MainActivity extends AppCompatActivity {
_Switch_Fixer();
_Animation_5();
_List_Updater();
- _Theme_UI();
_Language_UI();
+ _Theme_UI();
_Effects();
_Url_Mode();
}
@@ -4716,27 +4714,27 @@ public class MainActivity extends AppCompatActivity {
private void _Updater () {
try {
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- Versions_1 = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- Versions_1.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ Versions_1 = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ Versions_1.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
Latest_Version = Versions_1.get((int)0).get("V").toString();
if (Double.parseDouble(Latest_Version) > Double.parseDouble(Current_Version)) {
_RequiredDialog(Update_Authorized, false);
Update_Authorized.setTitle("NEW MANAGER UPDATE");
- Update_Authorized.setPositiveButton("DOWNLOAD UPDATE", new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Update_Authorized.setPositiveButton("DOWNLOAD UPDATE", new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Update_Authorized, true);
if (FORCE_INSTALL_UPDATE.getString("FORCE_INSTALL_UPDATE", "").equals("XX")) {
@@ -4748,40 +4746,40 @@ public class MainActivity extends AppCompatActivity {
}
}
_Update_Remover();
- }
- catch(Exception e) {
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ catch(Exception e) {
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Update_Authorized.setNeutralButton("NOT NOW", new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Update_Authorized.setNeutralButton("NOT NOW", new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Update_Authorized, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Update_Authorized.create().show();
}
@@ -4796,56 +4794,56 @@ public class MainActivity extends AppCompatActivity {
_RequiredDialog(Update_Unauthorized, false);
Update_Unauthorized.setTitle(maintenance.getText().toString());
Update_Unauthorized.setMessage(maintenance_desc.getText().toString());
- Update_Unauthorized.setPositiveButton(thanks.getText().toString(), new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Update_Unauthorized.setPositiveButton(thanks.getText().toString(), new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Update_Unauthorized, true);
finishAndRemoveTask();
- finishAffinity();
- }
+ finishAffinity();
+ }
});
Update_Unauthorized.create().show();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
else {
Version.child("App").child("V").setValue(Current_Version);
}
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
private void _Updater_Check () {
Package_Name = "com.xc3fff0e.xmanager";
- try {
- android.content.pm.PackageInfo pinfo = getPackageManager().getPackageInfo(Package_Name, android.content.pm.PackageManager.GET_ACTIVITIES);
- Current_Version = pinfo.versionName;
- }
- catch (Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Version unidentified", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ try {
+ android.content.pm.PackageInfo pinfo = getPackageManager().getPackageInfo(Package_Name, android.content.pm.PackageManager.GET_ACTIVITIES);
+ Current_Version = pinfo.versionName;
}
- DatabaseReference rootRef = _firebase.getReference(); rootRef.child("version").addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot snapshot) {
- if (snapshot.exists()) {
-
+ catch (Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Version unidentified", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ DatabaseReference rootRef = _firebase.getReference(); rootRef.child("version").addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot snapshot) {
+ if (snapshot.exists()) {
+
} else {
Versions = new HashMap<>();
Versions.put("V", Current_Version);
Versions.clear();
Version.child("App").updateChildren(Versions);
- } }
- @Override
- public void onCancelled(DatabaseError _error) {
+ } }
+ @Override
+ public void onCancelled(DatabaseError _error) {
} });
}
@@ -4854,247 +4852,247 @@ public class MainActivity extends AppCompatActivity {
try {
FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
- 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;
-
- DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
-
- final String fileName = URLUtil.guessFileName(urlDownload, null, null);
-
- request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
-
- request.setMimeType("application/vnd.android.package-archive");
-
- request.allowScanningByMediaScanner();
-
- request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
-
- final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
-
- final long downloadId = manager.enqueue(request);
-
- final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
- prog.setMax(100);
- prog.setIndeterminate(false);
- prog.setCancelable(false);
- prog.setCanceledOnTouchOutside(false);
- prog.setTitle(downloading_file_0);
- new Thread(new Runnable() {
-
- @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() {
-
- SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- });
- prog.cancel();
- break;
-
- }
-
- final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
-
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- prog.setTitle(downloading_file_0);
- prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
- prog.setProgress(bytes_downloaded);
- prog.setMax(bytes_total);
- prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int which) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- manager.remove(downloadId);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- prog.cancel();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(0));
- }
- });
- prog.show();
-
- if (bytes_downloaded == bytes_total) {
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- try {
+ 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;
+
+ DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+
+ request.setMimeType("application/vnd.android.package-archive");
+
+ request.allowScanningByMediaScanner();
+
+ request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
+
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+
+ final long downloadId = manager.enqueue(request);
+
+ final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+ prog.setMax(100);
+ prog.setIndeterminate(false);
+ prog.setCancelable(false);
+ prog.setCanceledOnTouchOutside(false);
+ prog.setTitle(downloading_file_0);
+ new Thread(new Runnable() {
+
+ @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() {
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ });
+ prog.cancel();
+ break;
+
+ }
+
+ final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+
+ prog.setTitle(downloading_file_0);
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgress(bytes_downloaded);
+ prog.setMax(bytes_total);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ manager.remove(downloadId);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ prog.cancel();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(0));
+ }
+ });
+ prog.show();
+
+ if (bytes_downloaded == bytes_total) {
+
+ 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/xManager Update.apk", "/storage/emulated/0/xManager/Update/xManager Update.apk");
- prog.dismiss();
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
+ prog.dismiss();
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
_RequiredDialog(Success_Download, false);
Success_Download.setTitle(download_success_0);
- Success_Download.setPositiveButton(install_update_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
-
- }
+ Success_Download.setPositiveButton(install_update_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+
+ }
});
- Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
+ Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
_RequiredDialog(Directory, false);
- Directory.setTitle(file_directory_0);
+ Directory.setTitle(file_directory_0);
Directory.setMessage("</storage/emulated/0/xManager/Update/>");
- Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Directory, true);
_RequiredDialog(Success_Download, false);
- Success_Download.create().show();
- }
+ Success_Download.create().show();
+ }
});
- Directory.create().show();
-
- }
- });
- Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Directory.create().show();
+
+ }
+ });
+ Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Success_Download.create().show();
+ Success_Download.create().show();
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download Complete", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- SketchwareUtil.CustomToast(getApplicationContext(), "Download Complete", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
-
- prog.cancel();
-
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1500));
- }
- } });
- }
- cursor.close();
- }
- } } }).start();
-
- } else {
+ prog.cancel();
+
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ }
+ } });
+ }
+ cursor.close();
+ }
+ } } }).start();
+
+ } else {
com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No Internet Connection", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).setAction("", new View.OnClickListener(){
@Override
public void onClick(View _view) {
}
- }).show();
+ }).show();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -5106,210 +5104,210 @@ public class MainActivity extends AppCompatActivity {
private void _Ripple (final View _view, final String _c) {
- _view.setBackground(Drawables.getSelectableDrawableFor(Color.parseColor(_c)));
- _view.setClickable(true);
-
- }
-
- public static class Drawables {
- public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
- android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
- stateListDrawable.addState(
- new int[]{android.R.attr.state_pressed},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
- );
- stateListDrawable.addState(
- new int[]{android.R.attr.state_focused},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
- );
- stateListDrawable.addState(
- new int[]{},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
- );
- return stateListDrawable;
- } else {
- android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
- android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
-
- android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
- return new android.graphics.drawable.RippleDrawable(
- pressedColor,
- defaultColor,
- rippleColor
- );
- }
- }
-
- private static android.graphics.drawable.Drawable getRippleColor(int color) {
- float[] outerRadii = new float[8];
- Arrays.fill(outerRadii, 0);
- android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
-
- android.graphics.drawable.ShapeDrawable shapeDrawable = new
- android.graphics.drawable.ShapeDrawable(r);
- shapeDrawable.getPaint().setColor(color);
- return shapeDrawable;
- }
-
- private static int lightenOrDarken(int color, double fraction) {
- if (canLighten(color, fraction)) {
- return lighten(color, fraction);
- } else {
- return darken(color, fraction);
- }
- }
-
- private static int lighten(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- red = lightenColor(red, fraction);
- green = lightenColor(green, fraction);
- blue = lightenColor(blue, fraction);
- int alpha = Color.alpha(color);
- return Color.argb(alpha, red, green, blue);
- }
-
- private static int darken(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- red = darkenColor(red, fraction);
- green = darkenColor(green, fraction);
- blue = darkenColor(blue, fraction);
- int alpha = Color.alpha(color);
-
- return Color.argb(alpha, red, green, blue);
- }
-
- private static boolean canLighten(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- return canLightenComponent(red, fraction)
- && canLightenComponent(green, fraction)
- && canLightenComponent(blue, fraction);
- }
-
- private static boolean canLightenComponent(int colorComponent, double fraction) {
- int red = Color.red(colorComponent);
- int green = Color.green(colorComponent);
- int blue = Color.blue(colorComponent);
- return red + (red * fraction) < 255
- && green + (green * fraction) < 255
- && blue + (blue * fraction) < 255;
- }
-
- private static int darkenColor(int color, double fraction) {
- return (int) Math.max(color - (color * fraction), 0);
- }
-
- private static int lightenColor(int color, double fraction) {
- return (int) Math.min(color + (color * fraction), 255);
- }
- }
- public static class CircleDrawables {
- public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
- android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
- stateListDrawable.addState(
- new int[]{android.R.attr.state_pressed},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
- );
- stateListDrawable.addState(
- new int[]{android.R.attr.state_focused},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
- );
- stateListDrawable.addState(
- new int[]{},
- new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
- );
- return stateListDrawable;
- } else {
- android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
- android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
-
- android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
- return new android.graphics.drawable.RippleDrawable(
- pressedColor,
- defaultColor,
- rippleColor
- );
- }
- }
-
- private static android.graphics.drawable.Drawable getRippleColor(int color) {
- float[] outerRadii = new float[180];
- Arrays.fill(outerRadii, 80);
- android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
-
- android.graphics.drawable.ShapeDrawable shapeDrawable = new
- android.graphics.drawable.ShapeDrawable(r);
- shapeDrawable.getPaint().setColor(color);
- return shapeDrawable;
- }
-
- private static int lightenOrDarken(int color, double fraction) {
- if (canLighten(color, fraction)) {
- return lighten(color, fraction);
- } else {
- return darken(color, fraction);
- }
- }
-
- private static int lighten(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- red = lightenColor(red, fraction);
- green = lightenColor(green, fraction);
- blue = lightenColor(blue, fraction);
- int alpha = Color.alpha(color);
- return Color.argb(alpha, red, green, blue);
- }
-
- private static int darken(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- red = darkenColor(red, fraction);
- green = darkenColor(green, fraction);
- blue = darkenColor(blue, fraction);
- int alpha = Color.alpha(color);
-
- return Color.argb(alpha, red, green, blue);
- }
-
- private static boolean canLighten(int color, double fraction) {
- int red = Color.red(color);
- int green = Color.green(color);
- int blue = Color.blue(color);
- return canLightenComponent(red, fraction)
- && canLightenComponent(green, fraction)
- && canLightenComponent(blue, fraction);
- }
-
- private static boolean canLightenComponent(int colorComponent, double fraction) {
- int red = Color.red(colorComponent);
- int green = Color.green(colorComponent);
- int blue = Color.blue(colorComponent);
- return red + (red * fraction) < 255
- && green + (green * fraction) < 255
- && blue + (blue * fraction) < 255;
- }
-
- private static int darkenColor(int color, double fraction) {
- return (int) Math.max(color - (color * fraction), 0);
- }
-
- private static int lightenColor(int color, double fraction) {
- return (int) Math.min(color + (color * fraction), 255);
- }
- }
-
- public void drawableclass() {
-
+ _view.setBackground(Drawables.getSelectableDrawableFor(Color.parseColor(_c)));
+ _view.setClickable(true);
+
+ }
+
+ public static class Drawables {
+ public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
+ android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
+ stateListDrawable.addState(
+ new int[]{android.R.attr.state_pressed},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
+ );
+ stateListDrawable.addState(
+ new int[]{android.R.attr.state_focused},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
+ );
+ stateListDrawable.addState(
+ new int[]{},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
+ );
+ return stateListDrawable;
+ } else {
+ android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
+ android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
+
+ android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
+ return new android.graphics.drawable.RippleDrawable(
+ pressedColor,
+ defaultColor,
+ rippleColor
+ );
+ }
+ }
+
+ private static android.graphics.drawable.Drawable getRippleColor(int color) {
+ float[] outerRadii = new float[8];
+ Arrays.fill(outerRadii, 0);
+ android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
+
+ android.graphics.drawable.ShapeDrawable shapeDrawable = new
+ android.graphics.drawable.ShapeDrawable(r);
+ shapeDrawable.getPaint().setColor(color);
+ return shapeDrawable;
+ }
+
+ private static int lightenOrDarken(int color, double fraction) {
+ if (canLighten(color, fraction)) {
+ return lighten(color, fraction);
+ } else {
+ return darken(color, fraction);
+ }
+ }
+
+ private static int lighten(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ red = lightenColor(red, fraction);
+ green = lightenColor(green, fraction);
+ blue = lightenColor(blue, fraction);
+ int alpha = Color.alpha(color);
+ return Color.argb(alpha, red, green, blue);
+ }
+
+ private static int darken(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ red = darkenColor(red, fraction);
+ green = darkenColor(green, fraction);
+ blue = darkenColor(blue, fraction);
+ int alpha = Color.alpha(color);
+
+ return Color.argb(alpha, red, green, blue);
+ }
+
+ private static boolean canLighten(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ return canLightenComponent(red, fraction)
+ && canLightenComponent(green, fraction)
+ && canLightenComponent(blue, fraction);
+ }
+
+ private static boolean canLightenComponent(int colorComponent, double fraction) {
+ int red = Color.red(colorComponent);
+ int green = Color.green(colorComponent);
+ int blue = Color.blue(colorComponent);
+ return red + (red * fraction) < 255
+ && green + (green * fraction) < 255
+ && blue + (blue * fraction) < 255;
+ }
+
+ private static int darkenColor(int color, double fraction) {
+ return (int) Math.max(color - (color * fraction), 0);
+ }
+
+ private static int lightenColor(int color, double fraction) {
+ return (int) Math.min(color + (color * fraction), 255);
+ }
+ }
+ public static class CircleDrawables {
+ public static android.graphics.drawable.Drawable getSelectableDrawableFor(int color) {
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
+ android.graphics.drawable.StateListDrawable stateListDrawable = new android.graphics.drawable.StateListDrawable();
+ stateListDrawable.addState(
+ new int[]{android.R.attr.state_pressed},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#ffffff"))
+ );
+ stateListDrawable.addState(
+ new int[]{android.R.attr.state_focused},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
+ );
+ stateListDrawable.addState(
+ new int[]{},
+ new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"))
+ );
+ return stateListDrawable;
+ } else {
+ android.content.res.ColorStateList pressedColor = android.content.res.ColorStateList.valueOf(color);
+ android.graphics.drawable.ColorDrawable defaultColor = new android.graphics.drawable.ColorDrawable(Color.parseColor("#00ffffff"));
+
+ android.graphics.drawable.Drawable rippleColor = getRippleColor(color);
+ return new android.graphics.drawable.RippleDrawable(
+ pressedColor,
+ defaultColor,
+ rippleColor
+ );
+ }
+ }
+
+ private static android.graphics.drawable.Drawable getRippleColor(int color) {
+ float[] outerRadii = new float[180];
+ Arrays.fill(outerRadii, 80);
+ android.graphics.drawable.shapes.RoundRectShape r = new android.graphics.drawable.shapes.RoundRectShape(outerRadii, null, null);
+
+ android.graphics.drawable.ShapeDrawable shapeDrawable = new
+ android.graphics.drawable.ShapeDrawable(r);
+ shapeDrawable.getPaint().setColor(color);
+ return shapeDrawable;
+ }
+
+ private static int lightenOrDarken(int color, double fraction) {
+ if (canLighten(color, fraction)) {
+ return lighten(color, fraction);
+ } else {
+ return darken(color, fraction);
+ }
+ }
+
+ private static int lighten(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ red = lightenColor(red, fraction);
+ green = lightenColor(green, fraction);
+ blue = lightenColor(blue, fraction);
+ int alpha = Color.alpha(color);
+ return Color.argb(alpha, red, green, blue);
+ }
+
+ private static int darken(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ red = darkenColor(red, fraction);
+ green = darkenColor(green, fraction);
+ blue = darkenColor(blue, fraction);
+ int alpha = Color.alpha(color);
+
+ return Color.argb(alpha, red, green, blue);
+ }
+
+ private static boolean canLighten(int color, double fraction) {
+ int red = Color.red(color);
+ int green = Color.green(color);
+ int blue = Color.blue(color);
+ return canLightenComponent(red, fraction)
+ && canLightenComponent(green, fraction)
+ && canLightenComponent(blue, fraction);
+ }
+
+ private static boolean canLightenComponent(int colorComponent, double fraction) {
+ int red = Color.red(colorComponent);
+ int green = Color.green(colorComponent);
+ int blue = Color.blue(colorComponent);
+ return red + (red * fraction) < 255
+ && green + (green * fraction) < 255
+ && blue + (blue * fraction) < 255;
+ }
+
+ private static int darkenColor(int color, double fraction) {
+ return (int) Math.max(color - (color * fraction), 0);
+ }
+
+ private static int lightenColor(int color, double fraction) {
+ return (int) Math.min(color + (color * fraction), 255);
+ }
+ }
+
+ public void drawableclass() {
+
}
@@ -5322,237 +5320,237 @@ public class MainActivity extends AppCompatActivity {
}
else {
if (NAVIGATION_BAR.getString("NAVIGATION", "").equals("0")) {
- getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
-
- if (Build.VERSION.SDK_INT >= 21) {
- getWindow().setNavigationBarColor(Color.parseColor("#212121"));
+ getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
+
+ if (Build.VERSION.SDK_INT >= 21) {
+ getWindow().setNavigationBarColor(Color.parseColor("#212121"));
}
navigation_switch.setChecked(false);
}
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
private void _Animation_0 () {
- Animation a;
- a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- a.setDuration(200); main_box_1.startAnimation(a);
+ Animation a;
+ a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ a.setDuration(200); main_box_1.startAnimation(a);
a = null;
- Animation b;
- b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- b.setDuration(300); main_box_2.startAnimation(b);
+ Animation b;
+ b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ b.setDuration(300); main_box_2.startAnimation(b);
b = null;
- Animation c;
- c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- c.setDuration(400); main_box_6.startAnimation(c);
+ Animation c;
+ c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ c.setDuration(400); main_box_6.startAnimation(c);
c = null;
- Animation d;
- d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- d.setDuration(500); box_sub_header.startAnimation(d);
+ Animation d;
+ d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ d.setDuration(500); box_sub_header.startAnimation(d);
d = null;
- Animation e;
- e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- e.setDuration(600); main_box_4.startAnimation(e);
+ Animation e;
+ e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ e.setDuration(600); main_box_4.startAnimation(e);
e = null;
- Animation bbb;
- bbb = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- bbb.setDuration(700); main_box_15.startAnimation(bbb);
+ Animation bbb;
+ bbb = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ bbb.setDuration(700); main_box_15.startAnimation(bbb);
bbb = null;
- Animation f;
- f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- f.setDuration(300); title_header.startAnimation(f);
+ Animation f;
+ f = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ f.setDuration(300); title_header.startAnimation(f);
f = null;
- Animation g;
- g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- g.setDuration(400); box_switch.startAnimation(g);
+ Animation g;
+ g = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ g.setDuration(400); box_switch.startAnimation(g);
g = null;
- Animation h;
- h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- h.setDuration(500); box_update.startAnimation(h);
+ Animation h;
+ h = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ h.setDuration(500); box_update.startAnimation(h);
h = null;
}
private void _Animation_1 () {
- Animation i;
- i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- i.setDuration(200); box_settings_close.startAnimation(i);
+ Animation i;
+ i = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ i.setDuration(200); box_settings_close.startAnimation(i);
i = null;
- Animation j;
- j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- j.setDuration(600); main_box_7.startAnimation(j);
+ Animation j;
+ j = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ j.setDuration(600); main_box_7.startAnimation(j);
j = null;
- Animation k;
- k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- k.setDuration(700); main_box_5.startAnimation(k);
+ Animation k;
+ k = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ k.setDuration(700); main_box_5.startAnimation(k);
k = null;
- Animation l;
- l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- l.setDuration(300); title_header.startAnimation(l);
+ Animation l;
+ l = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ l.setDuration(300); title_header.startAnimation(l);
l = null;
- Animation z;
- z = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- z.setDuration(300); main_box_8.startAnimation(z);
+ Animation z;
+ z = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ z.setDuration(300); main_box_8.startAnimation(z);
z = null;
- Animation hh;
- hh = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- hh.setDuration(900); main_box_9.startAnimation(hh);
+ Animation hh;
+ hh = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ hh.setDuration(900); main_box_9.startAnimation(hh);
hh = null;
- Animation ii;
- ii = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- ii.setDuration(1000); main_box_10.startAnimation(ii);
+ Animation ii;
+ ii = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ ii.setDuration(1000); main_box_10.startAnimation(ii);
ii = null;
- Animation jj;
- jj = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- jj.setDuration(1100); main_box_13.startAnimation(jj);
+ Animation jj;
+ jj = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ jj.setDuration(1100); main_box_13.startAnimation(jj);
jj = null;
- Animation kk;
- kk = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- kk.setDuration(400); main_box_11.startAnimation(kk);
+ Animation kk;
+ kk = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ kk.setDuration(400); main_box_11.startAnimation(kk);
kk = null;
- Animation ll;
- ll = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- ll.setDuration(500); main_box_12.startAnimation(ll);
+ Animation ll;
+ ll = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ ll.setDuration(500); main_box_12.startAnimation(ll);
ll = null;
- Animation mm;
- mm = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- mm.setDuration(800); main_box_14.startAnimation(mm);
+ Animation mm;
+ mm = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ mm.setDuration(800); main_box_14.startAnimation(mm);
mm = null;
}
private void _Animation_2 () {
- Animation m;
- m = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- m.setDuration(200); box_about_close.startAnimation(m);
+ Animation m;
+ m = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ m.setDuration(200); box_about_close.startAnimation(m);
m = null;
- Animation n;
- n = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- n.setDuration(300); box_about_header.startAnimation(n);
+ Animation n;
+ n = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ n.setDuration(300); box_about_header.startAnimation(n);
n = null;
- Animation o;
- o = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- o.setDuration(400); sub_title.startAnimation(o);
+ Animation o;
+ o = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ o.setDuration(400); sub_title.startAnimation(o);
o = null;
- Animation p;
- p = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- p.setDuration(500); box_about_1.startAnimation(p);
+ Animation p;
+ p = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ p.setDuration(500); box_about_1.startAnimation(p);
p = null;
- Animation q;
- q = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- q.setDuration(600); box_about_2.startAnimation(q);
+ Animation q;
+ q = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ q.setDuration(600); box_about_2.startAnimation(q);
q = null;
- Animation r;
- r = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- r.setDuration(700); box_about_3.startAnimation(r);
+ Animation r;
+ r = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ r.setDuration(700); box_about_3.startAnimation(r);
r = null;
- Animation s;
- s = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- s.setDuration(800); box_about_4.startAnimation(s);
+ Animation s;
+ s = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ s.setDuration(800); box_about_4.startAnimation(s);
s = null;
- Animation t;
- t = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- t.setDuration(900); box_about_5.startAnimation(t);
+ Animation t;
+ t = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ t.setDuration(900); box_about_5.startAnimation(t);
t = null;
- Animation u;
- u = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- u.setDuration(1000); box_about_6.startAnimation(u);
+ Animation u;
+ u = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ u.setDuration(1000); box_about_6.startAnimation(u);
u = null;
- Animation v;
- v = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- v.setDuration(1100); box_about_7.startAnimation(v);
+ Animation v;
+ v = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ v.setDuration(1100); box_about_7.startAnimation(v);
v = null;
- Animation w;
- w = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- w.setDuration(1200); contributors_1.startAnimation(w);
+ Animation w;
+ w = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ w.setDuration(1200); contributors_1.startAnimation(w);
w = null;
- Animation x;
- x = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- x.setDuration(300); title_header.startAnimation(x);
+ Animation x;
+ x = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ x.setDuration(300); title_header.startAnimation(x);
x = null;
}
private void _Animation_4 () {
- Animation a;
- a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- a.setDuration(200); main_box_1.startAnimation(a);
+ Animation a;
+ a = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ a.setDuration(200); main_box_1.startAnimation(a);
a = null;
- Animation b;
- b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- b.setDuration(300); main_box_2.startAnimation(b);
+ Animation b;
+ b = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ b.setDuration(300); main_box_2.startAnimation(b);
b = null;
- Animation c;
- c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- c.setDuration(400); main_box_6.startAnimation(c);
+ Animation c;
+ c = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ c.setDuration(400); main_box_6.startAnimation(c);
c = null;
- Animation d;
- d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- d.setDuration(500); box_sub_header.startAnimation(d);
+ Animation d;
+ d = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ d.setDuration(500); box_sub_header.startAnimation(d);
d = null;
- Animation e;
- e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- e.setDuration(600); main_box_4.startAnimation(e);
+ Animation e;
+ e = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ e.setDuration(600); main_box_4.startAnimation(e);
e = null;
- Animation bbb;
- bbb = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- bbb.setDuration(700); main_box_15.startAnimation(bbb);
+ Animation bbb;
+ bbb = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ bbb.setDuration(700); main_box_15.startAnimation(bbb);
bbb = null;
}
private void _Dark_Navigation () {
- if (Build.VERSION.SDK_INT >= 21) {
- getWindow().setNavigationBarColor(Color.parseColor("#212121"));
+ if (Build.VERSION.SDK_INT >= 21) {
+ getWindow().setNavigationBarColor(Color.parseColor("#212121"));
}
}
private void _Linear_Animation (final boolean _clickanim, final double _animDuration, final View _view) {
- _view.setOnTouchListener(new View.OnTouchListener() {
- @Override
- public boolean onTouch(View v, MotionEvent event) {
- switch (event.getAction()){
- case MotionEvent.ACTION_DOWN:{
- ObjectAnimator scaleX = new ObjectAnimator();
- scaleX.setTarget(_view);
- scaleX.setPropertyName("scaleX");
- scaleX.setFloatValues(0.9f);
- scaleX.setDuration((int)_animDuration);
- scaleX.start();
-
- ObjectAnimator scaleY = new ObjectAnimator();
- scaleY.setTarget(_view);
- scaleY.setPropertyName("scaleY");
- scaleY.setFloatValues(0.9f);
- scaleY.setDuration((int)_animDuration);
- scaleY.start();
- break;
- }
- case MotionEvent.ACTION_UP:{
-
- ObjectAnimator scaleX = new ObjectAnimator();
- scaleX.setTarget(_view);
- scaleX.setPropertyName("scaleX");
- scaleX.setFloatValues((float)1);
- scaleX.setDuration((int)_animDuration);
- scaleX.start();
-
- ObjectAnimator scaleY = new ObjectAnimator();
- scaleY.setTarget(_view);
- scaleY.setPropertyName("scaleY");
- scaleY.setFloatValues((float)1);
- scaleY.setDuration((int)_animDuration);
- scaleY.start();
-
- break;
- }
- }
- return false;
- }
+ _view.setOnTouchListener(new View.OnTouchListener() {
+ @Override
+ public boolean onTouch(View v, MotionEvent event) {
+ switch (event.getAction()){
+ case MotionEvent.ACTION_DOWN:{
+ ObjectAnimator scaleX = new ObjectAnimator();
+ scaleX.setTarget(_view);
+ scaleX.setPropertyName("scaleX");
+ scaleX.setFloatValues(0.9f);
+ scaleX.setDuration((int)_animDuration);
+ scaleX.start();
+
+ ObjectAnimator scaleY = new ObjectAnimator();
+ scaleY.setTarget(_view);
+ scaleY.setPropertyName("scaleY");
+ scaleY.setFloatValues(0.9f);
+ scaleY.setDuration((int)_animDuration);
+ scaleY.start();
+ break;
+ }
+ case MotionEvent.ACTION_UP:{
+
+ ObjectAnimator scaleX = new ObjectAnimator();
+ scaleX.setTarget(_view);
+ scaleX.setPropertyName("scaleX");
+ scaleX.setFloatValues((float)1);
+ scaleX.setDuration((int)_animDuration);
+ scaleX.start();
+
+ ObjectAnimator scaleY = new ObjectAnimator();
+ scaleY.setTarget(_view);
+ scaleY.setPropertyName("scaleY");
+ scaleY.setFloatValues((float)1);
+ scaleY.setDuration((int)_animDuration);
+ scaleY.start();
+
+ break;
+ }
+ }
+ return false;
+ }
});
}
@@ -5583,36 +5581,36 @@ public class MainActivity extends AppCompatActivity {
main_body.setEnabled(false);
list_auto_refresh_switch.setChecked(true);
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
sub_1.setText(VERSIONS.getString("REGULAR", ""));
list_menu_1.smoothScrollToPosition((int)(999));
version_switch_01.setChecked(true);
version_switch_02.setChecked(false);
changelogs_switch.setChecked(false);
- main_body.setAlpha((float)(0.65d));
- }
- });
- }
- };
+ main_body.setAlpha((float)(0.65d));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(300));
if (!force_auto_install_switch.isChecked() && !copy_url_mode_switch.isChecked()) {
com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "Refreshing List...", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).setAction("", new View.OnClickListener(){
@@ -5620,66 +5618,66 @@ public class MainActivity extends AppCompatActivity {
public void onClick(View _view) {
}
}).show();
- }
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- sub_3.setText(VERSIONS.getString("AMOLED", ""));
- }
- });
- }
- };
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ sub_3.setText(VERSIONS.getString("AMOLED", ""));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(300));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
list_menu_2.smoothScrollToPosition((int)(999));
version_switch_01.setChecked(false);
version_switch_02.setChecked(true);
changelogs_switch.setChecked(false);
main_body.setAlpha((float)(0.65d));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
version_switch_01.setChecked(false);
version_switch_02.setChecked(false);
changelogs_switch.setChecked(true);
main_body.setAlpha((float)(0.65d));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
version_switch_01.setChecked(false);
version_switch_02.setChecked(false);
@@ -5692,86 +5690,86 @@ public class MainActivity extends AppCompatActivity {
public void onClick(View _view) {
}
}).show();
- }
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(900));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(900));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
main_body_optimization.setVisibility(View.GONE);
main_scroll_settings.setVisibility(View.GONE);
@@ -5781,8 +5779,8 @@ public class MainActivity extends AppCompatActivity {
box_switch.setVisibility(View.VISIBLE);
icon_update.setAlpha((float)(1.0d));
icon_switch.setAlpha((float)(1.0d));
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
else {
@@ -5790,148 +5788,148 @@ public class MainActivity extends AppCompatActivity {
try {
list_auto_refresh_switch.setChecked(false);
- Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Regular_Mod.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
sub_1.setText(VERSIONS.getString("REGULAR", ""));
list_menu_1.setAdapter(new List_menu_1Adapter(listdata));
((BaseAdapter)list_menu_1.getAdapter()).notifyDataSetChanged();
main_body.setEnabled(false);
- main_body.setAlpha((float)(0.65d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(300));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(0.65d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(300));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- listdata = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- listdata.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- sub_3.setText(VERSIONS.getString("AMOLED", ""));
- }
- });
- }
- };
+ Amoled_Black.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ listdata = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ listdata.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ sub_3.setText(VERSIONS.getString("AMOLED", ""));
+ }
+ });
+ }
+ };
_timer.schedule(Timer, (int)(300));
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
list_menu_2.setAdapter(new List_menu_2Adapter(listdata));
((BaseAdapter)list_menu_2.getAdapter()).notifyDataSetChanged();
main_body.setEnabled(true);
- main_body.setAlpha((float)(1.0d));
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(800));
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ main_body.setAlpha((float)(1.0d));
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(800));
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ xManager_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ xManager_Changelogs.addChildEventListener(_xManager_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Mod_Changelogs.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Mod_Changelogs.addChildEventListener(_Mod_Changelogs_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
- Version.addListenerForSingleValueEvent(new ValueEventListener() {
- @Override
- public void onDataChange(DataSnapshot _dataSnapshot) {
- others = new ArrayList<>();
- try {
- GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
- for (DataSnapshot _data : _dataSnapshot.getChildren()) {
- HashMap<String, Object> _map = _data.getValue(_ind);
- others.add(_map);
- }
- }
- catch (Exception _e) {
- _e.printStackTrace();
- }
- Version.addChildEventListener(_Version_child_listener);
- }
- @Override
- public void onCancelled(DatabaseError _databaseError) {
- }
+ Version.addListenerForSingleValueEvent(new ValueEventListener() {
+ @Override
+ public void onDataChange(DataSnapshot _dataSnapshot) {
+ others = new ArrayList<>();
+ try {
+ GenericTypeIndicator<HashMap<String, Object>> _ind = new GenericTypeIndicator<HashMap<String, Object>>() {};
+ for (DataSnapshot _data : _dataSnapshot.getChildren()) {
+ HashMap<String, Object> _map = _data.getValue(_ind);
+ others.add(_map);
+ }
+ }
+ catch (Exception _e) {
+ _e.printStackTrace();
+ }
+ Version.addChildEventListener(_Version_child_listener);
+ }
+ @Override
+ public void onCancelled(DatabaseError _databaseError) {
+ }
});
main_body_optimization.setVisibility(View.GONE);
main_scroll_settings.setVisibility(View.GONE);
@@ -5943,8 +5941,8 @@ public class MainActivity extends AppCompatActivity {
icon_switch.setAlpha((float)(1.0d));
_Updater();
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
}
@@ -5965,285 +5963,285 @@ public class MainActivity extends AppCompatActivity {
try {
FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
- 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;
-
- DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
-
- final String fileName = URLUtil.guessFileName(urlDownload, null, null);
-
- request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
-
- request.setMimeType("application/vnd.android.package-archive");
-
+ 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;
+
+ DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+
+ request.setMimeType("application/vnd.android.package-archive");
+
request.allowScanningByMediaScanner();
request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "Spotify Mod (Official).apk");
-
- final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
-
- final long downloadId = manager.enqueue(request);
-
- final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
- prog.setMax(100);
- prog.setIndeterminate(false);
- prog.setCancelable(false);
- prog.setCanceledOnTouchOutside(false);
- prog.setTitle(downloading_file_0);
- new Thread(new Runnable() {
-
- @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() {
-
- SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- });
- prog.cancel();
- break;
-
- }
-
- final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
-
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- prog.setTitle(downloading_file_0);
- prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
- prog.setProgress(bytes_downloaded);
- prog.setMax(bytes_total);
- prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int which) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- manager.remove(downloadId);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- prog.cancel();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(0));
- }
- });
- prog.show();
-
- if (bytes_downloaded == bytes_total) {
-
- 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/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
+
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+
+ final long downloadId = manager.enqueue(request);
+
+ final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+ prog.setMax(100);
+ prog.setIndeterminate(false);
+ prog.setCancelable(false);
+ prog.setCanceledOnTouchOutside(false);
+ prog.setTitle(downloading_file_0);
+ new Thread(new Runnable() {
+
+ @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() {
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ });
+ prog.cancel();
+ break;
+
+ }
+
+ final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+
+ prog.setTitle(downloading_file_0);
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgress(bytes_downloaded);
+ prog.setMax(bytes_total);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ manager.remove(downloadId);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ prog.cancel();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(0));
+ }
+ });
+ prog.show();
+
+ if (bytes_downloaded == bytes_total) {
+
+ 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/Spotify Mod (Official).apk", apk_path_location.getText().toString().concat("Spotify Mod (Official).apk"));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
_RequiredDialog(Success_Download, false);
Success_Download.setTitle(download_success_0);
- Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
-
- }
+ Success_Download.setPositiveButton(install_now_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+
+ }
});
- Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
+ Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
_RequiredDialog(Directory, false);
Directory.setTitle(file_directory_0);
Directory.setMessage("<".concat(apk_path_location.getText().toString().concat(">")));
- Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Directory, true);
_RequiredDialog(Success_Download, false);
- Success_Download.create().show();
- }
+ Success_Download.create().show();
+ }
});
- Directory.create().show();
-
- }
- });
- Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- });
-
- prog.cancel();
+ Directory.create().show();
+
+ }
+ });
+ Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ });
+
+ prog.cancel();
+
+ Success_Download.create().dismiss();
+
+ StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder(); StrictMode.setVmPolicy(builder.build());
- Success_Download.create().dismiss();
-
- 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1500));
- }
- } });
- }
- cursor.close();
- }
- } } }).start();
-
- } else {
+ 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Spotify Mod (Official).apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ }
+ } });
+ }
+ cursor.close();
+ }
+ } } }).start();
+
+ } else {
com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No Internet Connection", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).setAction("", new View.OnClickListener(){
@Override
public void onClick(View _view) {
}
- }).show();
+ }).show();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -6252,287 +6250,287 @@ public class MainActivity extends AppCompatActivity {
try {
FileUtil.makeDir(FileUtil.getPackageDataDir(getApplicationContext()));
- 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;
-
- DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
-
- final String fileName = URLUtil.guessFileName(urlDownload, null, null);
-
- request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
-
- request.setMimeType("application/vnd.android.package-archive");
-
- request.allowScanningByMediaScanner();
-
- request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
-
- final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
-
- final long downloadId = manager.enqueue(request);
-
- final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
- prog.setMax(100);
- prog.setIndeterminate(false);
- prog.setCancelable(false);
- prog.setCanceledOnTouchOutside(false);
- prog.setTitle(downloading_file_0);
- new Thread(new Runnable() {
-
- @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() {
-
- SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- });
- prog.cancel();
- break;
-
- }
-
- final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
-
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- prog.setTitle(downloading_file_0);
- prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
- prog.setProgress(bytes_downloaded);
- prog.setMax(bytes_total);
- prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface dialog, int which) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- manager.remove(downloadId);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- prog.cancel();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(0));
- }
- });
- prog.show();
-
- if (bytes_downloaded == bytes_total) {
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
-
- try {
+ 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;
+
+ DownloadManager.Request request = new DownloadManager.Request(Uri.parse(urlDownload));
+
+ final String fileName = URLUtil.guessFileName(urlDownload, null, null);
+
+ request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_HIDDEN);
+
+ request.setMimeType("application/vnd.android.package-archive");
+
+ request.allowScanningByMediaScanner();
+
+ request.setDestinationInExternalFilesDir(this,Environment.DIRECTORY_DOWNLOADS, "/Update/xManager Update.apk");
+
+ final DownloadManager manager = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
+
+ final long downloadId = manager.enqueue(request);
+
+ final ProgressDialog prog = new ProgressDialog(this, ProgressDialog.THEME_DEVICE_DEFAULT_DARK);
+ prog.setMax(100);
+ prog.setIndeterminate(false);
+ prog.setCancelable(false);
+ prog.setCanceledOnTouchOutside(false);
+ prog.setTitle(downloading_file_0);
+ new Thread(new Runnable() {
+
+ @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() {
+
+ SketchwareUtil.CustomToast(getApplicationContext(), "The file or link is currently unavailable. Please try again later.", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ });
+ prog.cancel();
+ break;
+
+ }
+
+ final int dl_progress = (int) ((bytes_downloaded * 100l) / bytes_total);
+
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+
+ prog.setTitle(downloading_file_0);
+ prog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
+ prog.setProgress(bytes_downloaded);
+ prog.setMax(bytes_total);
+ prog.setButton(DialogInterface.BUTTON_NEGATIVE, cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface dialog, int which) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Download cancelled", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ manager.remove(downloadId);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ prog.cancel();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(0));
+ }
+ });
+ prog.show();
+
+ if (bytes_downloaded == bytes_total) {
+
+ 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/xManager Update.apk", "/storage/emulated/0/xManager/Update/xManager Update.apk");
- prog.dismiss();
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
+ prog.dismiss();
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Copying failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
_RequiredDialog(Success_Download, false);
Success_Download.setTitle(download_success_0);
- Success_Download.setPositiveButton(install_update_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
-
- }
+ Success_Download.setPositiveButton(install_update_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+
+ }
});
- Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
+ Success_Download.setNegativeButton(directory_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
_RequiredDialog(Directory, false);
- Directory.setTitle(file_directory_0);
+ Directory.setTitle(file_directory_0);
Directory.setMessage("</storage/emulated/0/xManager/Update/>");
- Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Directory.setPositiveButton(go_back_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Directory, true);
_RequiredDialog(Success_Download, false);
- Success_Download.create().show();
- }
+ Success_Download.create().show();
+ }
});
- Directory.create().show();
-
- }
- });
- Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
- _RequiredDialog(Success_Download, true);
-
- prog.cancel();
-
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- });
-
- prog.cancel();
+ Directory.create().show();
+
+ }
+ });
+ Success_Download.setNeutralButton(later_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
+ _RequiredDialog(Success_Download, true);
+
+ prog.cancel();
+
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ });
+
+ prog.cancel();
+
+ Success_Download.create().dismiss();
- Success_Download.create().dismiss();
-
- 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
-
- } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
-
- startActivity(intent);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
- catch(Exception e) {
- SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
- }
- }
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(1500));
- }
- } });
- }
- cursor.close();
- }
- } } }).start();
-
- } else {
+ 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+
+ } 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/Update/xManager Update.apk")), "application/vnd.android.package-archive");
+
+ startActivity(intent);
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
+ catch(Exception e) {
+ SketchwareUtil.CustomToast(getApplicationContext(), "Null 404: Installation failed", 0xFF000000, 14, 0xFFE0E0E0, 30, SketchwareUtil.BOTTOM);
+ }
+ }
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(1500));
+ }
+ } });
+ }
+ cursor.close();
+ }
+ } } }).start();
+
+ } else {
com.google.android.material.snackbar.Snackbar.make(main_refresh_layout, "No Internet Connection", com.google.android.material.snackbar.Snackbar.LENGTH_LONG).setAction("", new View.OnClickListener(){
@Override
public void onClick(View _view) {
}
- }).show();
+ }).show();
}
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
}
@@ -6621,1514 +6619,1514 @@ public class MainActivity extends AppCompatActivity {
private void _Language_UI () {
if (LANGUAGE.getString("LANGUAGE", "").equals("0")) {
- title_1.setText(R.string.spotify_regular);
- title_2.setText(R.string.spotify_amoled);
- sub_text_2.setText(R.string.installed);
- sub_text_4.setText(R.string.installed);
- sub_text_1.setText(R.string.latest);
- sub_text_3.setText(R.string.latest);
- version_switch_1.setText(R.string.versions);
- version_switch_2.setText(R.string.versions);
- changelogs.setText(R.string.changelogs);
- title_sub.setText(R.string.manager_tools);
- device_cpu.setText(R.string.device_cpu);
- source.setText(R.string.source);
- support.setText(R.string.support);
- donate.setText(R.string.donate);
- about.setText(R.string.about);
- list_auto_refresh.setText(R.string.list_auto_refresh);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
- force_auto_install.setText(R.string.force_auto_install);
- force_auto_install_info.setText(R.string.force_auto_install_desc);
- copy_url_mode.setText(R.string.copy_url_mode);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
- navigation_bar.setText(R.string.hide_navigation_bar);
- theme.setText(R.string.show_themes);
- apk_location.setText(R.string.apk_location);
- apk_location_info.setText(R.string.apk_location_desc);
- clear_directory_folders.setText(R.string.clear_directory_folders);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
- reset_settings.setText(R.string.reset_settings);
- sub_title.setText(R.string.about_sub);
- developer_manager.setText(R.string.xmanager_dev);
- developer_spotify.setText(R.string.spotify_mod_devs);
- support_team.setText(R.string.telegram_support_team);
- mod_testers_1.setText(R.string.manager_testers);
- mod_testers_2.setText(R.string.manager_hosting);
- mobilism_team.setText(R.string.mobilism_team);
- forum_team.setText(R.string.forum_team);
- manager_team.setText(R.string.xspotify_team);
- contributors_1.setText(R.string.contributors);
- download_selected.setText(R.string.download_selected);
- download_ready.setText(R.string.download_ready);
- download_ready_desc.setText(R.string.download_ready_desc);
- downloading_file.setText(R.string.downloading_file);
- download_success.setText(R.string.download_success);
- copy_url_desc.setText(R.string.copy_url_desc);
- file_directory.setText(R.string.file_directory);
- new_update.setText(R.string.new_update);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url);
- continue_1.setText(R.string.continue_1);
- cancel.setText(R.string.cancel);
- download.setText(R.string.download);
- later.setText(R.string.later);
- directory.setText(R.string.directory);
- install_now.setText(R.string.install_now);
- install_update.setText(R.string.install_update);
- go_back.setText(R.string.go_back);
- download_update.setText(R.string.download_update);
- not_now.setText(R.string.not_now);
- show_support.setText(R.string.show_support);
- show_support_desc.setText(R.string.show_support_desc);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title);
- settings_title.setText(R.string.settings_title);
- about_title.setText(R.string.about_title);
- maintenance.setText(R.string.maintenance);
- maintenance_desc.setText(R.string.maintenance_desc);
- thanks.setText(R.string.thanks);
- language.setText(R.string.language);
- website.setText(R.string.website);
-
+ title_1.setText(R.string.spotify_regular);
+ title_2.setText(R.string.spotify_amoled);
+ sub_text_2.setText(R.string.installed);
+ sub_text_4.setText(R.string.installed);
+ sub_text_1.setText(R.string.latest);
+ sub_text_3.setText(R.string.latest);
+ version_switch_1.setText(R.string.versions);
+ version_switch_2.setText(R.string.versions);
+ changelogs.setText(R.string.changelogs);
+ title_sub.setText(R.string.manager_tools);
+ device_cpu.setText(R.string.device_cpu);
+ source.setText(R.string.source);
+ support.setText(R.string.support);
+ donate.setText(R.string.donate);
+ about.setText(R.string.about);
+ list_auto_refresh.setText(R.string.list_auto_refresh);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc);
+ force_auto_install.setText(R.string.force_auto_install);
+ force_auto_install_info.setText(R.string.force_auto_install_desc);
+ copy_url_mode.setText(R.string.copy_url_mode);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc);
+ navigation_bar.setText(R.string.hide_navigation_bar);
+ theme.setText(R.string.show_themes);
+ apk_location.setText(R.string.apk_location);
+ apk_location_info.setText(R.string.apk_location_desc);
+ clear_directory_folders.setText(R.string.clear_directory_folders);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc);
+ reset_settings.setText(R.string.reset_settings);
+ sub_title.setText(R.string.about_sub);
+ developer_manager.setText(R.string.xmanager_dev);
+ developer_spotify.setText(R.string.spotify_mod_devs);
+ support_team.setText(R.string.telegram_support_team);
+ mod_testers_1.setText(R.string.manager_testers);
+ mod_testers_2.setText(R.string.manager_hosting);
+ mobilism_team.setText(R.string.mobilism_team);
+ forum_team.setText(R.string.forum_team);
+ manager_team.setText(R.string.xspotify_team);
+ contributors_1.setText(R.string.contributors);
+ download_selected.setText(R.string.download_selected);
+ download_ready.setText(R.string.download_ready);
+ download_ready_desc.setText(R.string.download_ready_desc);
+ downloading_file.setText(R.string.downloading_file);
+ download_success.setText(R.string.download_success);
+ copy_url_desc.setText(R.string.copy_url_desc);
+ file_directory.setText(R.string.file_directory);
+ new_update.setText(R.string.new_update);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url);
+ continue_1.setText(R.string.continue_1);
+ cancel.setText(R.string.cancel);
+ download.setText(R.string.download);
+ later.setText(R.string.later);
+ directory.setText(R.string.directory);
+ install_now.setText(R.string.install_now);
+ install_update.setText(R.string.install_update);
+ go_back.setText(R.string.go_back);
+ download_update.setText(R.string.download_update);
+ not_now.setText(R.string.not_now);
+ show_support.setText(R.string.show_support);
+ show_support_desc.setText(R.string.show_support_desc);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title);
+ settings_title.setText(R.string.settings_title);
+ about_title.setText(R.string.about_title);
+ maintenance.setText(R.string.maintenance);
+ maintenance_desc.setText(R.string.maintenance_desc);
+ thanks.setText(R.string.thanks);
+ language.setText(R.string.language);
+ website.setText(R.string.website);
+
discord.setText(R.string.discord);
select_language.setSelection((int)(0));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("1")) {
- title_1.setText(R.string.spotify_regular_01);
- title_2.setText(R.string.spotify_amoled_01);
- sub_text_2.setText(R.string.installed_01);
- sub_text_4.setText(R.string.installed_01);
- sub_text_1.setText(R.string.latest_01);
- sub_text_3.setText(R.string.latest_01);
- version_switch_1.setText(R.string.versions_01);
- version_switch_2.setText(R.string.versions_01);
- changelogs.setText(R.string.changelogs_01);
- title_sub.setText(R.string.manager_tools_01);
- device_cpu.setText(R.string.device_cpu_01);
- source.setText(R.string.source_01);
- support.setText(R.string.support_01);
- donate.setText(R.string.donate_01);
- about.setText(R.string.about_01);
- list_auto_refresh.setText(R.string.list_auto_refresh_01);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
- force_auto_install.setText(R.string.force_auto_install_01);
- force_auto_install_info.setText(R.string.force_auto_install_desc_01);
- copy_url_mode.setText(R.string.copy_url_mode_01);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
- navigation_bar.setText(R.string.hide_navigation_bar_01);
- theme.setText(R.string.show_themes_01);
- apk_location.setText(R.string.apk_location_01);
- apk_location_info.setText(R.string.apk_location_desc_01);
- clear_directory_folders.setText(R.string.clear_directory_folders_01);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
- reset_settings.setText(R.string.reset_settings_01);
- sub_title.setText(R.string.about_sub_01);
- developer_manager.setText(R.string.xmanager_dev_01);
- developer_spotify.setText(R.string.spotify_mod_devs_01);
- support_team.setText(R.string.telegram_support_team_01);
- mod_testers_1.setText(R.string.manager_testers_01);
- mod_testers_2.setText(R.string.manager_hosting_01);
- mobilism_team.setText(R.string.mobilism_team_01);
- forum_team.setText(R.string.forum_team_01);
- manager_team.setText(R.string.xspotify_team_01);
- contributors_1.setText(R.string.contributors_01);
- download_selected.setText(R.string.download_selected_01);
- download_ready.setText(R.string.download_ready_01);
- download_ready_desc.setText(R.string.download_ready_desc_01);
- downloading_file.setText(R.string.downloading_file_01);
- download_success.setText(R.string.download_success_01);
- copy_url_desc.setText(R.string.copy_url_desc_01);
- file_directory.setText(R.string.file_directory_01);
- new_update.setText(R.string.new_update_01);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_01);
- continue_1.setText(R.string.continue_1_01);
- cancel.setText(R.string.cancel_01);
- download.setText(R.string.download_01);
- later.setText(R.string.later_01);
- directory.setText(R.string.directory_01);
- install_now.setText(R.string.install_now_01);
- install_update.setText(R.string.install_update_01);
- go_back.setText(R.string.go_back_01);
- download_update.setText(R.string.download_update_01);
- not_now.setText(R.string.not_now_01);
- show_support.setText(R.string.show_support_01);
- show_support_desc.setText(R.string.show_support_desc_01);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_01);
- settings_title.setText(R.string.settings_title_01);
- about_title.setText(R.string.about_title_01);
- maintenance.setText(R.string.maintenance_01);
- maintenance_desc.setText(R.string.maintenance_desc_01);
- thanks.setText(R.string.thanks_01);
- language.setText(R.string.language_01);
- website.setText(R.string.website_01);
-
+ title_1.setText(R.string.spotify_regular_01);
+ title_2.setText(R.string.spotify_amoled_01);
+ sub_text_2.setText(R.string.installed_01);
+ sub_text_4.setText(R.string.installed_01);
+ sub_text_1.setText(R.string.latest_01);
+ sub_text_3.setText(R.string.latest_01);
+ version_switch_1.setText(R.string.versions_01);
+ version_switch_2.setText(R.string.versions_01);
+ changelogs.setText(R.string.changelogs_01);
+ title_sub.setText(R.string.manager_tools_01);
+ device_cpu.setText(R.string.device_cpu_01);
+ source.setText(R.string.source_01);
+ support.setText(R.string.support_01);
+ donate.setText(R.string.donate_01);
+ about.setText(R.string.about_01);
+ list_auto_refresh.setText(R.string.list_auto_refresh_01);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_01);
+ force_auto_install.setText(R.string.force_auto_install_01);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_01);
+ copy_url_mode.setText(R.string.copy_url_mode_01);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_01);
+ navigation_bar.setText(R.string.hide_navigation_bar_01);
+ theme.setText(R.string.show_themes_01);
+ apk_location.setText(R.string.apk_location_01);
+ apk_location_info.setText(R.string.apk_location_desc_01);
+ clear_directory_folders.setText(R.string.clear_directory_folders_01);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_01);
+ reset_settings.setText(R.string.reset_settings_01);
+ sub_title.setText(R.string.about_sub_01);
+ developer_manager.setText(R.string.xmanager_dev_01);
+ developer_spotify.setText(R.string.spotify_mod_devs_01);
+ support_team.setText(R.string.telegram_support_team_01);
+ mod_testers_1.setText(R.string.manager_testers_01);
+ mod_testers_2.setText(R.string.manager_hosting_01);
+ mobilism_team.setText(R.string.mobilism_team_01);
+ forum_team.setText(R.string.forum_team_01);
+ manager_team.setText(R.string.xspotify_team_01);
+ contributors_1.setText(R.string.contributors_01);
+ download_selected.setText(R.string.download_selected_01);
+ download_ready.setText(R.string.download_ready_01);
+ download_ready_desc.setText(R.string.download_ready_desc_01);
+ downloading_file.setText(R.string.downloading_file_01);
+ download_success.setText(R.string.download_success_01);
+ copy_url_desc.setText(R.string.copy_url_desc_01);
+ file_directory.setText(R.string.file_directory_01);
+ new_update.setText(R.string.new_update_01);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_01);
+ continue_1.setText(R.string.continue_1_01);
+ cancel.setText(R.string.cancel_01);
+ download.setText(R.string.download_01);
+ later.setText(R.string.later_01);
+ directory.setText(R.string.directory_01);
+ install_now.setText(R.string.install_now_01);
+ install_update.setText(R.string.install_update_01);
+ go_back.setText(R.string.go_back_01);
+ download_update.setText(R.string.download_update_01);
+ not_now.setText(R.string.not_now_01);
+ show_support.setText(R.string.show_support_01);
+ show_support_desc.setText(R.string.show_support_desc_01);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_01);
+ settings_title.setText(R.string.settings_title_01);
+ about_title.setText(R.string.about_title_01);
+ maintenance.setText(R.string.maintenance_01);
+ maintenance_desc.setText(R.string.maintenance_desc_01);
+ thanks.setText(R.string.thanks_01);
+ language.setText(R.string.language_01);
+ website.setText(R.string.website_01);
+
discord.setText(R.string.discord_01);
select_language.setSelection((int)(1));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("2")) {
- title_1.setText(R.string.spotify_regular_02);
- title_2.setText(R.string.spotify_amoled_02);
- sub_text_2.setText(R.string.installed_02);
- sub_text_4.setText(R.string.installed_02);
- sub_text_1.setText(R.string.latest_02);
- sub_text_3.setText(R.string.latest_02);
- version_switch_1.setText(R.string.versions_02);
- version_switch_2.setText(R.string.versions_02);
- changelogs.setText(R.string.changelogs_02);
- title_sub.setText(R.string.manager_tools_02);
- device_cpu.setText(R.string.device_cpu_02);
- source.setText(R.string.source_02);
- support.setText(R.string.support_02);
- donate.setText(R.string.donate_02);
- about.setText(R.string.about_02);
- list_auto_refresh.setText(R.string.list_auto_refresh_02);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
- force_auto_install.setText(R.string.force_auto_install_02);
- force_auto_install_info.setText(R.string.force_auto_install_desc_02);
- copy_url_mode.setText(R.string.copy_url_mode_02);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
- navigation_bar.setText(R.string.hide_navigation_bar_02);
- theme.setText(R.string.show_themes_02);
- apk_location.setText(R.string.apk_location_02);
- apk_location_info.setText(R.string.apk_location_desc_02);
- clear_directory_folders.setText(R.string.clear_directory_folders_02);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
- reset_settings.setText(R.string.reset_settings_02);
- sub_title.setText(R.string.about_sub_02);
- developer_manager.setText(R.string.xmanager_dev_02);
- developer_spotify.setText(R.string.spotify_mod_devs_02);
- support_team.setText(R.string.telegram_support_team_02);
- mod_testers_1.setText(R.string.manager_testers_02);
- mod_testers_2.setText(R.string.manager_hosting_02);
- mobilism_team.setText(R.string.mobilism_team_02);
- forum_team.setText(R.string.forum_team_02);
- manager_team.setText(R.string.xspotify_team_02);
- contributors_1.setText(R.string.contributors_02);
- download_selected.setText(R.string.download_selected_02);
- download_ready.setText(R.string.download_ready_02);
- download_ready_desc.setText(R.string.download_ready_desc_02);
- downloading_file.setText(R.string.downloading_file_02);
- download_success.setText(R.string.download_success_02);
- copy_url_desc.setText(R.string.copy_url_desc_02);
- file_directory.setText(R.string.file_directory_02);
- new_update.setText(R.string.new_update_02);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_02);
- continue_1.setText(R.string.continue_1_02);
- cancel.setText(R.string.cancel_02);
- download.setText(R.string.download_02);
- later.setText(R.string.later_02);
- directory.setText(R.string.directory_02);
- install_now.setText(R.string.install_now_02);
- install_update.setText(R.string.install_update_02);
- go_back.setText(R.string.go_back_02);
- download_update.setText(R.string.download_update_02);
- not_now.setText(R.string.not_now_02);
- show_support.setText(R.string.show_support_02);
- show_support_desc.setText(R.string.show_support_desc_02);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_02);
- settings_title.setText(R.string.settings_title_02);
- about_title.setText(R.string.about_title_02);
- maintenance.setText(R.string.maintenance_02);
- maintenance_desc.setText(R.string.maintenance_desc_02);
- thanks.setText(R.string.thanks_02);
- language.setText(R.string.language_02);
- website.setText(R.string.website_02);
-
+ title_1.setText(R.string.spotify_regular_02);
+ title_2.setText(R.string.spotify_amoled_02);
+ sub_text_2.setText(R.string.installed_02);
+ sub_text_4.setText(R.string.installed_02);
+ sub_text_1.setText(R.string.latest_02);
+ sub_text_3.setText(R.string.latest_02);
+ version_switch_1.setText(R.string.versions_02);
+ version_switch_2.setText(R.string.versions_02);
+ changelogs.setText(R.string.changelogs_02);
+ title_sub.setText(R.string.manager_tools_02);
+ device_cpu.setText(R.string.device_cpu_02);
+ source.setText(R.string.source_02);
+ support.setText(R.string.support_02);
+ donate.setText(R.string.donate_02);
+ about.setText(R.string.about_02);
+ list_auto_refresh.setText(R.string.list_auto_refresh_02);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_02);
+ force_auto_install.setText(R.string.force_auto_install_02);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_02);
+ copy_url_mode.setText(R.string.copy_url_mode_02);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_02);
+ navigation_bar.setText(R.string.hide_navigation_bar_02);
+ theme.setText(R.string.show_themes_02);
+ apk_location.setText(R.string.apk_location_02);
+ apk_location_info.setText(R.string.apk_location_desc_02);
+ clear_directory_folders.setText(R.string.clear_directory_folders_02);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_02);
+ reset_settings.setText(R.string.reset_settings_02);
+ sub_title.setText(R.string.about_sub_02);
+ developer_manager.setText(R.string.xmanager_dev_02);
+ developer_spotify.setText(R.string.spotify_mod_devs_02);
+ support_team.setText(R.string.telegram_support_team_02);
+ mod_testers_1.setText(R.string.manager_testers_02);
+ mod_testers_2.setText(R.string.manager_hosting_02);
+ mobilism_team.setText(R.string.mobilism_team_02);
+ forum_team.setText(R.string.forum_team_02);
+ manager_team.setText(R.string.xspotify_team_02);
+ contributors_1.setText(R.string.contributors_02);
+ download_selected.setText(R.string.download_selected_02);
+ download_ready.setText(R.string.download_ready_02);
+ download_ready_desc.setText(R.string.download_ready_desc_02);
+ downloading_file.setText(R.string.downloading_file_02);
+ download_success.setText(R.string.download_success_02);
+ copy_url_desc.setText(R.string.copy_url_desc_02);
+ file_directory.setText(R.string.file_directory_02);
+ new_update.setText(R.string.new_update_02);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_02);
+ continue_1.setText(R.string.continue_1_02);
+ cancel.setText(R.string.cancel_02);
+ download.setText(R.string.download_02);
+ later.setText(R.string.later_02);
+ directory.setText(R.string.directory_02);
+ install_now.setText(R.string.install_now_02);
+ install_update.setText(R.string.install_update_02);
+ go_back.setText(R.string.go_back_02);
+ download_update.setText(R.string.download_update_02);
+ not_now.setText(R.string.not_now_02);
+ show_support.setText(R.string.show_support_02);
+ show_support_desc.setText(R.string.show_support_desc_02);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_02);
+ settings_title.setText(R.string.settings_title_02);
+ about_title.setText(R.string.about_title_02);
+ maintenance.setText(R.string.maintenance_02);
+ maintenance_desc.setText(R.string.maintenance_desc_02);
+ thanks.setText(R.string.thanks_02);
+ language.setText(R.string.language_02);
+ website.setText(R.string.website_02);
+
discord.setText(R.string.discord_02);
select_language.setSelection((int)(2));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("3")) {
- title_1.setText(R.string.spotify_regular_03);
- title_2.setText(R.string.spotify_amoled_03);
- sub_text_2.setText(R.string.installed_03);
- sub_text_4.setText(R.string.installed_03);
- sub_text_1.setText(R.string.latest_03);
- sub_text_3.setText(R.string.latest_03);
- version_switch_1.setText(R.string.versions_03);
- version_switch_2.setText(R.string.versions_03);
- changelogs.setText(R.string.changelogs_03);
- title_sub.setText(R.string.manager_tools_03);
- device_cpu.setText(R.string.device_cpu_03);
- source.setText(R.string.source_03);
- support.setText(R.string.support_03);
- donate.setText(R.string.donate_03);
- about.setText(R.string.about_03);
- list_auto_refresh.setText(R.string.list_auto_refresh_03);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
- force_auto_install.setText(R.string.force_auto_install_03);
- force_auto_install_info.setText(R.string.force_auto_install_desc_03);
- copy_url_mode.setText(R.string.copy_url_mode_03);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
- navigation_bar.setText(R.string.hide_navigation_bar_03);
- theme.setText(R.string.show_themes_03);
- apk_location.setText(R.string.apk_location_03);
- apk_location_info.setText(R.string.apk_location_desc_03);
- clear_directory_folders.setText(R.string.clear_directory_folders_03);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
- reset_settings.setText(R.string.reset_settings_03);
- sub_title.setText(R.string.about_sub_03);
- developer_manager.setText(R.string.xmanager_dev_03);
- developer_spotify.setText(R.string.spotify_mod_devs_03);
- support_team.setText(R.string.telegram_support_team_03);
- mod_testers_1.setText(R.string.manager_testers_03);
- mod_testers_2.setText(R.string.manager_hosting_03);
- mobilism_team.setText(R.string.mobilism_team_03);
- forum_team.setText(R.string.forum_team_03);
- manager_team.setText(R.string.xspotify_team_03);
- contributors_1.setText(R.string.contributors_03);
- download_selected.setText(R.string.download_selected_03);
- download_ready.setText(R.string.download_ready_03);
- download_ready_desc.setText(R.string.download_ready_desc_03);
- downloading_file.setText(R.string.downloading_file_03);
- download_success.setText(R.string.download_success_03);
- copy_url_desc.setText(R.string.copy_url_desc_03);
- file_directory.setText(R.string.file_directory_03);
- new_update.setText(R.string.new_update_03);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_03);
- continue_1.setText(R.string.continue_1_03);
- cancel.setText(R.string.cancel_03);
- download.setText(R.string.download_03);
- later.setText(R.string.later_03);
- directory.setText(R.string.directory_03);
- install_now.setText(R.string.install_now_03);
- install_update.setText(R.string.install_update_03);
- go_back.setText(R.string.go_back_03);
- download_update.setText(R.string.download_update_03);
- not_now.setText(R.string.not_now_03);
- show_support.setText(R.string.show_support_03);
- show_support_desc.setText(R.string.show_support_desc_03);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_03);
- settings_title.setText(R.string.settings_title_03);
- about_title.setText(R.string.about_title_03);
- maintenance.setText(R.string.maintenance_03);
- maintenance_desc.setText(R.string.maintenance_desc_03);
- thanks.setText(R.string.thanks_03);
- language.setText(R.string.language_03);
- website.setText(R.string.website_03);
-
+ title_1.setText(R.string.spotify_regular_03);
+ title_2.setText(R.string.spotify_amoled_03);
+ sub_text_2.setText(R.string.installed_03);
+ sub_text_4.setText(R.string.installed_03);
+ sub_text_1.setText(R.string.latest_03);
+ sub_text_3.setText(R.string.latest_03);
+ version_switch_1.setText(R.string.versions_03);
+ version_switch_2.setText(R.string.versions_03);
+ changelogs.setText(R.string.changelogs_03);
+ title_sub.setText(R.string.manager_tools_03);
+ device_cpu.setText(R.string.device_cpu_03);
+ source.setText(R.string.source_03);
+ support.setText(R.string.support_03);
+ donate.setText(R.string.donate_03);
+ about.setText(R.string.about_03);
+ list_auto_refresh.setText(R.string.list_auto_refresh_03);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_03);
+ force_auto_install.setText(R.string.force_auto_install_03);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_03);
+ copy_url_mode.setText(R.string.copy_url_mode_03);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_03);
+ navigation_bar.setText(R.string.hide_navigation_bar_03);
+ theme.setText(R.string.show_themes_03);
+ apk_location.setText(R.string.apk_location_03);
+ apk_location_info.setText(R.string.apk_location_desc_03);
+ clear_directory_folders.setText(R.string.clear_directory_folders_03);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_03);
+ reset_settings.setText(R.string.reset_settings_03);
+ sub_title.setText(R.string.about_sub_03);
+ developer_manager.setText(R.string.xmanager_dev_03);
+ developer_spotify.setText(R.string.spotify_mod_devs_03);
+ support_team.setText(R.string.telegram_support_team_03);
+ mod_testers_1.setText(R.string.manager_testers_03);
+ mod_testers_2.setText(R.string.manager_hosting_03);
+ mobilism_team.setText(R.string.mobilism_team_03);
+ forum_team.setText(R.string.forum_team_03);
+ manager_team.setText(R.string.xspotify_team_03);
+ contributors_1.setText(R.string.contributors_03);
+ download_selected.setText(R.string.download_selected_03);
+ download_ready.setText(R.string.download_ready_03);
+ download_ready_desc.setText(R.string.download_ready_desc_03);
+ downloading_file.setText(R.string.downloading_file_03);
+ download_success.setText(R.string.download_success_03);
+ copy_url_desc.setText(R.string.copy_url_desc_03);
+ file_directory.setText(R.string.file_directory_03);
+ new_update.setText(R.string.new_update_03);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_03);
+ continue_1.setText(R.string.continue_1_03);
+ cancel.setText(R.string.cancel_03);
+ download.setText(R.string.download_03);
+ later.setText(R.string.later_03);
+ directory.setText(R.string.directory_03);
+ install_now.setText(R.string.install_now_03);
+ install_update.setText(R.string.install_update_03);
+ go_back.setText(R.string.go_back_03);
+ download_update.setText(R.string.download_update_03);
+ not_now.setText(R.string.not_now_03);
+ show_support.setText(R.string.show_support_03);
+ show_support_desc.setText(R.string.show_support_desc_03);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_03);
+ settings_title.setText(R.string.settings_title_03);
+ about_title.setText(R.string.about_title_03);
+ maintenance.setText(R.string.maintenance_03);
+ maintenance_desc.setText(R.string.maintenance_desc_03);
+ thanks.setText(R.string.thanks_03);
+ language.setText(R.string.language_03);
+ website.setText(R.string.website_03);
+
discord.setText(R.string.discord_03);
select_language.setSelection((int)(3));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("4")) {
- title_1.setText(R.string.spotify_regular_04);
- title_2.setText(R.string.spotify_amoled_04);
- sub_text_2.setText(R.string.installed_04);
- sub_text_4.setText(R.string.installed_04);
- sub_text_1.setText(R.string.latest_04);
- sub_text_3.setText(R.string.latest_04);
- version_switch_1.setText(R.string.versions_04);
- version_switch_2.setText(R.string.versions_04);
- changelogs.setText(R.string.changelogs_04);
- title_sub.setText(R.string.manager_tools_04);
- device_cpu.setText(R.string.device_cpu_04);
- source.setText(R.string.source_04);
- support.setText(R.string.support_04);
- donate.setText(R.string.donate_04);
- about.setText(R.string.about_04);
- list_auto_refresh.setText(R.string.list_auto_refresh_04);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
- force_auto_install.setText(R.string.force_auto_install_04);
- force_auto_install_info.setText(R.string.force_auto_install_desc_04);
- copy_url_mode.setText(R.string.copy_url_mode_04);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
- navigation_bar.setText(R.string.hide_navigation_bar_04);
- theme.setText(R.string.show_themes_04);
- apk_location.setText(R.string.apk_location_04);
- apk_location_info.setText(R.string.apk_location_desc_04);
- clear_directory_folders.setText(R.string.clear_directory_folders_04);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
- reset_settings.setText(R.string.reset_settings_04);
- sub_title.setText(R.string.about_sub_04);
- developer_manager.setText(R.string.xmanager_dev_04);
- developer_spotify.setText(R.string.spotify_mod_devs_04);
- support_team.setText(R.string.telegram_support_team_04);
- mod_testers_1.setText(R.string.manager_testers_04);
- mod_testers_2.setText(R.string.manager_hosting_04);
- mobilism_team.setText(R.string.mobilism_team_04);
- forum_team.setText(R.string.forum_team_04);
- manager_team.setText(R.string.xspotify_team_04);
- contributors_1.setText(R.string.contributors_04);
- download_selected.setText(R.string.download_selected_04);
- download_ready.setText(R.string.download_ready_04);
- download_ready_desc.setText(R.string.download_ready_desc_04);
- downloading_file.setText(R.string.downloading_file_04);
- download_success.setText(R.string.download_success_04);
- copy_url_desc.setText(R.string.copy_url_desc_04);
- file_directory.setText(R.string.file_directory_04);
- new_update.setText(R.string.new_update_04);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_04);
- continue_1.setText(R.string.continue_1_04);
- cancel.setText(R.string.cancel_04);
- download.setText(R.string.download_04);
- later.setText(R.string.later_04);
- directory.setText(R.string.directory_04);
- install_now.setText(R.string.install_now_04);
- install_update.setText(R.string.install_update_04);
- go_back.setText(R.string.go_back_04);
- download_update.setText(R.string.download_update_04);
- not_now.setText(R.string.not_now_04);
- show_support.setText(R.string.show_support_04);
- show_support_desc.setText(R.string.show_support_desc_04);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_04);
- settings_title.setText(R.string.settings_title_04);
- about_title.setText(R.string.about_title_04);
- maintenance.setText(R.string.maintenance_04);
- maintenance_desc.setText(R.string.maintenance_desc_04);
- thanks.setText(R.string.thanks_04);
- language.setText(R.string.language_04);
- website.setText(R.string.website_04);
-
+ title_1.setText(R.string.spotify_regular_04);
+ title_2.setText(R.string.spotify_amoled_04);
+ sub_text_2.setText(R.string.installed_04);
+ sub_text_4.setText(R.string.installed_04);
+ sub_text_1.setText(R.string.latest_04);
+ sub_text_3.setText(R.string.latest_04);
+ version_switch_1.setText(R.string.versions_04);
+ version_switch_2.setText(R.string.versions_04);
+ changelogs.setText(R.string.changelogs_04);
+ title_sub.setText(R.string.manager_tools_04);
+ device_cpu.setText(R.string.device_cpu_04);
+ source.setText(R.string.source_04);
+ support.setText(R.string.support_04);
+ donate.setText(R.string.donate_04);
+ about.setText(R.string.about_04);
+ list_auto_refresh.setText(R.string.list_auto_refresh_04);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_04);
+ force_auto_install.setText(R.string.force_auto_install_04);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_04);
+ copy_url_mode.setText(R.string.copy_url_mode_04);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_04);
+ navigation_bar.setText(R.string.hide_navigation_bar_04);
+ theme.setText(R.string.show_themes_04);
+ apk_location.setText(R.string.apk_location_04);
+ apk_location_info.setText(R.string.apk_location_desc_04);
+ clear_directory_folders.setText(R.string.clear_directory_folders_04);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_04);
+ reset_settings.setText(R.string.reset_settings_04);
+ sub_title.setText(R.string.about_sub_04);
+ developer_manager.setText(R.string.xmanager_dev_04);
+ developer_spotify.setText(R.string.spotify_mod_devs_04);
+ support_team.setText(R.string.telegram_support_team_04);
+ mod_testers_1.setText(R.string.manager_testers_04);
+ mod_testers_2.setText(R.string.manager_hosting_04);
+ mobilism_team.setText(R.string.mobilism_team_04);
+ forum_team.setText(R.string.forum_team_04);
+ manager_team.setText(R.string.xspotify_team_04);
+ contributors_1.setText(R.string.contributors_04);
+ download_selected.setText(R.string.download_selected_04);
+ download_ready.setText(R.string.download_ready_04);
+ download_ready_desc.setText(R.string.download_ready_desc_04);
+ downloading_file.setText(R.string.downloading_file_04);
+ download_success.setText(R.string.download_success_04);
+ copy_url_desc.setText(R.string.copy_url_desc_04);
+ file_directory.setText(R.string.file_directory_04);
+ new_update.setText(R.string.new_update_04);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_04);
+ continue_1.setText(R.string.continue_1_04);
+ cancel.setText(R.string.cancel_04);
+ download.setText(R.string.download_04);
+ later.setText(R.string.later_04);
+ directory.setText(R.string.directory_04);
+ install_now.setText(R.string.install_now_04);
+ install_update.setText(R.string.install_update_04);
+ go_back.setText(R.string.go_back_04);
+ download_update.setText(R.string.download_update_04);
+ not_now.setText(R.string.not_now_04);
+ show_support.setText(R.string.show_support_04);
+ show_support_desc.setText(R.string.show_support_desc_04);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_04);
+ settings_title.setText(R.string.settings_title_04);
+ about_title.setText(R.string.about_title_04);
+ maintenance.setText(R.string.maintenance_04);
+ maintenance_desc.setText(R.string.maintenance_desc_04);
+ thanks.setText(R.string.thanks_04);
+ language.setText(R.string.language_04);
+ website.setText(R.string.website_04);
+
discord.setText(R.string.discord_04);
select_language.setSelection((int)(4));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("5")) {
- title_1.setText(R.string.spotify_regular_05);
- title_2.setText(R.string.spotify_amoled_05);
- sub_text_2.setText(R.string.installed_05);
- sub_text_4.setText(R.string.installed_05);
- sub_text_1.setText(R.string.latest_05);
- sub_text_3.setText(R.string.latest_05);
- version_switch_1.setText(R.string.versions_05);
- version_switch_2.setText(R.string.versions_05);
- changelogs.setText(R.string.changelogs_05);
- title_sub.setText(R.string.manager_tools_05);
- device_cpu.setText(R.string.device_cpu_05);
- source.setText(R.string.source_05);
- support.setText(R.string.support_05);
- donate.setText(R.string.donate_05);
- about.setText(R.string.about_05);
- list_auto_refresh.setText(R.string.list_auto_refresh_05);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
- force_auto_install.setText(R.string.force_auto_install_05);
- force_auto_install_info.setText(R.string.force_auto_install_desc_05);
- copy_url_mode.setText(R.string.copy_url_mode_05);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
- navigation_bar.setText(R.string.hide_navigation_bar_05);
- theme.setText(R.string.show_themes_05);
- apk_location.setText(R.string.apk_location_05);
- apk_location_info.setText(R.string.apk_location_desc_05);
- clear_directory_folders.setText(R.string.clear_directory_folders_05);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
- reset_settings.setText(R.string.reset_settings_05);
- sub_title.setText(R.string.about_sub_05);
- developer_manager.setText(R.string.xmanager_dev_05);
- developer_spotify.setText(R.string.spotify_mod_devs_05);
- support_team.setText(R.string.telegram_support_team_05);
- mod_testers_1.setText(R.string.manager_testers_05);
- mod_testers_2.setText(R.string.manager_hosting_05);
- mobilism_team.setText(R.string.mobilism_team_05);
- forum_team.setText(R.string.forum_team_05);
- manager_team.setText(R.string.xspotify_team_05);
- contributors_1.setText(R.string.contributors_05);
- download_selected.setText(R.string.download_selected_05);
- download_ready.setText(R.string.download_ready_05);
- download_ready_desc.setText(R.string.download_ready_desc_05);
- downloading_file.setText(R.string.downloading_file_05);
- download_success.setText(R.string.download_success_05);
- copy_url_desc.setText(R.string.copy_url_desc_05);
- file_directory.setText(R.string.file_directory_05);
- new_update.setText(R.string.new_update_05);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_05);
- continue_1.setText(R.string.continue_1_05);
- cancel.setText(R.string.cancel_05);
- download.setText(R.string.download_05);
- later.setText(R.string.later_05);
- directory.setText(R.string.directory_05);
- install_now.setText(R.string.install_now_05);
- install_update.setText(R.string.install_update_05);
- go_back.setText(R.string.go_back_05);
- download_update.setText(R.string.download_update_05);
- not_now.setText(R.string.not_now_05);
- show_support.setText(R.string.show_support_05);
- show_support_desc.setText(R.string.show_support_desc_05);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_05);
- settings_title.setText(R.string.settings_title_05);
- about_title.setText(R.string.about_title_05);
- maintenance.setText(R.string.maintenance_05);
- maintenance_desc.setText(R.string.maintenance_desc_05);
- thanks.setText(R.string.thanks_05);
- language.setText(R.string.language_05);
- website.setText(R.string.website_05);
-
+ title_1.setText(R.string.spotify_regular_05);
+ title_2.setText(R.string.spotify_amoled_05);
+ sub_text_2.setText(R.string.installed_05);
+ sub_text_4.setText(R.string.installed_05);
+ sub_text_1.setText(R.string.latest_05);
+ sub_text_3.setText(R.string.latest_05);
+ version_switch_1.setText(R.string.versions_05);
+ version_switch_2.setText(R.string.versions_05);
+ changelogs.setText(R.string.changelogs_05);
+ title_sub.setText(R.string.manager_tools_05);
+ device_cpu.setText(R.string.device_cpu_05);
+ source.setText(R.string.source_05);
+ support.setText(R.string.support_05);
+ donate.setText(R.string.donate_05);
+ about.setText(R.string.about_05);
+ list_auto_refresh.setText(R.string.list_auto_refresh_05);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_05);
+ force_auto_install.setText(R.string.force_auto_install_05);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_05);
+ copy_url_mode.setText(R.string.copy_url_mode_05);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_05);
+ navigation_bar.setText(R.string.hide_navigation_bar_05);
+ theme.setText(R.string.show_themes_05);
+ apk_location.setText(R.string.apk_location_05);
+ apk_location_info.setText(R.string.apk_location_desc_05);
+ clear_directory_folders.setText(R.string.clear_directory_folders_05);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_05);
+ reset_settings.setText(R.string.reset_settings_05);
+ sub_title.setText(R.string.about_sub_05);
+ developer_manager.setText(R.string.xmanager_dev_05);
+ developer_spotify.setText(R.string.spotify_mod_devs_05);
+ support_team.setText(R.string.telegram_support_team_05);
+ mod_testers_1.setText(R.string.manager_testers_05);
+ mod_testers_2.setText(R.string.manager_hosting_05);
+ mobilism_team.setText(R.string.mobilism_team_05);
+ forum_team.setText(R.string.forum_team_05);
+ manager_team.setText(R.string.xspotify_team_05);
+ contributors_1.setText(R.string.contributors_05);
+ download_selected.setText(R.string.download_selected_05);
+ download_ready.setText(R.string.download_ready_05);
+ download_ready_desc.setText(R.string.download_ready_desc_05);
+ downloading_file.setText(R.string.downloading_file_05);
+ download_success.setText(R.string.download_success_05);
+ copy_url_desc.setText(R.string.copy_url_desc_05);
+ file_directory.setText(R.string.file_directory_05);
+ new_update.setText(R.string.new_update_05);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_05);
+ continue_1.setText(R.string.continue_1_05);
+ cancel.setText(R.string.cancel_05);
+ download.setText(R.string.download_05);
+ later.setText(R.string.later_05);
+ directory.setText(R.string.directory_05);
+ install_now.setText(R.string.install_now_05);
+ install_update.setText(R.string.install_update_05);
+ go_back.setText(R.string.go_back_05);
+ download_update.setText(R.string.download_update_05);
+ not_now.setText(R.string.not_now_05);
+ show_support.setText(R.string.show_support_05);
+ show_support_desc.setText(R.string.show_support_desc_05);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_05);
+ settings_title.setText(R.string.settings_title_05);
+ about_title.setText(R.string.about_title_05);
+ maintenance.setText(R.string.maintenance_05);
+ maintenance_desc.setText(R.string.maintenance_desc_05);
+ thanks.setText(R.string.thanks_05);
+ language.setText(R.string.language_05);
+ website.setText(R.string.website_05);
+
discord.setText(R.string.discord_05);
select_language.setSelection((int)(5));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("6")) {
- title_1.setText(R.string.spotify_regular_06);
- title_2.setText(R.string.spotify_amoled_06);
- sub_text_2.setText(R.string.installed_06);
- sub_text_4.setText(R.string.installed_06);
- sub_text_1.setText(R.string.latest_06);
- sub_text_3.setText(R.string.latest_06);
- version_switch_1.setText(R.string.versions_06);
- version_switch_2.setText(R.string.versions_06);
- changelogs.setText(R.string.changelogs_06);
- title_sub.setText(R.string.manager_tools_06);
- device_cpu.setText(R.string.device_cpu_06);
- source.setText(R.string.source_06);
- support.setText(R.string.support_06);
- donate.setText(R.string.donate_06);
- about.setText(R.string.about_06);
- list_auto_refresh.setText(R.string.list_auto_refresh_06);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
- force_auto_install.setText(R.string.force_auto_install_06);
- force_auto_install_info.setText(R.string.force_auto_install_desc_06);
- copy_url_mode.setText(R.string.copy_url_mode_06);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
- navigation_bar.setText(R.string.hide_navigation_bar_06);
- theme.setText(R.string.show_themes_06);
- apk_location.setText(R.string.apk_location_06);
- apk_location_info.setText(R.string.apk_location_desc_06);
- clear_directory_folders.setText(R.string.clear_directory_folders_06);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
- reset_settings.setText(R.string.reset_settings_06);
- sub_title.setText(R.string.about_sub_06);
- developer_manager.setText(R.string.xmanager_dev_06);
- developer_spotify.setText(R.string.spotify_mod_devs_06);
- support_team.setText(R.string.telegram_support_team_06);
- mod_testers_1.setText(R.string.manager_testers_06);
- mod_testers_2.setText(R.string.manager_hosting_06);
- mobilism_team.setText(R.string.mobilism_team_06);
- forum_team.setText(R.string.forum_team_06);
- manager_team.setText(R.string.xspotify_team_06);
- contributors_1.setText(R.string.contributors_06);
- download_selected.setText(R.string.download_selected_06);
- download_ready.setText(R.string.download_ready_06);
- download_ready_desc.setText(R.string.download_ready_desc_06);
- downloading_file.setText(R.string.downloading_file_06);
- download_success.setText(R.string.download_success_06);
- copy_url_desc.setText(R.string.copy_url_desc_06);
- file_directory.setText(R.string.file_directory_06);
- new_update.setText(R.string.new_update_06);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_06);
- continue_1.setText(R.string.continue_1_06);
- cancel.setText(R.string.cancel_06);
- download.setText(R.string.download_06);
- later.setText(R.string.later_06);
- directory.setText(R.string.directory_06);
- install_now.setText(R.string.install_now_06);
- install_update.setText(R.string.install_update_06);
- go_back.setText(R.string.go_back_06);
- download_update.setText(R.string.download_update_06);
- not_now.setText(R.string.not_now_06);
- show_support.setText(R.string.show_support_06);
- show_support_desc.setText(R.string.show_support_desc_06);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_06);
- settings_title.setText(R.string.settings_title_06);
- about_title.setText(R.string.about_title_06);
- maintenance.setText(R.string.maintenance_06);
- maintenance_desc.setText(R.string.maintenance_desc_06);
- thanks.setText(R.string.thanks_06);
- language.setText(R.string.language_06);
- website.setText(R.string.website_06);
-
+ title_1.setText(R.string.spotify_regular_06);
+ title_2.setText(R.string.spotify_amoled_06);
+ sub_text_2.setText(R.string.installed_06);
+ sub_text_4.setText(R.string.installed_06);
+ sub_text_1.setText(R.string.latest_06);
+ sub_text_3.setText(R.string.latest_06);
+ version_switch_1.setText(R.string.versions_06);
+ version_switch_2.setText(R.string.versions_06);
+ changelogs.setText(R.string.changelogs_06);
+ title_sub.setText(R.string.manager_tools_06);
+ device_cpu.setText(R.string.device_cpu_06);
+ source.setText(R.string.source_06);
+ support.setText(R.string.support_06);
+ donate.setText(R.string.donate_06);
+ about.setText(R.string.about_06);
+ list_auto_refresh.setText(R.string.list_auto_refresh_06);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_06);
+ force_auto_install.setText(R.string.force_auto_install_06);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_06);
+ copy_url_mode.setText(R.string.copy_url_mode_06);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_06);
+ navigation_bar.setText(R.string.hide_navigation_bar_06);
+ theme.setText(R.string.show_themes_06);
+ apk_location.setText(R.string.apk_location_06);
+ apk_location_info.setText(R.string.apk_location_desc_06);
+ clear_directory_folders.setText(R.string.clear_directory_folders_06);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_06);
+ reset_settings.setText(R.string.reset_settings_06);
+ sub_title.setText(R.string.about_sub_06);
+ developer_manager.setText(R.string.xmanager_dev_06);
+ developer_spotify.setText(R.string.spotify_mod_devs_06);
+ support_team.setText(R.string.telegram_support_team_06);
+ mod_testers_1.setText(R.string.manager_testers_06);
+ mod_testers_2.setText(R.string.manager_hosting_06);
+ mobilism_team.setText(R.string.mobilism_team_06);
+ forum_team.setText(R.string.forum_team_06);
+ manager_team.setText(R.string.xspotify_team_06);
+ contributors_1.setText(R.string.contributors_06);
+ download_selected.setText(R.string.download_selected_06);
+ download_ready.setText(R.string.download_ready_06);
+ download_ready_desc.setText(R.string.download_ready_desc_06);
+ downloading_file.setText(R.string.downloading_file_06);
+ download_success.setText(R.string.download_success_06);
+ copy_url_desc.setText(R.string.copy_url_desc_06);
+ file_directory.setText(R.string.file_directory_06);
+ new_update.setText(R.string.new_update_06);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_06);
+ continue_1.setText(R.string.continue_1_06);
+ cancel.setText(R.string.cancel_06);
+ download.setText(R.string.download_06);
+ later.setText(R.string.later_06);
+ directory.setText(R.string.directory_06);
+ install_now.setText(R.string.install_now_06);
+ install_update.setText(R.string.install_update_06);
+ go_back.setText(R.string.go_back_06);
+ download_update.setText(R.string.download_update_06);
+ not_now.setText(R.string.not_now_06);
+ show_support.setText(R.string.show_support_06);
+ show_support_desc.setText(R.string.show_support_desc_06);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_06);
+ settings_title.setText(R.string.settings_title_06);
+ about_title.setText(R.string.about_title_06);
+ maintenance.setText(R.string.maintenance_06);
+ maintenance_desc.setText(R.string.maintenance_desc_06);
+ thanks.setText(R.string.thanks_06);
+ language.setText(R.string.language_06);
+ website.setText(R.string.website_06);
+
discord.setText(R.string.discord_06);
select_language.setSelection((int)(6));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("7")) {
- title_1.setText(R.string.spotify_regular_07);
- title_2.setText(R.string.spotify_amoled_07);
- sub_text_2.setText(R.string.installed_07);
- sub_text_4.setText(R.string.installed_07);
- sub_text_1.setText(R.string.latest_07);
- sub_text_3.setText(R.string.latest_07);
- version_switch_1.setText(R.string.versions_07);
- version_switch_2.setText(R.string.versions_07);
- changelogs.setText(R.string.changelogs_07);
- title_sub.setText(R.string.manager_tools_07);
- device_cpu.setText(R.string.device_cpu_07);
- source.setText(R.string.source_07);
- support.setText(R.string.support_07);
- donate.setText(R.string.donate_07);
- about.setText(R.string.about_07);
- list_auto_refresh.setText(R.string.list_auto_refresh_07);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
- force_auto_install.setText(R.string.force_auto_install_07);
- force_auto_install_info.setText(R.string.force_auto_install_desc_07);
- copy_url_mode.setText(R.string.copy_url_mode_07);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
- navigation_bar.setText(R.string.hide_navigation_bar_07);
- theme.setText(R.string.show_themes_07);
- apk_location.setText(R.string.apk_location_07);
- apk_location_info.setText(R.string.apk_location_desc_07);
- clear_directory_folders.setText(R.string.clear_directory_folders_07);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
- reset_settings.setText(R.string.reset_settings_07);
- sub_title.setText(R.string.about_sub_07);
- developer_manager.setText(R.string.xmanager_dev_07);
- developer_spotify.setText(R.string.spotify_mod_devs_07);
- support_team.setText(R.string.telegram_support_team_07);
- mod_testers_1.setText(R.string.manager_testers_07);
- mod_testers_2.setText(R.string.manager_hosting_07);
- mobilism_team.setText(R.string.mobilism_team_07);
- forum_team.setText(R.string.forum_team_07);
- manager_team.setText(R.string.xspotify_team_07);
- contributors_1.setText(R.string.contributors_07);
- download_selected.setText(R.string.download_selected_07);
- download_ready.setText(R.string.download_ready_07);
- download_ready_desc.setText(R.string.download_ready_desc_07);
- downloading_file.setText(R.string.downloading_file_07);
- download_success.setText(R.string.download_success_07);
- copy_url_desc.setText(R.string.copy_url_desc_07);
- file_directory.setText(R.string.file_directory_07);
- new_update.setText(R.string.new_update_07);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_07);
- continue_1.setText(R.string.continue_1_07);
- cancel.setText(R.string.cancel_07);
- download.setText(R.string.download_07);
- later.setText(R.string.later_07);
- directory.setText(R.string.directory_07);
- install_now.setText(R.string.install_now_07);
- install_update.setText(R.string.install_update_07);
- go_back.setText(R.string.go_back_07);
- download_update.setText(R.string.download_update_07);
- not_now.setText(R.string.not_now_07);
- show_support.setText(R.string.show_support_07);
- show_support_desc.setText(R.string.show_support_desc_07);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_07);
- settings_title.setText(R.string.settings_title_07);
- about_title.setText(R.string.about_title_07);
- maintenance.setText(R.string.maintenance_07);
- maintenance_desc.setText(R.string.maintenance_desc_07);
- thanks.setText(R.string.thanks_07);
- language.setText(R.string.language_07);
- website.setText(R.string.website_07);
-
+ title_1.setText(R.string.spotify_regular_07);
+ title_2.setText(R.string.spotify_amoled_07);
+ sub_text_2.setText(R.string.installed_07);
+ sub_text_4.setText(R.string.installed_07);
+ sub_text_1.setText(R.string.latest_07);
+ sub_text_3.setText(R.string.latest_07);
+ version_switch_1.setText(R.string.versions_07);
+ version_switch_2.setText(R.string.versions_07);
+ changelogs.setText(R.string.changelogs_07);
+ title_sub.setText(R.string.manager_tools_07);
+ device_cpu.setText(R.string.device_cpu_07);
+ source.setText(R.string.source_07);
+ support.setText(R.string.support_07);
+ donate.setText(R.string.donate_07);
+ about.setText(R.string.about_07);
+ list_auto_refresh.setText(R.string.list_auto_refresh_07);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_07);
+ force_auto_install.setText(R.string.force_auto_install_07);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_07);
+ copy_url_mode.setText(R.string.copy_url_mode_07);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_07);
+ navigation_bar.setText(R.string.hide_navigation_bar_07);
+ theme.setText(R.string.show_themes_07);
+ apk_location.setText(R.string.apk_location_07);
+ apk_location_info.setText(R.string.apk_location_desc_07);
+ clear_directory_folders.setText(R.string.clear_directory_folders_07);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_07);
+ reset_settings.setText(R.string.reset_settings_07);
+ sub_title.setText(R.string.about_sub_07);
+ developer_manager.setText(R.string.xmanager_dev_07);
+ developer_spotify.setText(R.string.spotify_mod_devs_07);
+ support_team.setText(R.string.telegram_support_team_07);
+ mod_testers_1.setText(R.string.manager_testers_07);
+ mod_testers_2.setText(R.string.manager_hosting_07);
+ mobilism_team.setText(R.string.mobilism_team_07);
+ forum_team.setText(R.string.forum_team_07);
+ manager_team.setText(R.string.xspotify_team_07);
+ contributors_1.setText(R.string.contributors_07);
+ download_selected.setText(R.string.download_selected_07);
+ download_ready.setText(R.string.download_ready_07);
+ download_ready_desc.setText(R.string.download_ready_desc_07);
+ downloading_file.setText(R.string.downloading_file_07);
+ download_success.setText(R.string.download_success_07);
+ copy_url_desc.setText(R.string.copy_url_desc_07);
+ file_directory.setText(R.string.file_directory_07);
+ new_update.setText(R.string.new_update_07);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_07);
+ continue_1.setText(R.string.continue_1_07);
+ cancel.setText(R.string.cancel_07);
+ download.setText(R.string.download_07);
+ later.setText(R.string.later_07);
+ directory.setText(R.string.directory_07);
+ install_now.setText(R.string.install_now_07);
+ install_update.setText(R.string.install_update_07);
+ go_back.setText(R.string.go_back_07);
+ download_update.setText(R.string.download_update_07);
+ not_now.setText(R.string.not_now_07);
+ show_support.setText(R.string.show_support_07);
+ show_support_desc.setText(R.string.show_support_desc_07);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_07);
+ settings_title.setText(R.string.settings_title_07);
+ about_title.setText(R.string.about_title_07);
+ maintenance.setText(R.string.maintenance_07);
+ maintenance_desc.setText(R.string.maintenance_desc_07);
+ thanks.setText(R.string.thanks_07);
+ language.setText(R.string.language_07);
+ website.setText(R.string.website_07);
+
discord.setText(R.string.discord_07);
select_language.setSelection((int)(7));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("8")) {
- title_1.setText(R.string.spotify_regular_08);
- title_2.setText(R.string.spotify_amoled_08);
- sub_text_2.setText(R.string.installed_08);
- sub_text_4.setText(R.string.installed_08);
- sub_text_1.setText(R.string.latest_08);
- sub_text_3.setText(R.string.latest_08);
- version_switch_1.setText(R.string.versions_08);
- version_switch_2.setText(R.string.versions_08);
- changelogs.setText(R.string.changelogs_08);
- title_sub.setText(R.string.manager_tools_08);
- device_cpu.setText(R.string.device_cpu_08);
- source.setText(R.string.source_08);
- support.setText(R.string.support_08);
- donate.setText(R.string.donate_08);
- about.setText(R.string.about_08);
- list_auto_refresh.setText(R.string.list_auto_refresh_08);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
- force_auto_install.setText(R.string.force_auto_install_08);
- force_auto_install_info.setText(R.string.force_auto_install_desc_08);
- copy_url_mode.setText(R.string.copy_url_mode_08);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
- navigation_bar.setText(R.string.hide_navigation_bar_08);
- theme.setText(R.string.show_themes_08);
- apk_location.setText(R.string.apk_location_08);
- apk_location_info.setText(R.string.apk_location_desc_08);
- clear_directory_folders.setText(R.string.clear_directory_folders_08);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
- reset_settings.setText(R.string.reset_settings_08);
- sub_title.setText(R.string.about_sub_08);
- developer_manager.setText(R.string.xmanager_dev_08);
- developer_spotify.setText(R.string.spotify_mod_devs_08);
- support_team.setText(R.string.telegram_support_team_08);
- mod_testers_1.setText(R.string.manager_testers_08);
- mod_testers_2.setText(R.string.manager_hosting_08);
- mobilism_team.setText(R.string.mobilism_team_08);
- forum_team.setText(R.string.forum_team_08);
- manager_team.setText(R.string.xspotify_team_08);
- contributors_1.setText(R.string.contributors_08);
- download_selected.setText(R.string.download_selected_08);
- download_ready.setText(R.string.download_ready_08);
- download_ready_desc.setText(R.string.download_ready_desc_08);
- downloading_file.setText(R.string.downloading_file_08);
- download_success.setText(R.string.download_success_08);
- copy_url_desc.setText(R.string.copy_url_desc_08);
- file_directory.setText(R.string.file_directory_08);
- new_update.setText(R.string.new_update_08);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_08);
- continue_1.setText(R.string.continue_1_08);
- cancel.setText(R.string.cancel_08);
- download.setText(R.string.download_08);
- later.setText(R.string.later_08);
- directory.setText(R.string.directory_08);
- install_now.setText(R.string.install_now_08);
- install_update.setText(R.string.install_update_08);
- go_back.setText(R.string.go_back_08);
- download_update.setText(R.string.download_update_08);
- not_now.setText(R.string.not_now_08);
- show_support.setText(R.string.show_support_08);
- show_support_desc.setText(R.string.show_support_desc_08);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_08);
- settings_title.setText(R.string.settings_title_08);
- about_title.setText(R.string.about_title_08);
- maintenance.setText(R.string.maintenance_08);
- maintenance_desc.setText(R.string.maintenance_desc_08);
- thanks.setText(R.string.thanks_08);
- language.setText(R.string.language_08);
- website.setText(R.string.website_08);
-
+ title_1.setText(R.string.spotify_regular_08);
+ title_2.setText(R.string.spotify_amoled_08);
+ sub_text_2.setText(R.string.installed_08);
+ sub_text_4.setText(R.string.installed_08);
+ sub_text_1.setText(R.string.latest_08);
+ sub_text_3.setText(R.string.latest_08);
+ version_switch_1.setText(R.string.versions_08);
+ version_switch_2.setText(R.string.versions_08);
+ changelogs.setText(R.string.changelogs_08);
+ title_sub.setText(R.string.manager_tools_08);
+ device_cpu.setText(R.string.device_cpu_08);
+ source.setText(R.string.source_08);
+ support.setText(R.string.support_08);
+ donate.setText(R.string.donate_08);
+ about.setText(R.string.about_08);
+ list_auto_refresh.setText(R.string.list_auto_refresh_08);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_08);
+ force_auto_install.setText(R.string.force_auto_install_08);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_08);
+ copy_url_mode.setText(R.string.copy_url_mode_08);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_08);
+ navigation_bar.setText(R.string.hide_navigation_bar_08);
+ theme.setText(R.string.show_themes_08);
+ apk_location.setText(R.string.apk_location_08);
+ apk_location_info.setText(R.string.apk_location_desc_08);
+ clear_directory_folders.setText(R.string.clear_directory_folders_08);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_08);
+ reset_settings.setText(R.string.reset_settings_08);
+ sub_title.setText(R.string.about_sub_08);
+ developer_manager.setText(R.string.xmanager_dev_08);
+ developer_spotify.setText(R.string.spotify_mod_devs_08);
+ support_team.setText(R.string.telegram_support_team_08);
+ mod_testers_1.setText(R.string.manager_testers_08);
+ mod_testers_2.setText(R.string.manager_hosting_08);
+ mobilism_team.setText(R.string.mobilism_team_08);
+ forum_team.setText(R.string.forum_team_08);
+ manager_team.setText(R.string.xspotify_team_08);
+ contributors_1.setText(R.string.contributors_08);
+ download_selected.setText(R.string.download_selected_08);
+ download_ready.setText(R.string.download_ready_08);
+ download_ready_desc.setText(R.string.download_ready_desc_08);
+ downloading_file.setText(R.string.downloading_file_08);
+ download_success.setText(R.string.download_success_08);
+ copy_url_desc.setText(R.string.copy_url_desc_08);
+ file_directory.setText(R.string.file_directory_08);
+ new_update.setText(R.string.new_update_08);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_08);
+ continue_1.setText(R.string.continue_1_08);
+ cancel.setText(R.string.cancel_08);
+ download.setText(R.string.download_08);
+ later.setText(R.string.later_08);
+ directory.setText(R.string.directory_08);
+ install_now.setText(R.string.install_now_08);
+ install_update.setText(R.string.install_update_08);
+ go_back.setText(R.string.go_back_08);
+ download_update.setText(R.string.download_update_08);
+ not_now.setText(R.string.not_now_08);
+ show_support.setText(R.string.show_support_08);
+ show_support_desc.setText(R.string.show_support_desc_08);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_08);
+ settings_title.setText(R.string.settings_title_08);
+ about_title.setText(R.string.about_title_08);
+ maintenance.setText(R.string.maintenance_08);
+ maintenance_desc.setText(R.string.maintenance_desc_08);
+ thanks.setText(R.string.thanks_08);
+ language.setText(R.string.language_08);
+ website.setText(R.string.website_08);
+
discord.setText(R.string.discord_08);
select_language.setSelection((int)(8));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("9")) {
- title_1.setText(R.string.spotify_regular_09);
- title_2.setText(R.string.spotify_amoled_09);
- sub_text_2.setText(R.string.installed_09);
- sub_text_4.setText(R.string.installed_09);
- sub_text_1.setText(R.string.latest_09);
- sub_text_3.setText(R.string.latest_09);
- version_switch_1.setText(R.string.versions_09);
- version_switch_2.setText(R.string.versions_09);
- changelogs.setText(R.string.changelogs_09);
- title_sub.setText(R.string.manager_tools_09);
- device_cpu.setText(R.string.device_cpu_09);
- source.setText(R.string.source_09);
- support.setText(R.string.support_09);
- donate.setText(R.string.donate_09);
- about.setText(R.string.about_09);
- list_auto_refresh.setText(R.string.list_auto_refresh_09);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
- force_auto_install.setText(R.string.force_auto_install_09);
- force_auto_install_info.setText(R.string.force_auto_install_desc_09);
- copy_url_mode.setText(R.string.copy_url_mode_09);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
- navigation_bar.setText(R.string.hide_navigation_bar_09);
- theme.setText(R.string.show_themes_09);
- apk_location.setText(R.string.apk_location_09);
- apk_location_info.setText(R.string.apk_location_desc_09);
- clear_directory_folders.setText(R.string.clear_directory_folders_09);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
- reset_settings.setText(R.string.reset_settings_09);
- sub_title.setText(R.string.about_sub_09);
- developer_manager.setText(R.string.xmanager_dev_09);
- developer_spotify.setText(R.string.spotify_mod_devs_09);
- support_team.setText(R.string.telegram_support_team_09);
- mod_testers_1.setText(R.string.manager_testers_09);
- mod_testers_2.setText(R.string.manager_hosting_09);
- mobilism_team.setText(R.string.mobilism_team_09);
- forum_team.setText(R.string.forum_team_09);
- manager_team.setText(R.string.xspotify_team_09);
- contributors_1.setText(R.string.contributors_09);
- download_selected.setText(R.string.download_selected_09);
- download_ready.setText(R.string.download_ready_09);
- download_ready_desc.setText(R.string.download_ready_desc_09);
- downloading_file.setText(R.string.downloading_file_09);
- download_success.setText(R.string.download_success_09);
- copy_url_desc.setText(R.string.copy_url_desc_09);
- file_directory.setText(R.string.file_directory_09);
- new_update.setText(R.string.new_update_09);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_09);
- continue_1.setText(R.string.continue_1_09);
- cancel.setText(R.string.cancel_09);
- download.setText(R.string.download_09);
- later.setText(R.string.later_09);
- directory.setText(R.string.directory_09);
- install_now.setText(R.string.install_now_09);
- install_update.setText(R.string.install_update_09);
- go_back.setText(R.string.go_back_09);
- download_update.setText(R.string.download_update_09);
- not_now.setText(R.string.not_now_09);
- show_support.setText(R.string.show_support_09);
- show_support_desc.setText(R.string.show_support_desc_09);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_09);
- settings_title.setText(R.string.settings_title_09);
- about_title.setText(R.string.about_title_09);
- maintenance.setText(R.string.maintenance_09);
- maintenance_desc.setText(R.string.maintenance_desc_09);
- thanks.setText(R.string.thanks_09);
- language.setText(R.string.language_09);
- website.setText(R.string.website_09);
-
+ title_1.setText(R.string.spotify_regular_09);
+ title_2.setText(R.string.spotify_amoled_09);
+ sub_text_2.setText(R.string.installed_09);
+ sub_text_4.setText(R.string.installed_09);
+ sub_text_1.setText(R.string.latest_09);
+ sub_text_3.setText(R.string.latest_09);
+ version_switch_1.setText(R.string.versions_09);
+ version_switch_2.setText(R.string.versions_09);
+ changelogs.setText(R.string.changelogs_09);
+ title_sub.setText(R.string.manager_tools_09);
+ device_cpu.setText(R.string.device_cpu_09);
+ source.setText(R.string.source_09);
+ support.setText(R.string.support_09);
+ donate.setText(R.string.donate_09);
+ about.setText(R.string.about_09);
+ list_auto_refresh.setText(R.string.list_auto_refresh_09);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_09);
+ force_auto_install.setText(R.string.force_auto_install_09);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_09);
+ copy_url_mode.setText(R.string.copy_url_mode_09);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_09);
+ navigation_bar.setText(R.string.hide_navigation_bar_09);
+ theme.setText(R.string.show_themes_09);
+ apk_location.setText(R.string.apk_location_09);
+ apk_location_info.setText(R.string.apk_location_desc_09);
+ clear_directory_folders.setText(R.string.clear_directory_folders_09);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_09);
+ reset_settings.setText(R.string.reset_settings_09);
+ sub_title.setText(R.string.about_sub_09);
+ developer_manager.setText(R.string.xmanager_dev_09);
+ developer_spotify.setText(R.string.spotify_mod_devs_09);
+ support_team.setText(R.string.telegram_support_team_09);
+ mod_testers_1.setText(R.string.manager_testers_09);
+ mod_testers_2.setText(R.string.manager_hosting_09);
+ mobilism_team.setText(R.string.mobilism_team_09);
+ forum_team.setText(R.string.forum_team_09);
+ manager_team.setText(R.string.xspotify_team_09);
+ contributors_1.setText(R.string.contributors_09);
+ download_selected.setText(R.string.download_selected_09);
+ download_ready.setText(R.string.download_ready_09);
+ download_ready_desc.setText(R.string.download_ready_desc_09);
+ downloading_file.setText(R.string.downloading_file_09);
+ download_success.setText(R.string.download_success_09);
+ copy_url_desc.setText(R.string.copy_url_desc_09);
+ file_directory.setText(R.string.file_directory_09);
+ new_update.setText(R.string.new_update_09);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_09);
+ continue_1.setText(R.string.continue_1_09);
+ cancel.setText(R.string.cancel_09);
+ download.setText(R.string.download_09);
+ later.setText(R.string.later_09);
+ directory.setText(R.string.directory_09);
+ install_now.setText(R.string.install_now_09);
+ install_update.setText(R.string.install_update_09);
+ go_back.setText(R.string.go_back_09);
+ download_update.setText(R.string.download_update_09);
+ not_now.setText(R.string.not_now_09);
+ show_support.setText(R.string.show_support_09);
+ show_support_desc.setText(R.string.show_support_desc_09);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_09);
+ settings_title.setText(R.string.settings_title_09);
+ about_title.setText(R.string.about_title_09);
+ maintenance.setText(R.string.maintenance_09);
+ maintenance_desc.setText(R.string.maintenance_desc_09);
+ thanks.setText(R.string.thanks_09);
+ language.setText(R.string.language_09);
+ website.setText(R.string.website_09);
+
discord.setText(R.string.discord_09);
select_language.setSelection((int)(9));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("10")) {
- title_1.setText(R.string.spotify_regular_10);
- title_2.setText(R.string.spotify_amoled_10);
- sub_text_2.setText(R.string.installed_10);
- sub_text_4.setText(R.string.installed_10);
- sub_text_1.setText(R.string.latest_10);
- sub_text_3.setText(R.string.latest_10);
- version_switch_1.setText(R.string.versions_10);
- version_switch_2.setText(R.string.versions_10);
- changelogs.setText(R.string.changelogs_10);
- title_sub.setText(R.string.manager_tools_10);
- device_cpu.setText(R.string.device_cpu_10);
- source.setText(R.string.source_10);
- support.setText(R.string.support_10);
- donate.setText(R.string.donate_10);
- about.setText(R.string.about_10);
- list_auto_refresh.setText(R.string.list_auto_refresh_10);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
- force_auto_install.setText(R.string.force_auto_install_10);
- force_auto_install_info.setText(R.string.force_auto_install_desc_10);
- copy_url_mode.setText(R.string.copy_url_mode_10);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
- navigation_bar.setText(R.string.hide_navigation_bar_10);
- theme.setText(R.string.show_themes_10);
- apk_location.setText(R.string.apk_location_10);
- apk_location_info.setText(R.string.apk_location_desc_10);
- clear_directory_folders.setText(R.string.clear_directory_folders_10);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
- reset_settings.setText(R.string.reset_settings_10);
- sub_title.setText(R.string.about_sub_10);
- developer_manager.setText(R.string.xmanager_dev_10);
- developer_spotify.setText(R.string.spotify_mod_devs_10);
- support_team.setText(R.string.telegram_support_team_10);
- mod_testers_1.setText(R.string.manager_testers_10);
- mod_testers_2.setText(R.string.manager_hosting_10);
- mobilism_team.setText(R.string.mobilism_team_10);
- forum_team.setText(R.string.forum_team_10);
- manager_team.setText(R.string.xspotify_team_10);
- contributors_1.setText(R.string.contributors_10);
- download_selected.setText(R.string.download_selected_10);
- download_ready.setText(R.string.download_ready_10);
- download_ready_desc.setText(R.string.download_ready_desc_10);
- downloading_file.setText(R.string.downloading_file_10);
- download_success.setText(R.string.download_success_10);
- copy_url_desc.setText(R.string.copy_url_desc_10);
- file_directory.setText(R.string.file_directory_10);
- new_update.setText(R.string.new_update_10);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_10);
- continue_1.setText(R.string.continue_1_10);
- cancel.setText(R.string.cancel_10);
- download.setText(R.string.download_10);
- later.setText(R.string.later_10);
- directory.setText(R.string.directory_10);
- install_now.setText(R.string.install_now_10);
- install_update.setText(R.string.install_update_10);
- go_back.setText(R.string.go_back_10);
- download_update.setText(R.string.download_update_10);
- not_now.setText(R.string.not_now_10);
- show_support.setText(R.string.show_support_10);
- show_support_desc.setText(R.string.show_support_desc_10);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_10);
- settings_title.setText(R.string.settings_title_10);
- about_title.setText(R.string.about_title_10);
- maintenance.setText(R.string.maintenance_10);
- maintenance_desc.setText(R.string.maintenance_desc_10);
- thanks.setText(R.string.thanks_10);
- language.setText(R.string.language_10);
- website.setText(R.string.website_10);
-
+ title_1.setText(R.string.spotify_regular_10);
+ title_2.setText(R.string.spotify_amoled_10);
+ sub_text_2.setText(R.string.installed_10);
+ sub_text_4.setText(R.string.installed_10);
+ sub_text_1.setText(R.string.latest_10);
+ sub_text_3.setText(R.string.latest_10);
+ version_switch_1.setText(R.string.versions_10);
+ version_switch_2.setText(R.string.versions_10);
+ changelogs.setText(R.string.changelogs_10);
+ title_sub.setText(R.string.manager_tools_10);
+ device_cpu.setText(R.string.device_cpu_10);
+ source.setText(R.string.source_10);
+ support.setText(R.string.support_10);
+ donate.setText(R.string.donate_10);
+ about.setText(R.string.about_10);
+ list_auto_refresh.setText(R.string.list_auto_refresh_10);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_10);
+ force_auto_install.setText(R.string.force_auto_install_10);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_10);
+ copy_url_mode.setText(R.string.copy_url_mode_10);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_10);
+ navigation_bar.setText(R.string.hide_navigation_bar_10);
+ theme.setText(R.string.show_themes_10);
+ apk_location.setText(R.string.apk_location_10);
+ apk_location_info.setText(R.string.apk_location_desc_10);
+ clear_directory_folders.setText(R.string.clear_directory_folders_10);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_10);
+ reset_settings.setText(R.string.reset_settings_10);
+ sub_title.setText(R.string.about_sub_10);
+ developer_manager.setText(R.string.xmanager_dev_10);
+ developer_spotify.setText(R.string.spotify_mod_devs_10);
+ support_team.setText(R.string.telegram_support_team_10);
+ mod_testers_1.setText(R.string.manager_testers_10);
+ mod_testers_2.setText(R.string.manager_hosting_10);
+ mobilism_team.setText(R.string.mobilism_team_10);
+ forum_team.setText(R.string.forum_team_10);
+ manager_team.setText(R.string.xspotify_team_10);
+ contributors_1.setText(R.string.contributors_10);
+ download_selected.setText(R.string.download_selected_10);
+ download_ready.setText(R.string.download_ready_10);
+ download_ready_desc.setText(R.string.download_ready_desc_10);
+ downloading_file.setText(R.string.downloading_file_10);
+ download_success.setText(R.string.download_success_10);
+ copy_url_desc.setText(R.string.copy_url_desc_10);
+ file_directory.setText(R.string.file_directory_10);
+ new_update.setText(R.string.new_update_10);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_10);
+ continue_1.setText(R.string.continue_1_10);
+ cancel.setText(R.string.cancel_10);
+ download.setText(R.string.download_10);
+ later.setText(R.string.later_10);
+ directory.setText(R.string.directory_10);
+ install_now.setText(R.string.install_now_10);
+ install_update.setText(R.string.install_update_10);
+ go_back.setText(R.string.go_back_10);
+ download_update.setText(R.string.download_update_10);
+ not_now.setText(R.string.not_now_10);
+ show_support.setText(R.string.show_support_10);
+ show_support_desc.setText(R.string.show_support_desc_10);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_10);
+ settings_title.setText(R.string.settings_title_10);
+ about_title.setText(R.string.about_title_10);
+ maintenance.setText(R.string.maintenance_10);
+ maintenance_desc.setText(R.string.maintenance_desc_10);
+ thanks.setText(R.string.thanks_10);
+ language.setText(R.string.language_10);
+ website.setText(R.string.website_10);
+
discord.setText(R.string.discord_10);
select_language.setSelection((int)(10));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("11")) {
- title_1.setText(R.string.spotify_regular_11);
- title_2.setText(R.string.spotify_amoled_11);
- sub_text_2.setText(R.string.installed_11);
- sub_text_4.setText(R.string.installed_11);
- sub_text_1.setText(R.string.latest_11);
- sub_text_3.setText(R.string.latest_11);
- version_switch_1.setText(R.string.versions_11);
- version_switch_2.setText(R.string.versions_11);
- changelogs.setText(R.string.changelogs_11);
- title_sub.setText(R.string.manager_tools_11);
- device_cpu.setText(R.string.device_cpu_11);
- source.setText(R.string.source_11);
- support.setText(R.string.support_11);
- donate.setText(R.string.donate_11);
- about.setText(R.string.about_11);
- list_auto_refresh.setText(R.string.list_auto_refresh_11);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
- force_auto_install.setText(R.string.force_auto_install_11);
- force_auto_install_info.setText(R.string.force_auto_install_desc_11);
- copy_url_mode.setText(R.string.copy_url_mode_11);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
- navigation_bar.setText(R.string.hide_navigation_bar_11);
- theme.setText(R.string.show_themes_11);
- apk_location.setText(R.string.apk_location_11);
- apk_location_info.setText(R.string.apk_location_desc_11);
- clear_directory_folders.setText(R.string.clear_directory_folders_11);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
- reset_settings.setText(R.string.reset_settings_11);
- sub_title.setText(R.string.about_sub_11);
- developer_manager.setText(R.string.xmanager_dev_11);
- developer_spotify.setText(R.string.spotify_mod_devs_11);
- support_team.setText(R.string.telegram_support_team_11);
- mod_testers_1.setText(R.string.manager_testers_11);
- mod_testers_2.setText(R.string.manager_hosting_11);
- mobilism_team.setText(R.string.mobilism_team_11);
- forum_team.setText(R.string.forum_team_11);
- manager_team.setText(R.string.xspotify_team_11);
- contributors_1.setText(R.string.contributors_11);
- download_selected.setText(R.string.download_selected_11);
- download_ready.setText(R.string.download_ready_11);
- download_ready_desc.setText(R.string.download_ready_desc_11);
- downloading_file.setText(R.string.downloading_file_11);
- download_success.setText(R.string.download_success_11);
- copy_url_desc.setText(R.string.copy_url_desc_11);
- file_directory.setText(R.string.file_directory_11);
- new_update.setText(R.string.new_update_11);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_11);
- continue_1.setText(R.string.continue_1_11);
- cancel.setText(R.string.cancel_11);
- download.setText(R.string.download_11);
- later.setText(R.string.later_11);
- directory.setText(R.string.directory_11);
- install_now.setText(R.string.install_now_11);
- install_update.setText(R.string.install_update_11);
- go_back.setText(R.string.go_back_11);
- download_update.setText(R.string.download_update_11);
- not_now.setText(R.string.not_now_11);
- show_support.setText(R.string.show_support_11);
- show_support_desc.setText(R.string.show_support_desc_11);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_11);
- settings_title.setText(R.string.settings_title_11);
- about_title.setText(R.string.about_title_11);
- maintenance.setText(R.string.maintenance_11);
- maintenance_desc.setText(R.string.maintenance_desc_11);
- thanks.setText(R.string.thanks_11);
- language.setText(R.string.language_11);
- website.setText(R.string.website_11);
-
+ title_1.setText(R.string.spotify_regular_11);
+ title_2.setText(R.string.spotify_amoled_11);
+ sub_text_2.setText(R.string.installed_11);
+ sub_text_4.setText(R.string.installed_11);
+ sub_text_1.setText(R.string.latest_11);
+ sub_text_3.setText(R.string.latest_11);
+ version_switch_1.setText(R.string.versions_11);
+ version_switch_2.setText(R.string.versions_11);
+ changelogs.setText(R.string.changelogs_11);
+ title_sub.setText(R.string.manager_tools_11);
+ device_cpu.setText(R.string.device_cpu_11);
+ source.setText(R.string.source_11);
+ support.setText(R.string.support_11);
+ donate.setText(R.string.donate_11);
+ about.setText(R.string.about_11);
+ list_auto_refresh.setText(R.string.list_auto_refresh_11);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_11);
+ force_auto_install.setText(R.string.force_auto_install_11);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_11);
+ copy_url_mode.setText(R.string.copy_url_mode_11);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_11);
+ navigation_bar.setText(R.string.hide_navigation_bar_11);
+ theme.setText(R.string.show_themes_11);
+ apk_location.setText(R.string.apk_location_11);
+ apk_location_info.setText(R.string.apk_location_desc_11);
+ clear_directory_folders.setText(R.string.clear_directory_folders_11);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_11);
+ reset_settings.setText(R.string.reset_settings_11);
+ sub_title.setText(R.string.about_sub_11);
+ developer_manager.setText(R.string.xmanager_dev_11);
+ developer_spotify.setText(R.string.spotify_mod_devs_11);
+ support_team.setText(R.string.telegram_support_team_11);
+ mod_testers_1.setText(R.string.manager_testers_11);
+ mod_testers_2.setText(R.string.manager_hosting_11);
+ mobilism_team.setText(R.string.mobilism_team_11);
+ forum_team.setText(R.string.forum_team_11);
+ manager_team.setText(R.string.xspotify_team_11);
+ contributors_1.setText(R.string.contributors_11);
+ download_selected.setText(R.string.download_selected_11);
+ download_ready.setText(R.string.download_ready_11);
+ download_ready_desc.setText(R.string.download_ready_desc_11);
+ downloading_file.setText(R.string.downloading_file_11);
+ download_success.setText(R.string.download_success_11);
+ copy_url_desc.setText(R.string.copy_url_desc_11);
+ file_directory.setText(R.string.file_directory_11);
+ new_update.setText(R.string.new_update_11);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_11);
+ continue_1.setText(R.string.continue_1_11);
+ cancel.setText(R.string.cancel_11);
+ download.setText(R.string.download_11);
+ later.setText(R.string.later_11);
+ directory.setText(R.string.directory_11);
+ install_now.setText(R.string.install_now_11);
+ install_update.setText(R.string.install_update_11);
+ go_back.setText(R.string.go_back_11);
+ download_update.setText(R.string.download_update_11);
+ not_now.setText(R.string.not_now_11);
+ show_support.setText(R.string.show_support_11);
+ show_support_desc.setText(R.string.show_support_desc_11);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_11);
+ settings_title.setText(R.string.settings_title_11);
+ about_title.setText(R.string.about_title_11);
+ maintenance.setText(R.string.maintenance_11);
+ maintenance_desc.setText(R.string.maintenance_desc_11);
+ thanks.setText(R.string.thanks_11);
+ language.setText(R.string.language_11);
+ website.setText(R.string.website_11);
+
discord.setText(R.string.discord_11);
select_language.setSelection((int)(11));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("12")) {
- title_1.setText(R.string.spotify_regular_12);
- title_2.setText(R.string.spotify_amoled_12);
- sub_text_2.setText(R.string.installed_12);
- sub_text_4.setText(R.string.installed_12);
- sub_text_1.setText(R.string.latest_12);
- sub_text_3.setText(R.string.latest_12);
- version_switch_1.setText(R.string.versions_12);
- version_switch_2.setText(R.string.versions_12);
- changelogs.setText(R.string.changelogs_12);
- title_sub.setText(R.string.manager_tools_12);
- device_cpu.setText(R.string.device_cpu_12);
- source.setText(R.string.source_12);
- support.setText(R.string.support_12);
- donate.setText(R.string.donate_12);
- about.setText(R.string.about_12);
- list_auto_refresh.setText(R.string.list_auto_refresh_12);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
- force_auto_install.setText(R.string.force_auto_install_12);
- force_auto_install_info.setText(R.string.force_auto_install_desc_12);
- copy_url_mode.setText(R.string.copy_url_mode_12);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
- navigation_bar.setText(R.string.hide_navigation_bar_12);
- theme.setText(R.string.show_themes_12);
- apk_location.setText(R.string.apk_location_12);
- apk_location_info.setText(R.string.apk_location_desc_12);
- clear_directory_folders.setText(R.string.clear_directory_folders_12);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
- reset_settings.setText(R.string.reset_settings_12);
- sub_title.setText(R.string.about_sub_12);
- developer_manager.setText(R.string.xmanager_dev_12);
- developer_spotify.setText(R.string.spotify_mod_devs_12);
- support_team.setText(R.string.telegram_support_team_12);
- mod_testers_1.setText(R.string.manager_testers_12);
- mod_testers_2.setText(R.string.manager_hosting_12);
- mobilism_team.setText(R.string.mobilism_team_12);
- forum_team.setText(R.string.forum_team_12);
- manager_team.setText(R.string.xspotify_team_12);
- contributors_1.setText(R.string.contributors_12);
- download_selected.setText(R.string.download_selected_12);
- download_ready.setText(R.string.download_ready_12);
- download_ready_desc.setText(R.string.download_ready_desc_12);
- downloading_file.setText(R.string.downloading_file_12);
- download_success.setText(R.string.download_success_12);
- copy_url_desc.setText(R.string.copy_url_desc_12);
- file_directory.setText(R.string.file_directory_12);
- new_update.setText(R.string.new_update_12);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_12);
- continue_1.setText(R.string.continue_1_12);
- cancel.setText(R.string.cancel_12);
- download.setText(R.string.download_12);
- later.setText(R.string.later_12);
- directory.setText(R.string.directory_12);
- install_now.setText(R.string.install_now_12);
- install_update.setText(R.string.install_update_12);
- go_back.setText(R.string.go_back_12);
- download_update.setText(R.string.download_update_12);
- not_now.setText(R.string.not_now_12);
- show_support.setText(R.string.show_support_12);
- show_support_desc.setText(R.string.show_support_desc_12);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_12);
- settings_title.setText(R.string.settings_title_12);
- about_title.setText(R.string.about_title_12);
- maintenance.setText(R.string.maintenance_12);
- maintenance_desc.setText(R.string.maintenance_desc_12);
- thanks.setText(R.string.thanks_12);
- language.setText(R.string.language_12);
- website.setText(R.string.website_12);
-
+ title_1.setText(R.string.spotify_regular_12);
+ title_2.setText(R.string.spotify_amoled_12);
+ sub_text_2.setText(R.string.installed_12);
+ sub_text_4.setText(R.string.installed_12);
+ sub_text_1.setText(R.string.latest_12);
+ sub_text_3.setText(R.string.latest_12);
+ version_switch_1.setText(R.string.versions_12);
+ version_switch_2.setText(R.string.versions_12);
+ changelogs.setText(R.string.changelogs_12);
+ title_sub.setText(R.string.manager_tools_12);
+ device_cpu.setText(R.string.device_cpu_12);
+ source.setText(R.string.source_12);
+ support.setText(R.string.support_12);
+ donate.setText(R.string.donate_12);
+ about.setText(R.string.about_12);
+ list_auto_refresh.setText(R.string.list_auto_refresh_12);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_12);
+ force_auto_install.setText(R.string.force_auto_install_12);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_12);
+ copy_url_mode.setText(R.string.copy_url_mode_12);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_12);
+ navigation_bar.setText(R.string.hide_navigation_bar_12);
+ theme.setText(R.string.show_themes_12);
+ apk_location.setText(R.string.apk_location_12);
+ apk_location_info.setText(R.string.apk_location_desc_12);
+ clear_directory_folders.setText(R.string.clear_directory_folders_12);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_12);
+ reset_settings.setText(R.string.reset_settings_12);
+ sub_title.setText(R.string.about_sub_12);
+ developer_manager.setText(R.string.xmanager_dev_12);
+ developer_spotify.setText(R.string.spotify_mod_devs_12);
+ support_team.setText(R.string.telegram_support_team_12);
+ mod_testers_1.setText(R.string.manager_testers_12);
+ mod_testers_2.setText(R.string.manager_hosting_12);
+ mobilism_team.setText(R.string.mobilism_team_12);
+ forum_team.setText(R.string.forum_team_12);
+ manager_team.setText(R.string.xspotify_team_12);
+ contributors_1.setText(R.string.contributors_12);
+ download_selected.setText(R.string.download_selected_12);
+ download_ready.setText(R.string.download_ready_12);
+ download_ready_desc.setText(R.string.download_ready_desc_12);
+ downloading_file.setText(R.string.downloading_file_12);
+ download_success.setText(R.string.download_success_12);
+ copy_url_desc.setText(R.string.copy_url_desc_12);
+ file_directory.setText(R.string.file_directory_12);
+ new_update.setText(R.string.new_update_12);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_12);
+ continue_1.setText(R.string.continue_1_12);
+ cancel.setText(R.string.cancel_12);
+ download.setText(R.string.download_12);
+ later.setText(R.string.later_12);
+ directory.setText(R.string.directory_12);
+ install_now.setText(R.string.install_now_12);
+ install_update.setText(R.string.install_update_12);
+ go_back.setText(R.string.go_back_12);
+ download_update.setText(R.string.download_update_12);
+ not_now.setText(R.string.not_now_12);
+ show_support.setText(R.string.show_support_12);
+ show_support_desc.setText(R.string.show_support_desc_12);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_12);
+ settings_title.setText(R.string.settings_title_12);
+ about_title.setText(R.string.about_title_12);
+ maintenance.setText(R.string.maintenance_12);
+ maintenance_desc.setText(R.string.maintenance_desc_12);
+ thanks.setText(R.string.thanks_12);
+ language.setText(R.string.language_12);
+ website.setText(R.string.website_12);
+
discord.setText(R.string.discord_12);
select_language.setSelection((int)(12));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("13")) {
- title_1.setText(R.string.spotify_regular_13);
- title_2.setText(R.string.spotify_amoled_13);
- sub_text_2.setText(R.string.installed_13);
- sub_text_4.setText(R.string.installed_13);
- sub_text_1.setText(R.string.latest_13);
- sub_text_3.setText(R.string.latest_13);
- version_switch_1.setText(R.string.versions_13);
- version_switch_2.setText(R.string.versions_13);
- changelogs.setText(R.string.changelogs_13);
- title_sub.setText(R.string.manager_tools_13);
- device_cpu.setText(R.string.device_cpu_13);
- source.setText(R.string.source_13);
- support.setText(R.string.support_13);
- donate.setText(R.string.donate_13);
- about.setText(R.string.about_13);
- list_auto_refresh.setText(R.string.list_auto_refresh_13);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
- force_auto_install.setText(R.string.force_auto_install_13);
- force_auto_install_info.setText(R.string.force_auto_install_desc_13);
- copy_url_mode.setText(R.string.copy_url_mode_13);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
- navigation_bar.setText(R.string.hide_navigation_bar_13);
- theme.setText(R.string.show_themes_13);
- apk_location.setText(R.string.apk_location_13);
- apk_location_info.setText(R.string.apk_location_desc_13);
- clear_directory_folders.setText(R.string.clear_directory_folders_13);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
- reset_settings.setText(R.string.reset_settings_13);
- sub_title.setText(R.string.about_sub_13);
- developer_manager.setText(R.string.xmanager_dev_13);
- developer_spotify.setText(R.string.spotify_mod_devs_13);
- support_team.setText(R.string.telegram_support_team_13);
- mod_testers_1.setText(R.string.manager_testers_13);
- mod_testers_2.setText(R.string.manager_hosting_13);
- mobilism_team.setText(R.string.mobilism_team_13);
- forum_team.setText(R.string.forum_team_13);
- manager_team.setText(R.string.xspotify_team_13);
- contributors_1.setText(R.string.contributors_13);
- download_selected.setText(R.string.download_selected_13);
- download_ready.setText(R.string.download_ready_13);
- download_ready_desc.setText(R.string.download_ready_desc_13);
- downloading_file.setText(R.string.downloading_file_13);
- download_success.setText(R.string.download_success_13);
- copy_url_desc.setText(R.string.copy_url_desc_13);
- file_directory.setText(R.string.file_directory_13);
- new_update.setText(R.string.new_update_13);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_13);
- continue_1.setText(R.string.continue_1_13);
- cancel.setText(R.string.cancel_13);
- download.setText(R.string.download_13);
- later.setText(R.string.later_13);
- directory.setText(R.string.directory_13);
- install_now.setText(R.string.install_now_13);
- install_update.setText(R.string.install_update_13);
- go_back.setText(R.string.go_back_13);
- download_update.setText(R.string.download_update_13);
- not_now.setText(R.string.not_now_13);
- show_support.setText(R.string.show_support_13);
- show_support_desc.setText(R.string.show_support_desc_13);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_13);
- settings_title.setText(R.string.settings_title_13);
- about_title.setText(R.string.about_title_13);
- maintenance.setText(R.string.maintenance_13);
- maintenance_desc.setText(R.string.maintenance_desc_13);
- thanks.setText(R.string.thanks_13);
- language.setText(R.string.language_13);
- website.setText(R.string.website_13);
-
+ title_1.setText(R.string.spotify_regular_13);
+ title_2.setText(R.string.spotify_amoled_13);
+ sub_text_2.setText(R.string.installed_13);
+ sub_text_4.setText(R.string.installed_13);
+ sub_text_1.setText(R.string.latest_13);
+ sub_text_3.setText(R.string.latest_13);
+ version_switch_1.setText(R.string.versions_13);
+ version_switch_2.setText(R.string.versions_13);
+ changelogs.setText(R.string.changelogs_13);
+ title_sub.setText(R.string.manager_tools_13);
+ device_cpu.setText(R.string.device_cpu_13);
+ source.setText(R.string.source_13);
+ support.setText(R.string.support_13);
+ donate.setText(R.string.donate_13);
+ about.setText(R.string.about_13);
+ list_auto_refresh.setText(R.string.list_auto_refresh_13);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_13);
+ force_auto_install.setText(R.string.force_auto_install_13);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_13);
+ copy_url_mode.setText(R.string.copy_url_mode_13);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_13);
+ navigation_bar.setText(R.string.hide_navigation_bar_13);
+ theme.setText(R.string.show_themes_13);
+ apk_location.setText(R.string.apk_location_13);
+ apk_location_info.setText(R.string.apk_location_desc_13);
+ clear_directory_folders.setText(R.string.clear_directory_folders_13);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_13);
+ reset_settings.setText(R.string.reset_settings_13);
+ sub_title.setText(R.string.about_sub_13);
+ developer_manager.setText(R.string.xmanager_dev_13);
+ developer_spotify.setText(R.string.spotify_mod_devs_13);
+ support_team.setText(R.string.telegram_support_team_13);
+ mod_testers_1.setText(R.string.manager_testers_13);
+ mod_testers_2.setText(R.string.manager_hosting_13);
+ mobilism_team.setText(R.string.mobilism_team_13);
+ forum_team.setText(R.string.forum_team_13);
+ manager_team.setText(R.string.xspotify_team_13);
+ contributors_1.setText(R.string.contributors_13);
+ download_selected.setText(R.string.download_selected_13);
+ download_ready.setText(R.string.download_ready_13);
+ download_ready_desc.setText(R.string.download_ready_desc_13);
+ downloading_file.setText(R.string.downloading_file_13);
+ download_success.setText(R.string.download_success_13);
+ copy_url_desc.setText(R.string.copy_url_desc_13);
+ file_directory.setText(R.string.file_directory_13);
+ new_update.setText(R.string.new_update_13);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_13);
+ continue_1.setText(R.string.continue_1_13);
+ cancel.setText(R.string.cancel_13);
+ download.setText(R.string.download_13);
+ later.setText(R.string.later_13);
+ directory.setText(R.string.directory_13);
+ install_now.setText(R.string.install_now_13);
+ install_update.setText(R.string.install_update_13);
+ go_back.setText(R.string.go_back_13);
+ download_update.setText(R.string.download_update_13);
+ not_now.setText(R.string.not_now_13);
+ show_support.setText(R.string.show_support_13);
+ show_support_desc.setText(R.string.show_support_desc_13);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_13);
+ settings_title.setText(R.string.settings_title_13);
+ about_title.setText(R.string.about_title_13);
+ maintenance.setText(R.string.maintenance_13);
+ maintenance_desc.setText(R.string.maintenance_desc_13);
+ thanks.setText(R.string.thanks_13);
+ language.setText(R.string.language_13);
+ website.setText(R.string.website_13);
+
discord.setText(R.string.discord_13);
select_language.setSelection((int)(13));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("14")) {
- title_1.setText(R.string.spotify_regular_14);
- title_2.setText(R.string.spotify_amoled_14);
- sub_text_2.setText(R.string.installed_14);
- sub_text_4.setText(R.string.installed_14);
- sub_text_1.setText(R.string.latest_14);
- sub_text_3.setText(R.string.latest_14);
- version_switch_1.setText(R.string.versions_14);
- version_switch_2.setText(R.string.versions_14);
- changelogs.setText(R.string.changelogs_14);
- title_sub.setText(R.string.manager_tools_14);
- device_cpu.setText(R.string.device_cpu_14);
- source.setText(R.string.source_14);
- support.setText(R.string.support_14);
- donate.setText(R.string.donate_14);
- about.setText(R.string.about_14);
- list_auto_refresh.setText(R.string.list_auto_refresh_14);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
- force_auto_install.setText(R.string.force_auto_install_14);
- force_auto_install_info.setText(R.string.force_auto_install_desc_14);
- copy_url_mode.setText(R.string.copy_url_mode_14);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
- navigation_bar.setText(R.string.hide_navigation_bar_14);
- theme.setText(R.string.show_themes_14);
- apk_location.setText(R.string.apk_location_14);
- apk_location_info.setText(R.string.apk_location_desc_14);
- clear_directory_folders.setText(R.string.clear_directory_folders_14);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
- reset_settings.setText(R.string.reset_settings_14);
- sub_title.setText(R.string.about_sub_14);
- developer_manager.setText(R.string.xmanager_dev_14);
- developer_spotify.setText(R.string.spotify_mod_devs_14);
- support_team.setText(R.string.telegram_support_team_14);
- mod_testers_1.setText(R.string.manager_testers_14);
- mod_testers_2.setText(R.string.manager_hosting_14);
- mobilism_team.setText(R.string.mobilism_team_14);
- forum_team.setText(R.string.forum_team_14);
- manager_team.setText(R.string.xspotify_team_14);
- contributors_1.setText(R.string.contributors_14);
- download_selected.setText(R.string.download_selected_14);
- download_ready.setText(R.string.download_ready_14);
- download_ready_desc.setText(R.string.download_ready_desc_14);
- downloading_file.setText(R.string.downloading_file_14);
- download_success.setText(R.string.download_success_14);
- copy_url_desc.setText(R.string.copy_url_desc_14);
- file_directory.setText(R.string.file_directory_14);
- new_update.setText(R.string.new_update_14);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_14);
- continue_1.setText(R.string.continue_1_14);
- cancel.setText(R.string.cancel_14);
- download.setText(R.string.download_14);
- later.setText(R.string.later_14);
- directory.setText(R.string.directory_14);
- install_now.setText(R.string.install_now_14);
- install_update.setText(R.string.install_update_14);
- go_back.setText(R.string.go_back_14);
- download_update.setText(R.string.download_update_14);
- not_now.setText(R.string.not_now_14);
- show_support.setText(R.string.show_support_14);
- show_support_desc.setText(R.string.show_support_desc_14);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_14);
- settings_title.setText(R.string.settings_title_14);
- about_title.setText(R.string.about_title_14);
- maintenance.setText(R.string.maintenance_14);
- maintenance_desc.setText(R.string.maintenance_desc_14);
- thanks.setText(R.string.thanks_14);
- language.setText(R.string.language_14);
- website.setText(R.string.website_14);
-
+ title_1.setText(R.string.spotify_regular_14);
+ title_2.setText(R.string.spotify_amoled_14);
+ sub_text_2.setText(R.string.installed_14);
+ sub_text_4.setText(R.string.installed_14);
+ sub_text_1.setText(R.string.latest_14);
+ sub_text_3.setText(R.string.latest_14);
+ version_switch_1.setText(R.string.versions_14);
+ version_switch_2.setText(R.string.versions_14);
+ changelogs.setText(R.string.changelogs_14);
+ title_sub.setText(R.string.manager_tools_14);
+ device_cpu.setText(R.string.device_cpu_14);
+ source.setText(R.string.source_14);
+ support.setText(R.string.support_14);
+ donate.setText(R.string.donate_14);
+ about.setText(R.string.about_14);
+ list_auto_refresh.setText(R.string.list_auto_refresh_14);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_14);
+ force_auto_install.setText(R.string.force_auto_install_14);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_14);
+ copy_url_mode.setText(R.string.copy_url_mode_14);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_14);
+ navigation_bar.setText(R.string.hide_navigation_bar_14);
+ theme.setText(R.string.show_themes_14);
+ apk_location.setText(R.string.apk_location_14);
+ apk_location_info.setText(R.string.apk_location_desc_14);
+ clear_directory_folders.setText(R.string.clear_directory_folders_14);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_14);
+ reset_settings.setText(R.string.reset_settings_14);
+ sub_title.setText(R.string.about_sub_14);
+ developer_manager.setText(R.string.xmanager_dev_14);
+ developer_spotify.setText(R.string.spotify_mod_devs_14);
+ support_team.setText(R.string.telegram_support_team_14);
+ mod_testers_1.setText(R.string.manager_testers_14);
+ mod_testers_2.setText(R.string.manager_hosting_14);
+ mobilism_team.setText(R.string.mobilism_team_14);
+ forum_team.setText(R.string.forum_team_14);
+ manager_team.setText(R.string.xspotify_team_14);
+ contributors_1.setText(R.string.contributors_14);
+ download_selected.setText(R.string.download_selected_14);
+ download_ready.setText(R.string.download_ready_14);
+ download_ready_desc.setText(R.string.download_ready_desc_14);
+ downloading_file.setText(R.string.downloading_file_14);
+ download_success.setText(R.string.download_success_14);
+ copy_url_desc.setText(R.string.copy_url_desc_14);
+ file_directory.setText(R.string.file_directory_14);
+ new_update.setText(R.string.new_update_14);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_14);
+ continue_1.setText(R.string.continue_1_14);
+ cancel.setText(R.string.cancel_14);
+ download.setText(R.string.download_14);
+ later.setText(R.string.later_14);
+ directory.setText(R.string.directory_14);
+ install_now.setText(R.string.install_now_14);
+ install_update.setText(R.string.install_update_14);
+ go_back.setText(R.string.go_back_14);
+ download_update.setText(R.string.download_update_14);
+ not_now.setText(R.string.not_now_14);
+ show_support.setText(R.string.show_support_14);
+ show_support_desc.setText(R.string.show_support_desc_14);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_14);
+ settings_title.setText(R.string.settings_title_14);
+ about_title.setText(R.string.about_title_14);
+ maintenance.setText(R.string.maintenance_14);
+ maintenance_desc.setText(R.string.maintenance_desc_14);
+ thanks.setText(R.string.thanks_14);
+ language.setText(R.string.language_14);
+ website.setText(R.string.website_14);
+
discord.setText(R.string.discord_14);
select_language.setSelection((int)(14));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("15")) {
- title_1.setText(R.string.spotify_regular_15);
- title_2.setText(R.string.spotify_amoled_15);
- sub_text_2.setText(R.string.installed_15);
- sub_text_4.setText(R.string.installed_15);
- sub_text_1.setText(R.string.latest_15);
- sub_text_3.setText(R.string.latest_15);
- version_switch_1.setText(R.string.versions_15);
- version_switch_2.setText(R.string.versions_15);
- changelogs.setText(R.string.changelogs_15);
- title_sub.setText(R.string.manager_tools_15);
- device_cpu.setText(R.string.device_cpu_15);
- source.setText(R.string.source_15);
- support.setText(R.string.support_15);
- donate.setText(R.string.donate_15);
- about.setText(R.string.about_15);
- list_auto_refresh.setText(R.string.list_auto_refresh_15);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
- force_auto_install.setText(R.string.force_auto_install_15);
- force_auto_install_info.setText(R.string.force_auto_install_desc_15);
- copy_url_mode.setText(R.string.copy_url_mode_15);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
- navigation_bar.setText(R.string.hide_navigation_bar_15);
- theme.setText(R.string.show_themes_15);
- apk_location.setText(R.string.apk_location_15);
- apk_location_info.setText(R.string.apk_location_desc_15);
- clear_directory_folders.setText(R.string.clear_directory_folders_15);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
- reset_settings.setText(R.string.reset_settings_15);
- sub_title.setText(R.string.about_sub_15);
- developer_manager.setText(R.string.xmanager_dev_15);
- developer_spotify.setText(R.string.spotify_mod_devs_15);
- support_team.setText(R.string.telegram_support_team_15);
- mod_testers_1.setText(R.string.manager_testers_15);
- mod_testers_2.setText(R.string.manager_hosting_15);
- mobilism_team.setText(R.string.mobilism_team_15);
- forum_team.setText(R.string.forum_team_15);
- manager_team.setText(R.string.xspotify_team_15);
- contributors_1.setText(R.string.contributors_15);
- download_selected.setText(R.string.download_selected_15);
- download_ready.setText(R.string.download_ready_15);
- download_ready_desc.setText(R.string.download_ready_desc_15);
- downloading_file.setText(R.string.downloading_file_15);
- download_success.setText(R.string.download_success_15);
- copy_url_desc.setText(R.string.copy_url_desc_15);
- file_directory.setText(R.string.file_directory_15);
- new_update.setText(R.string.new_update_15);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_15);
- continue_1.setText(R.string.continue_1_15);
- cancel.setText(R.string.cancel_15);
- download.setText(R.string.download_15);
- later.setText(R.string.later_15);
- directory.setText(R.string.directory_15);
- install_now.setText(R.string.install_now_15);
- install_update.setText(R.string.install_update_15);
- go_back.setText(R.string.go_back_15);
- download_update.setText(R.string.download_update_15);
- not_now.setText(R.string.not_now_15);
- show_support.setText(R.string.show_support_15);
- show_support_desc.setText(R.string.show_support_desc_15);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_15);
- settings_title.setText(R.string.settings_title_15);
- about_title.setText(R.string.about_title_15);
- maintenance.setText(R.string.maintenance_15);
- maintenance_desc.setText(R.string.maintenance_desc_15);
- thanks.setText(R.string.thanks_15);
- language.setText(R.string.language_15);
- website.setText(R.string.website_15);
-
+ title_1.setText(R.string.spotify_regular_15);
+ title_2.setText(R.string.spotify_amoled_15);
+ sub_text_2.setText(R.string.installed_15);
+ sub_text_4.setText(R.string.installed_15);
+ sub_text_1.setText(R.string.latest_15);
+ sub_text_3.setText(R.string.latest_15);
+ version_switch_1.setText(R.string.versions_15);
+ version_switch_2.setText(R.string.versions_15);
+ changelogs.setText(R.string.changelogs_15);
+ title_sub.setText(R.string.manager_tools_15);
+ device_cpu.setText(R.string.device_cpu_15);
+ source.setText(R.string.source_15);
+ support.setText(R.string.support_15);
+ donate.setText(R.string.donate_15);
+ about.setText(R.string.about_15);
+ list_auto_refresh.setText(R.string.list_auto_refresh_15);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_15);
+ force_auto_install.setText(R.string.force_auto_install_15);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_15);
+ copy_url_mode.setText(R.string.copy_url_mode_15);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_15);
+ navigation_bar.setText(R.string.hide_navigation_bar_15);
+ theme.setText(R.string.show_themes_15);
+ apk_location.setText(R.string.apk_location_15);
+ apk_location_info.setText(R.string.apk_location_desc_15);
+ clear_directory_folders.setText(R.string.clear_directory_folders_15);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_15);
+ reset_settings.setText(R.string.reset_settings_15);
+ sub_title.setText(R.string.about_sub_15);
+ developer_manager.setText(R.string.xmanager_dev_15);
+ developer_spotify.setText(R.string.spotify_mod_devs_15);
+ support_team.setText(R.string.telegram_support_team_15);
+ mod_testers_1.setText(R.string.manager_testers_15);
+ mod_testers_2.setText(R.string.manager_hosting_15);
+ mobilism_team.setText(R.string.mobilism_team_15);
+ forum_team.setText(R.string.forum_team_15);
+ manager_team.setText(R.string.xspotify_team_15);
+ contributors_1.setText(R.string.contributors_15);
+ download_selected.setText(R.string.download_selected_15);
+ download_ready.setText(R.string.download_ready_15);
+ download_ready_desc.setText(R.string.download_ready_desc_15);
+ downloading_file.setText(R.string.downloading_file_15);
+ download_success.setText(R.string.download_success_15);
+ copy_url_desc.setText(R.string.copy_url_desc_15);
+ file_directory.setText(R.string.file_directory_15);
+ new_update.setText(R.string.new_update_15);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_15);
+ continue_1.setText(R.string.continue_1_15);
+ cancel.setText(R.string.cancel_15);
+ download.setText(R.string.download_15);
+ later.setText(R.string.later_15);
+ directory.setText(R.string.directory_15);
+ install_now.setText(R.string.install_now_15);
+ install_update.setText(R.string.install_update_15);
+ go_back.setText(R.string.go_back_15);
+ download_update.setText(R.string.download_update_15);
+ not_now.setText(R.string.not_now_15);
+ show_support.setText(R.string.show_support_15);
+ show_support_desc.setText(R.string.show_support_desc_15);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_15);
+ settings_title.setText(R.string.settings_title_15);
+ about_title.setText(R.string.about_title_15);
+ maintenance.setText(R.string.maintenance_15);
+ maintenance_desc.setText(R.string.maintenance_desc_15);
+ thanks.setText(R.string.thanks_15);
+ language.setText(R.string.language_15);
+ website.setText(R.string.website_15);
+
discord.setText(R.string.discord_15);
select_language.setSelection((int)(15));
}
else {
if (LANGUAGE.getString("LANGUAGE", "").equals("16")) {
- title_1.setText(R.string.spotify_regular_16);
- title_2.setText(R.string.spotify_amoled_16);
- sub_text_2.setText(R.string.installed_16);
- sub_text_4.setText(R.string.installed_16);
- sub_text_1.setText(R.string.latest_16);
- sub_text_3.setText(R.string.latest_16);
- version_switch_1.setText(R.string.versions_16);
- version_switch_2.setText(R.string.versions_16);
- changelogs.setText(R.string.changelogs_16);
- title_sub.setText(R.string.manager_tools_16);
- device_cpu.setText(R.string.device_cpu_16);
- source.setText(R.string.source_16);
- support.setText(R.string.support_16);
- donate.setText(R.string.donate_16);
- about.setText(R.string.about_16);
- list_auto_refresh.setText(R.string.list_auto_refresh_16);
- list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
- force_auto_install.setText(R.string.force_auto_install_16);
- force_auto_install_info.setText(R.string.force_auto_install_desc_16);
- copy_url_mode.setText(R.string.copy_url_mode_16);
- copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
- navigation_bar.setText(R.string.hide_navigation_bar_16);
- theme.setText(R.string.show_themes_16);
- apk_location.setText(R.string.apk_location_16);
- apk_location_info.setText(R.string.apk_location_desc_16);
- clear_directory_folders.setText(R.string.clear_directory_folders_16);
- clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
- reset_settings.setText(R.string.reset_settings_16);
- sub_title.setText(R.string.about_sub_16);
- developer_manager.setText(R.string.xmanager_dev_16);
- developer_spotify.setText(R.string.spotify_mod_devs_16);
- support_team.setText(R.string.telegram_support_team_16);
- mod_testers_1.setText(R.string.manager_testers_16);
- mod_testers_2.setText(R.string.manager_hosting_16);
- mobilism_team.setText(R.string.mobilism_team_16);
- forum_team.setText(R.string.forum_team_16);
- manager_team.setText(R.string.xspotify_team_16);
- contributors_1.setText(R.string.contributors_16);
- download_selected.setText(R.string.download_selected_16);
- download_ready.setText(R.string.download_ready_16);
- download_ready_desc.setText(R.string.download_ready_desc_16);
- downloading_file.setText(R.string.downloading_file_16);
- download_success.setText(R.string.download_success_16);
- copy_url_desc.setText(R.string.copy_url_desc_16);
- file_directory.setText(R.string.file_directory_16);
- new_update.setText(R.string.new_update_16);
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText(R.string.copy_url_16);
- continue_1.setText(R.string.continue_1_16);
- cancel.setText(R.string.cancel_16);
- download.setText(R.string.download_16);
- later.setText(R.string.later_16);
- directory.setText(R.string.directory_16);
- install_now.setText(R.string.install_now_16);
- install_update.setText(R.string.install_update_16);
- go_back.setText(R.string.go_back_16);
- download_update.setText(R.string.download_update_16);
- not_now.setText(R.string.not_now_16);
- show_support.setText(R.string.show_support_16);
- show_support_desc.setText(R.string.show_support_desc_16);
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText(R.string.main_title_16);
- settings_title.setText(R.string.settings_title_16);
- about_title.setText(R.string.about_title_16);
- maintenance.setText(R.string.maintenance_16);
- maintenance_desc.setText(R.string.maintenance_desc_16);
- thanks.setText(R.string.thanks_16);
- language.setText(R.string.language_16);
- website.setText(R.string.website_16);
-
+ title_1.setText(R.string.spotify_regular_16);
+ title_2.setText(R.string.spotify_amoled_16);
+ sub_text_2.setText(R.string.installed_16);
+ sub_text_4.setText(R.string.installed_16);
+ sub_text_1.setText(R.string.latest_16);
+ sub_text_3.setText(R.string.latest_16);
+ version_switch_1.setText(R.string.versions_16);
+ version_switch_2.setText(R.string.versions_16);
+ changelogs.setText(R.string.changelogs_16);
+ title_sub.setText(R.string.manager_tools_16);
+ device_cpu.setText(R.string.device_cpu_16);
+ source.setText(R.string.source_16);
+ support.setText(R.string.support_16);
+ donate.setText(R.string.donate_16);
+ about.setText(R.string.about_16);
+ list_auto_refresh.setText(R.string.list_auto_refresh_16);
+ list_auto_refresh_info.setText(R.string.list_auto_refresh_desc_16);
+ force_auto_install.setText(R.string.force_auto_install_16);
+ force_auto_install_info.setText(R.string.force_auto_install_desc_16);
+ copy_url_mode.setText(R.string.copy_url_mode_16);
+ copy_file_url_mode_info.setText(R.string.copy_url_mode_desc_16);
+ navigation_bar.setText(R.string.hide_navigation_bar_16);
+ theme.setText(R.string.show_themes_16);
+ apk_location.setText(R.string.apk_location_16);
+ apk_location_info.setText(R.string.apk_location_desc_16);
+ clear_directory_folders.setText(R.string.clear_directory_folders_16);
+ clear_directory_folders_info.setText(R.string.clear_directory_folders_desc_16);
+ reset_settings.setText(R.string.reset_settings_16);
+ sub_title.setText(R.string.about_sub_16);
+ developer_manager.setText(R.string.xmanager_dev_16);
+ developer_spotify.setText(R.string.spotify_mod_devs_16);
+ support_team.setText(R.string.telegram_support_team_16);
+ mod_testers_1.setText(R.string.manager_testers_16);
+ mod_testers_2.setText(R.string.manager_hosting_16);
+ mobilism_team.setText(R.string.mobilism_team_16);
+ forum_team.setText(R.string.forum_team_16);
+ manager_team.setText(R.string.xspotify_team_16);
+ contributors_1.setText(R.string.contributors_16);
+ download_selected.setText(R.string.download_selected_16);
+ download_ready.setText(R.string.download_ready_16);
+ download_ready_desc.setText(R.string.download_ready_desc_16);
+ downloading_file.setText(R.string.downloading_file_16);
+ download_success.setText(R.string.download_success_16);
+ copy_url_desc.setText(R.string.copy_url_desc_16);
+ file_directory.setText(R.string.file_directory_16);
+ new_update.setText(R.string.new_update_16);
+ download_selected_0 = download_selected.getText().toString();
+ download_ready_0 = download_ready.getText().toString();
+ download_ready_desc_0 = download_ready_desc.getText().toString();
+ downloading_file_0 = downloading_file.getText().toString();
+ download_success_0 = download_success.getText().toString();
+ copy_url_desc_0 = copy_url_desc.getText().toString();
+ file_directory_0 = file_directory.getText().toString();
+ copy_url.setText(R.string.copy_url_16);
+ continue_1.setText(R.string.continue_1_16);
+ cancel.setText(R.string.cancel_16);
+ download.setText(R.string.download_16);
+ later.setText(R.string.later_16);
+ directory.setText(R.string.directory_16);
+ install_now.setText(R.string.install_now_16);
+ install_update.setText(R.string.install_update_16);
+ go_back.setText(R.string.go_back_16);
+ download_update.setText(R.string.download_update_16);
+ not_now.setText(R.string.not_now_16);
+ show_support.setText(R.string.show_support_16);
+ show_support_desc.setText(R.string.show_support_desc_16);
+ copy_url_0 = copy_url.getText().toString();
+ download_0 = download.getText().toString();
+ continue_0 = continue_1.getText().toString();
+ cancel_0 = cancel.getText().toString();
+ later_0 = later.getText().toString();
+ directory_0 = directory.getText().toString();
+ install_now_0 = install_now.getText().toString();
+ go_back_0 = go_back.getText().toString();
+ install_update_0 = install_update.getText().toString();
+ main_title.setText(R.string.main_title_16);
+ settings_title.setText(R.string.settings_title_16);
+ about_title.setText(R.string.about_title_16);
+ maintenance.setText(R.string.maintenance_16);
+ maintenance_desc.setText(R.string.maintenance_desc_16);
+ thanks.setText(R.string.thanks_16);
+ language.setText(R.string.language_16);
+ website.setText(R.string.website_16);
+
discord.setText(R.string.discord_16);
select_language.setSelection((int)(16));
}
@@ -8151,94 +8149,6 @@ public class MainActivity extends AppCompatActivity {
}
- private void _Default_Language () {
- title_1.setText("");
- title_2.setText("");
- sub_text_2.setText("");
- sub_text_4.setText("");
- sub_text_1.setText("");
- sub_text_3.setText("");
- version_switch_1.setText("");
- version_switch_2.setText("");
- changelogs.setText("");
- title_sub.setText("");
- device_cpu.setText("");
- source.setText("");
- support.setText("");
- donate.setText("");
- discord.setText("");
- about.setText("");
- list_auto_refresh.setText("");
- list_auto_refresh_info.setText("");
- force_auto_install.setText("");
- force_auto_install_info.setText("");
- copy_url_mode.setText("");
- copy_file_url_mode_info.setText("");
- navigation_bar.setText("");
- theme.setText("");
- apk_location.setText("");
- apk_location_info.setText("");
- clear_directory_folders.setText("");
- clear_directory_folders_info.setText("");
- reset_settings.setText("");
- sub_title.setText("");
- developer_manager.setText("");
- developer_spotify.setText("");
- support_team.setText("");
- mod_testers_1.setText("");
- mod_testers_2.setText("");
- mobilism_team.setText("");
- forum_team.setText("");
- manager_team.setText("");
- contributors_1.setText("");
- download_selected.setText("");
- download_ready.setText("");
- download_ready_desc.setText("");
- downloading_file.setText("");
- download_success.setText("");
- copy_url_desc.setText("");
- file_directory.setText("");
- new_update.setText("");
- download_selected_0 = download_selected.getText().toString();
- download_ready_0 = download_ready.getText().toString();
- download_ready_desc_0 = download_ready_desc.getText().toString();
- downloading_file_0 = downloading_file.getText().toString();
- download_success_0 = download_success.getText().toString();
- copy_url_desc_0 = copy_url_desc.getText().toString();
- file_directory_0 = file_directory.getText().toString();
- copy_url.setText("");
- continue_1.setText("");
- cancel.setText("");
- download.setText("");
- later.setText("");
- directory.setText("");
- install_now.setText("");
- install_update.setText("");
- go_back.setText("");
- download_update.setText("");
- not_now.setText("");
- show_support.setText("");
- show_support_desc.setText("");
- copy_url_0 = copy_url.getText().toString();
- download_0 = download.getText().toString();
- continue_0 = continue_1.getText().toString();
- cancel_0 = cancel.getText().toString();
- later_0 = later.getText().toString();
- directory_0 = directory.getText().toString();
- install_now_0 = install_now.getText().toString();
- go_back_0 = go_back.getText().toString();
- install_update_0 = install_update.getText().toString();
- main_title.setText("");
- settings_title.setText("");
- about_title.setText("");
- maintenance.setText("");
- maintenance_desc.setText("");
- thanks.setText("");
- language.setText("");
- website.setText("");
- }
-
-
private void _Language_Pack () {
Language.add("English (Default)");
Language.add("Bengali");
@@ -8259,6 +8169,22 @@ public class MainActivity extends AppCompatActivity {
Language.add("Romanian");
select_language.setAdapter(new ArrayAdapter<String>(getBaseContext(), android.R.layout.simple_spinner_dropdown_item, Language));
((ArrayAdapter)select_language.getAdapter()).notifyDataSetChanged();
+ select_language.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, android.R.id.text1, Language) {
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ TextView textViewv = (TextView) super.getView(position, convertView, parent);
+ textViewv.setTextColor(Color.parseColor("#FFFFFF"));
+ return textViewv; }
+
+ @Override
+ public View getDropDownView(int position, View convertView, ViewGroup parent) {
+ TextView textViewv = (TextView) super.getDropDownView(position, convertView, parent); textViewv.setTextColor(Color.parseColor("#FFFFFF"));
+ textViewv.setBackgroundColor(Color.parseColor("#212121"));
+
+
+ return textViewv; }
+ });
}
@@ -8273,6 +8199,22 @@ public class MainActivity extends AppCompatActivity {
Theme.add("Gray");
select_theme.setAdapter(new ArrayAdapter<String>(getBaseContext(), android.R.layout.simple_spinner_dropdown_item, Theme));
((ArrayAdapter)select_theme.getAdapter()).notifyDataSetChanged();
+ select_theme.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, android.R.id.text1, Theme) {
+
+ @Override
+ public View getView(int position, View convertView, ViewGroup parent) {
+ TextView textViewv = (TextView) super.getView(position, convertView, parent);
+ textViewv.setTextColor(Color.parseColor("#FFFFFF"));
+ return textViewv; }
+
+ @Override
+ public View getDropDownView(int position, View convertView, ViewGroup parent) {
+ TextView textViewv = (TextView) super.getDropDownView(position, convertView, parent); textViewv.setTextColor(Color.parseColor("#FFFFFF"));
+ textViewv.setBackgroundColor(Color.parseColor("#212121"));
+
+
+ return textViewv; }
+ });
}
@@ -8329,54 +8271,54 @@ public class MainActivity extends AppCompatActivity {
if (_position == 0) {
VERSIONS_REGULAR = listdata.get((int)(listdata.size() - 1) - _position).get("title").toString().replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", " ").replace("(Arm64.v8a)", " ");
}
- box.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View _view) {
+ box.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View _view) {
if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
_RequiredDialog(Selected_Spotify, false);
Selected_Spotify.setTitle(title.getText().toString().toUpperCase().replace("SPOTIFY V", "SPOTIFY "));
Selected_Spotify.setMessage(copy_url_desc_0);
- Selected_Spotify.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Selected_Spotify, true);
((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", link.getText().toString()));
- }
- catch(Exception e) {
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ catch(Exception e) {
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Selected_Spotify.create().show();
FileUtil.makeDir("/storage/emulated/0/xManager");
@@ -8388,16 +8330,16 @@ public class MainActivity extends AppCompatActivity {
_RequiredDialog(Selected_Spotify, false);
Selected_Spotify.setTitle(title.getText().toString().toUpperCase().replace("SPOTIFY V", "SPOTIFY "));
Selected_Spotify.setMessage(download_selected_0);
- Selected_Spotify.setPositiveButton(continue_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setPositiveButton(continue_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
_RequiredDialog(Download_Spotify, false);
Download_Spotify.setTitle(download_ready_0);
Download_Spotify.setMessage(download_ready_desc_0);
- Download_Spotify.setPositiveButton(download_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Download_Spotify.setPositiveButton(download_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Download_Spotify, true);
if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
@@ -8409,64 +8351,64 @@ public class MainActivity extends AppCompatActivity {
}
}
_File_Remover();
- }
- catch(Exception e) {
- }
- }
+ }
+ catch(Exception e) {
+ }
+ }
});
- Download_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Download_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Download_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Download_Spotify.create().show();
- }
+ Download_Spotify.create().show();
+ }
});
- Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Selected_Spotify.create().show();
FileUtil.makeDir("/storage/emulated/0/xManager");
FileUtil.makeDir("/storage/emulated/0/xManager/Update");
DELETE = 1;
}
- }
- }
+ }
+ }
});
- Animation animation;
- animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- animation.setDuration(200); box.startAnimation(animation);
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ animation.setDuration(200); box.startAnimation(animation);
animation = null;
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
return _v;
@@ -8526,54 +8468,54 @@ public class MainActivity extends AppCompatActivity {
if (_position == 0) {
VERSIONS_AMOLED = listdata.get((int)(listdata.size() - 1) - _position).get("title").toString().replace("-", ".").replace("Spotify v", " ").replace("(Armeabi.v7a)", " ").replace("(Arm64.v8a)", " ");
}
- box.setOnClickListener(new View.OnClickListener() {
- @Override
- public void onClick(View _view) {
+ box.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View _view) {
if (COPY_URL_MODE.getString("COPY_URL_MODE", "").equals("URL_ON")) {
_RequiredDialog(Selected_Spotify, false);
Selected_Spotify.setTitle(title.getText().toString().toUpperCase().replace("SPOTIFY V", "SPOTIFY "));
Selected_Spotify.setMessage(copy_url_desc_0);
- Selected_Spotify.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setPositiveButton(copy_url_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Selected_Spotify, true);
((ClipboardManager) getSystemService(getApplicationContext().CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", link.getText().toString()));
- }
- catch(Exception e) {
}
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ catch(Exception e) {
+ }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Selected_Spotify.create().show();
FileUtil.makeDir("/storage/emulated/0/xManager");
@@ -8585,16 +8527,16 @@ public class MainActivity extends AppCompatActivity {
_RequiredDialog(Selected_Spotify, false);
Selected_Spotify.setTitle(title.getText().toString().toUpperCase().replace("SPOTIFY V", "SPOTIFY "));
Selected_Spotify.setMessage(download_selected_0);
- Selected_Spotify.setPositiveButton(continue_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setPositiveButton(continue_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
_RequiredDialog(Download_Spotify, false);
Download_Spotify.setTitle(download_ready_0);
Download_Spotify.setMessage(download_ready_desc_0);
- Download_Spotify.setPositiveButton(download_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Download_Spotify.setPositiveButton(download_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
try {
_RequiredDialog(Download_Spotify, true);
if (FORCE_INSTALL.getString("FORCE_INSTALL", "").equals("X")) {
@@ -8606,64 +8548,64 @@ public class MainActivity extends AppCompatActivity {
}
}
_File_Remover();
- }
- catch(Exception e) {
- }
- }
+ }
+ catch(Exception e) {
+ }
+ }
});
- Download_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Download_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Download_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
- Download_Spotify.create().show();
- }
+ Download_Spotify.create().show();
+ }
});
- Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
- @Override
- public void onClick(DialogInterface _dialog, int _which) {
+ Selected_Spotify.setNeutralButton(cancel_0, new DialogInterface.OnClickListener() {
+ @Override
+ public void onClick(DialogInterface _dialog, int _which) {
_RequiredDialog(Selected_Spotify, true);
- Timer = new TimerTask() {
- @Override
- public void run() {
- runOnUiThread(new Runnable() {
- @Override
- public void run() {
- _Hide_Navigation();
- }
- });
- }
- };
- _timer.schedule(Timer, (int)(100));
- }
+ Timer = new TimerTask() {
+ @Override
+ public void run() {
+ runOnUiThread(new Runnable() {
+ @Override
+ public void run() {
+ _Hide_Navigation();
+ }
+ });
+ }
+ };
+ _timer.schedule(Timer, (int)(100));
+ }
});
Selected_Spotify.create().show();
FileUtil.makeDir("/storage/emulated/0/xManager");
FileUtil.makeDir("/storage/emulated/0/xManager/Update");
DELETE = 1;
}
- }
- }
+ }
+ }
});
- Animation animation;
- animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
- animation.setDuration(200); box.startAnimation(animation);
+ Animation animation;
+ animation = AnimationUtils.loadAnimation(getApplicationContext(), android.R.anim.slide_in_left);
+ animation.setDuration(200); box.startAnimation(animation);
animation = null;
- }
- catch(Exception e) {
+ }
+ catch(Exception e) {
}
return _v;