正在查看: Cantique de Louanges v12 应用的 guardarprimeravez.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Cantique de Louanges v12 应用的 guardarprimeravez.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.eugene.hymnesetlouanges;
import android.R;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.graphics.Typeface;
import android.os.AsyncTask;
import android.os.Bundle;
import android.widget.ProgressBar;
import android.widget.TextView;
import com.google.android.gms.cast.MediaError;
import com.google.android.gms.common.internal.ImagesContract;
public class guardarprimeravez extends Activity {
ProgressDialog a;
SharedPreferences b;
Bundle c;
String d;
long e;
int f;
boolean g;
boolean h;
boolean i;
config j;
Activity k;
class a implements DialogInterface.OnShowListener {
a() {
}
@Override
public void onShow(DialogInterface dialogInterface) {
config.b1((ProgressBar) guardarprimeravez.this.a.findViewById(R.id.progress), guardarprimeravez.this.j.w1);
}
}
private class b extends AsyncTask {
class a implements DialogInterface.OnClickListener {
a() {
}
@Override
public void onClick(DialogInterface dialogInterface, int i) {
Intent intent = new Intent(guardarprimeravez.this, (Class<?>) chat_perfil.class);
guardarprimeravez guardarprimeravezVar = guardarprimeravez.this;
if (guardarprimeravezVar.g) {
intent = config.r(intent, guardarprimeravezVar.c);
} else {
intent.putExtra("idsecc", guardarprimeravezVar.f);
}
guardarprimeravez guardarprimeravezVar2 = guardarprimeravez.this;
if (guardarprimeravezVar2.j.T4 != 2 || guardarprimeravezVar2.i) {
intent.putExtra("es_root", true);
}
intent.putExtra("desde_main", guardarprimeravez.this.h);
intent.putExtra("desde_main_oblig", guardarprimeravez.this.i);
Bundle bundle = guardarprimeravez.this.c;
if (bundle != null) {
intent.putExtra("desde_buscusus", bundle.getBoolean("desde_buscusus", false));
intent.putExtra("desde_buscvideos", guardarprimeravez.this.c.getBoolean("desde_buscvideos", false));
intent.putExtra("desde_foro", guardarprimeravez.this.c.getBoolean("desde_foro", false));
intent.putExtra("desde_game", guardarprimeravez.this.c.getBoolean("desde_game", false));
intent.putExtra("desde_px", guardarprimeravez.this.c.getBoolean("desde_px", false));
intent.putExtra("desde_video", guardarprimeravez.this.c.getBoolean("desde_video", false));
intent.putExtra("desde_radio", guardarprimeravez.this.c.getBoolean("desde_radio", false));
intent.putExtra("desde_quiz", guardarprimeravez.this.c.getBoolean("desde_quiz", false));
intent.putExtra("desde_vistafb", guardarprimeravez.this.c.getBoolean("desde_vistafb", false));
}
intent.putExtra("nocompletar", true);
guardarprimeravez.this.startActivity(intent);
}
}
class DialogInterfaceOnShowListenerC0089b implements DialogInterface.OnShowListener {
final AlertDialog a;
DialogInterfaceOnShowListenerC0089b(AlertDialog alertDialog) {
this.a = alertDialog;
}
@Override
public void onShow(DialogInterface dialogInterface) {
this.a.getButton(-1).setTextColor(Color.parseColor("#" + guardarprimeravez.this.d));
}
}
class c implements DialogInterface.OnClickListener {
c() {
}
@Override
public void onClick(DialogInterface dialogInterface, int i) {
Intent intent = new Intent(guardarprimeravez.this, (Class<?>) chat_perfil.class);
guardarprimeravez guardarprimeravezVar = guardarprimeravez.this;
if (guardarprimeravezVar.g) {
intent = config.r(intent, guardarprimeravezVar.c);
} else {
intent.putExtra("idsecc", guardarprimeravezVar.f);
}
guardarprimeravez guardarprimeravezVar2 = guardarprimeravez.this;
if (guardarprimeravezVar2.j.T4 != 2 || guardarprimeravezVar2.i) {
intent.putExtra("es_root", true);
}
intent.putExtra("desde_main", guardarprimeravez.this.h);
intent.putExtra("desde_main_oblig", guardarprimeravez.this.i);
Bundle bundle = guardarprimeravez.this.c;
if (bundle != null) {
intent.putExtra("desde_buscusus", bundle.getBoolean("desde_buscusus", false));
intent.putExtra("desde_buscvideos", guardarprimeravez.this.c.getBoolean("desde_buscvideos", false));
intent.putExtra("desde_foro", guardarprimeravez.this.c.getBoolean("desde_foro", false));
intent.putExtra("desde_game", guardarprimeravez.this.c.getBoolean("desde_game", false));
intent.putExtra("desde_px", guardarprimeravez.this.c.getBoolean("desde_px", false));
intent.putExtra("desde_video", guardarprimeravez.this.c.getBoolean("desde_video", false));
intent.putExtra("desde_radio", guardarprimeravez.this.c.getBoolean("desde_radio", false));
intent.putExtra("desde_quiz", guardarprimeravez.this.c.getBoolean("desde_quiz", false));
intent.putExtra("desde_vistafb", guardarprimeravez.this.c.getBoolean("desde_vistafb", false));
}
guardarprimeravez.this.startActivity(intent);
}
}
class d implements DialogInterface.OnShowListener {
final AlertDialog a;
d(AlertDialog alertDialog) {
this.a = alertDialog;
}
@Override
public void onShow(DialogInterface dialogInterface) {
this.a.getButton(-1).setTextColor(Color.parseColor("#" + guardarprimeravez.this.d));
}
}
@Override
public java.lang.Byte doInBackground(java.lang.String... r26) {
throw new UnsupportedOperationException("Method not decompiled: com.eugene.hymnesetlouanges.guardarprimeravez.b.doInBackground(java.lang.String[]):java.lang.Byte");
}
@Override
public void onPostExecute(Byte b) {
Intent intent;
?? r3;
String str;
boolean z;
try {
guardarprimeravez.this.a.dismiss();
} catch (Exception unused) {
}
if (b.byteValue() != 1 && b.byteValue() != 11) {
try {
if (b.byteValue() == 3) {
guardarprimeravez guardarprimeravezVar = guardarprimeravez.this;
if (guardarprimeravezVar.j.R5 == 3) {
SharedPreferences.Editor edit = guardarprimeravezVar.b.edit();
z = false;
edit.putBoolean("email_confirmado", false);
edit.commit();
} else {
z = false;
}
try {
AlertDialog create = new AlertDialog.Builder(guardarprimeravez.this).setCancelable(z).setPositiveButton(guardarprimeravez.this.getString(2131886114), new a()).setMessage(2131886371).create();
if (!guardarprimeravez.this.d.equals("")) {
create.setOnShowListener(new DialogInterfaceOnShowListenerC0089b(create));
}
create.show();
((TextView) create.findViewById(R.id.message)).setTypeface(Typeface.MONOSPACE);
} catch (Exception unused2) {
Intent intent2 = new Intent(guardarprimeravez.this, (Class<?>) chat_perfil.class);
guardarprimeravez guardarprimeravezVar2 = guardarprimeravez.this;
if (guardarprimeravezVar2.g) {
intent2 = config.r(intent2, guardarprimeravezVar2.c);
} else {
intent2.putExtra("idsecc", guardarprimeravezVar2.f);
}
guardarprimeravez guardarprimeravezVar3 = guardarprimeravez.this;
if (guardarprimeravezVar3.j.T4 != 2 || guardarprimeravezVar3.i) {
intent2.putExtra("es_root", true);
}
intent2.putExtra("desde_main", guardarprimeravez.this.h);
intent2.putExtra("desde_main_oblig", guardarprimeravez.this.i);
Bundle bundle = guardarprimeravez.this.c;
if (bundle != null) {
intent2.putExtra("desde_buscusus", bundle.getBoolean("desde_buscusus", false));
intent2.putExtra("desde_buscvideos", guardarprimeravez.this.c.getBoolean("desde_buscvideos", false));
intent2.putExtra("desde_foro", guardarprimeravez.this.c.getBoolean("desde_foro", false));
intent2.putExtra("desde_game", guardarprimeravez.this.c.getBoolean("desde_game", false));
intent2.putExtra("desde_px", guardarprimeravez.this.c.getBoolean("desde_px", false));
intent2.putExtra("desde_video", guardarprimeravez.this.c.getBoolean("desde_video", false));
intent2.putExtra("desde_radio", guardarprimeravez.this.c.getBoolean("desde_radio", false));
intent2.putExtra("desde_quiz", guardarprimeravez.this.c.getBoolean("desde_quiz", false));
intent2.putExtra("desde_vistafb", guardarprimeravez.this.c.getBoolean("desde_vistafb", false));
}
intent2.putExtra("nocompletar", true);
guardarprimeravez.this.startActivity(intent2);
return;
}
} else {
if (b.byteValue() == 2) {
SharedPreferences.Editor edit2 = guardarprimeravez.this.b.edit();
edit2.remove("nick");
edit2.commit();
}
try {
AlertDialog create2 = new AlertDialog.Builder(guardarprimeravez.this).setCancelable(false).setPositiveButton(guardarprimeravez.this.getString(2131886114), new c()).create();
try {
if (b.byteValue() == 4) {
create2.setMessage(guardarprimeravez.this.getResources().getString(2131886372));
SharedPreferences.Editor edit3 = guardarprimeravez.this.b.edit();
str = "desde_vistafb";
edit3.putBoolean("mostrar_recordarcontra", true);
edit3.commit();
} else {
str = "desde_vistafb";
create2.setMessage(guardarprimeravez.this.getResources().getString(2131886423));
}
if (!guardarprimeravez.this.d.equals("")) {
create2.setOnShowListener(new d(create2));
}
create2.show();
((TextView) create2.findViewById(R.id.message)).setTypeface(Typeface.MONOSPACE);
} catch (Exception unused3) {
Intent intent3 = new Intent(guardarprimeravez.this, (Class<?>) chat_perfil.class);
guardarprimeravez guardarprimeravezVar4 = guardarprimeravez.this;
if (guardarprimeravezVar4.g) {
intent3 = config.r(intent3, guardarprimeravezVar4.c);
} else {
intent3.putExtra("idsecc", guardarprimeravezVar4.f);
}
guardarprimeravez guardarprimeravezVar5 = guardarprimeravez.this;
if (guardarprimeravezVar5.j.T4 != 2 || guardarprimeravezVar5.i) {
intent3.putExtra("es_root", true);
}
intent3.putExtra("desde_main", guardarprimeravez.this.h);
intent3.putExtra("desde_main_oblig", guardarprimeravez.this.i);
Bundle bundle2 = guardarprimeravez.this.c;
if (bundle2 != null) {
intent3.putExtra("desde_buscusus", bundle2.getBoolean("desde_buscusus", false));
intent3.putExtra("desde_buscvideos", guardarprimeravez.this.c.getBoolean("desde_buscvideos", false));
intent3.putExtra("desde_foro", guardarprimeravez.this.c.getBoolean("desde_foro", false));
intent3.putExtra("desde_game", guardarprimeravez.this.c.getBoolean("desde_game", false));
intent3.putExtra("desde_px", guardarprimeravez.this.c.getBoolean("desde_px", false));
intent3.putExtra("desde_video", guardarprimeravez.this.c.getBoolean("desde_video", false));
intent3.putExtra("desde_radio", guardarprimeravez.this.c.getBoolean("desde_radio", false));
intent3.putExtra("desde_quiz", guardarprimeravez.this.c.getBoolean("desde_quiz", false));
String str2 = str;
intent3.putExtra(str2, guardarprimeravez.this.c.getBoolean(str2, false));
}
guardarprimeravez.this.startActivity(intent3);
return;
}
} catch (Exception unused4) {
str = "desde_vistafb";
}
}
return;
} catch (Exception unused5) {
return;
}
}
guardarprimeravez guardarprimeravezVar6 = guardarprimeravez.this;
if (guardarprimeravezVar6.j.R5 == 3) {
SharedPreferences.Editor edit4 = guardarprimeravezVar6.b.edit();
edit4.putBoolean("email_confirmado", true);
edit4.commit();
}
Intent intent4 = new Intent(guardarprimeravez.this, (Class<?>) s_guardarperfil.class);
intent4.putExtra("foto1_modif", guardarprimeravez.this.b.getString("foto1_modif", "0"));
guardarprimeravez.this.startService(intent4);
guardarprimeravez guardarprimeravezVar7 = guardarprimeravez.this;
if (guardarprimeravezVar7.h) {
if (b.byteValue() == 11) {
r3 = 1;
guardarprimeravez.this.b.edit().putBoolean("glob_acceso_validado", true).commit();
} else {
r3 = 1;
}
guardarprimeravez guardarprimeravezVar8 = guardarprimeravez.this;
if (guardarprimeravezVar8.j.H2 > r3 && !guardarprimeravezVar8.b.getBoolean("glob_acceso_validado", false)) {
Intent intent5 = new Intent(guardarprimeravez.this, (Class<?>) codigo.class);
intent5.putExtra("es_root", (boolean) r3);
guardarprimeravez.this.startActivity(intent5);
return;
}
guardarprimeravez guardarprimeravezVar9 = guardarprimeravez.this;
int i = guardarprimeravezVar9.j.T4;
if (i == 2 && !guardarprimeravezVar9.i) {
guardarprimeravezVar9.k.finish();
return;
}
if (i == 2) {
Intent intent6 = new Intent(guardarprimeravez.this, (Class<?>) t_menugrid.class);
guardarprimeravez guardarprimeravezVar10 = guardarprimeravez.this;
guardarprimeravezVar10.j.b = MediaError.DetailedErrorCode.APP;
SharedPreferences.Editor edit5 = guardarprimeravezVar10.b.edit();
edit5.putInt("ind_secc_sel", guardarprimeravez.this.j.b);
edit5.commit();
intent6.putExtra("es_root", true);
guardarprimeravez.this.startActivity(intent6);
return;
}
boolean z2 = false;
int i2 = 0;
while (!z2) {
m[] mVarArr = guardarprimeravez.this.j.Z1;
if (i2 >= mVarArr.length) {
break;
} else if (mVarArr[i2].B) {
i2++;
} else {
z2 = true;
}
}
k C = guardarprimeravez.this.j.C(Integer.valueOf(!z2 ? 0 : i2), guardarprimeravez.this);
C.a.putExtra("es_root", true);
guardarprimeravez.this.startActivity(C.a);
return;
}
Bundle bundle3 = guardarprimeravezVar7.c;
if (bundle3 == null || !bundle3.getBoolean("desde_buscusus", false)) {
Bundle bundle4 = guardarprimeravez.this.c;
if (bundle4 == null || !bundle4.getBoolean("desde_buscvideos", false)) {
Bundle bundle5 = guardarprimeravez.this.c;
if (bundle5 == null || !bundle5.getBoolean("desde_foro", false)) {
Bundle bundle6 = guardarprimeravez.this.c;
if (bundle6 == null || !bundle6.getBoolean("desde_game", false)) {
Bundle bundle7 = guardarprimeravez.this.c;
if (bundle7 == null || !bundle7.getBoolean("desde_px", false)) {
Bundle bundle8 = guardarprimeravez.this.c;
if (bundle8 == null || !bundle8.getBoolean("desde_video", false)) {
Bundle bundle9 = guardarprimeravez.this.c;
if (bundle9 == null || !bundle9.getBoolean("desde_radio", false)) {
Bundle bundle10 = guardarprimeravez.this.c;
if (bundle10 == null || !bundle10.getBoolean("desde_quiz", false)) {
Bundle bundle11 = guardarprimeravez.this.c;
intent = (bundle11 == null || !bundle11.getBoolean("desde_vistafb", false)) ? new Intent(guardarprimeravez.this, (Class<?>) t_chat.class) : new Intent(guardarprimeravez.this, (Class<?>) t_vistafb.class);
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_url.class);
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_radio.class);
guardarprimeravez guardarprimeravezVar11 = guardarprimeravez.this;
config configVar = guardarprimeravezVar11.j;
intent.putExtra("ind", config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar11.f)));
}
} else {
guardarprimeravez guardarprimeravezVar12 = guardarprimeravez.this;
if (guardarprimeravezVar12.j.Z1[config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar12.f))].N == 0) {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_video.class);
} else {
guardarprimeravez guardarprimeravezVar13 = guardarprimeravez.this;
intent = guardarprimeravezVar13.j.Z1[config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar13.f))].N == 1 ? new Intent(guardarprimeravez.this, (Class<?>) t_video_exoplayer.class) : new Intent(guardarprimeravez.this, (Class<?>) t_video_playerjs.class);
}
guardarprimeravez guardarprimeravezVar14 = guardarprimeravez.this;
intent.putExtra(ImagesContract.URL, guardarprimeravezVar14.j.Z1[config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar14.f))].e);
guardarprimeravez guardarprimeravezVar15 = guardarprimeravez.this;
intent.putExtra("ua", guardarprimeravezVar15.j.Z1[config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar15.f))].j);
guardarprimeravez guardarprimeravezVar16 = guardarprimeravez.this;
config configVar2 = guardarprimeravezVar16.j;
intent.putExtra("ind", config.f28r6.indexOf(Integer.valueOf(guardarprimeravezVar16.f)));
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_url.class);
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_url.class);
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_url.class);
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_buscvideos.class);
}
} else {
intent = new Intent(guardarprimeravez.this, (Class<?>) t_buscusus.class);
}
guardarprimeravez guardarprimeravezVar17 = guardarprimeravez.this;
if (guardarprimeravezVar17.g) {
intent = config.r(intent, guardarprimeravezVar17.c);
} else {
intent.putExtra("idsecc", guardarprimeravezVar17.f);
}
if (guardarprimeravez.this.j.T4 != 2) {
intent.putExtra("es_root", true);
}
guardarprimeravez.this.startActivity(intent);
}
private b() {
}
}
@Override
public void onCreate(Bundle bundle) {
String str;
config configVar = (config) getApplicationContext();
this.j = configVar;
if (configVar.l1 == null) {
configVar.f1();
}
this.k = this;
Bundle extras = getIntent().getExtras();
this.c = extras;
this.g = extras != null && extras.containsKey("externo");
Bundle bundle2 = this.c;
this.h = bundle2 != null && bundle2.getBoolean("desde_main", false);
this.i = this.c.getBoolean("desde_main_oblig", false);
if (this.h) {
str = this.j.n1;
this.f = 0;
} else if (this.g) {
config configVar2 = this.j;
str = configVar2.Z1[configVar2.c].g;
} else {
config configVar3 = this.j;
str = configVar3.Z1[configVar3.c].g;
this.f = this.c.getInt("idsecc");
}
this.d = config.h(str, this.j.w1);
if (!config.J("#" + str)) {
setTheme(2131952516);
}
super.onCreate(bundle);
SharedPreferences sharedPreferences = getSharedPreferences("sh", 0);
this.b = sharedPreferences;
this.e = sharedPreferences.getLong("idusu", 0L);
ProgressDialog progressDialog = new ProgressDialog(this);
this.a = progressDialog;
progressDialog.setMessage(getString(2131886517));
this.a.setIndeterminate(true);
this.a.setOnShowListener(new a());
this.a.show();
new b().execute(new String[0]);
}
@Override
public void onStop() {
super.onStop();
finish();
}
}