Consosio
unknown
java
3 years ago
39 kB
4
Indexable
package com.baeolian.saldoconsorcioandalucia; import android.app.Activity; import android.app.AlertDialog.Builder; import android.app.PendingIntent; import android.content.ContentValues; import android.content.Context; import android.content.ContextWrapper; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Intent; import android.content.IntentFilter; import android.content.ServiceConnection; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.content.res.ColorStateList; import android.content.res.Resources; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.graphics.Color; import android.graphics.Typeface; import android.media.MediaPlayer; import android.net.Uri; import android.nfc.NfcAdapter; import android.nfc.Tag; import android.nfc.tech.MifareClassic; import android.os.Build.VERSION; import android.os.Bundle; import android.os.Handler; import android.os.RemoteException; import android.support.design.widget.NavigationView; import android.support.design.widget.NavigationView.a; import android.support.v4.app.FragmentActivity; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatDelegate; import android.support.v7.app.b; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.EditText; import android.widget.ImageView; import android.widget.Toast; import com.google.android.google.android.AdView; import com.google.android.google.android.a; import com.google.android.google.android.drm.StreamingDrmSessionManager.EventListener; import com.google.android.google.android.g; import com.google.android.google.internal.package_43.Arrays; import com.google.android.google.internal.package_43.CLog; import com.google.android.google.internal.package_43.Downloader; import com.google.android.google.internal.package_43.ErrorActivity.3; import com.google.android.google.internal.package_43.ExtensionData; import com.google.android.google.internal.package_43.L; import com.google.android.google.internal.package_43.MyLog; import com.google.android.google.internal.package_43.Posix; import com.google.android.google.internal.package_43.R.id; import com.google.android.google.internal.package_43.SpecialList; import com.google.android.google.internal.package_43.Threads; import com.google.android.google.internal.package_43.UpdateService.4; import com.libs.org.objectweb.asm.Item; import com.libs.org.objectweb.asm.Settings; import com.libs.org.objectweb.asm.f; import java.io.IOException; import java.text.DecimalFormat; import java.text.SimpleDateFormat; import java.util.Date; public class MainActivity extends AppCompatActivity implements Item { private f a; private ImageView action; private Animation animation; private Boolean available; private Animation blinkAnimation; private Boolean c; private Animation context; Database db; private ImageView icon; private NfcAdapter mAdapter; private DrawerLayout mDrawerLayout; private b mDrawerToggle; private Animation mFadeOutAnimation; private a mListener; private android.widget.TextView this$0; private android.widget.TextView time; private android.widget.TextView title; private ImageView type; private ImageView typeIcon; public MainActivity() {} private void init() { this$0.setText(2131689592); context = AnimationUtils.loadAnimation(getApplicationContext(), 2130771989); type = ((ImageView)findViewById(2131230923)); type.startAnimation(context); title = ((android.widget.TextView)findViewById(2131230875)); this$0.setTextColor(ColorStateList.valueOf(Color.argb(255, 210, 0, 0))); title.setText(2131689605); title.setTextSize(60.0F); title.setTextColor(ColorStateList.valueOf(Color.argb(255, 210, 0, 0))); title.startAnimation(context); typeIcon = ((ImageView)findViewById(2131230764)); typeIcon.setVisibility(0); typeIcon.startAnimation(context); icon = ((ImageView)findViewById(2131230765)); icon.setVisibility(4); } public final void onActivityResult() {} public void onActivityResult(int paramInt1, int paramInt2, Intent paramIntent) { if (!a.onActivityResult(paramInt1, paramInt2, paramIntent)) { super.onActivityResult(paramInt1, paramInt2, paramIntent); } } public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); setContentView(2131427373); final Handler localHandler = new Handler(); final AlertDialog.Builder localBuilder = new AlertDialog.Builder(this); db = new Database(this); mDrawerLayout = ((DrawerLayout)findViewById(2131230798)); mDrawerToggle = new b(this, mDrawerLayout); mDrawerLayout.addDrawerListener(mDrawerToggle); mDrawerToggle.a(); if (getDelegate().getSupportActionBar() != null) { getDelegate().getSupportActionBar().setDisplayOptions(true); } ((NavigationView)findViewById(2131230849)).setNavigationItemSelectedListener(new NavigationView.a() { public final boolean onOptionsItemSelected(MenuItem paramAnonymousMenuItem) { throw new Runtime("d2j fail translate: java.lang.RuntimeException: fail exe a8 = a7\n\tat com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.exec(BaseAnalyze.java:92)\n\tat com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.exec(BaseAnalyze.java:1)\n\tat com.googlecode.dex2jar.ir.ts.Cfg.dfs(Cfg.java:255)\n\tat com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.analyze0(BaseAnalyze.java:75)\n\tat com.googlecode.dex2jar.ir.ts.an.BaseAnalyze.analyze(BaseAnalyze.java:69)\n\tat com.googlecode.dex2jar.ir.ts.UnSSATransformer.transform(UnSSATransformer.java:274)\n\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:163)\n\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\n\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\n\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\n\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\n\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\n\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\n\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\n\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\n\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\n\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\n\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\nCaused by: java.lang.NullPointerException\n"); } }); type = ((ImageView)findViewById(2131230923)); a = new f(this, "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiJerpuhpcuRqOLZhQuAffSG5pj8FGyzXTXyj4UwVE9GEUL/W8GeQcJ1L1QYo3avPpz8D8bGX5ycOBZsJzgXXuu/mMxiyMeT0zeVPIFELVpuNTPYFG4/fUzjECzv5HixBMpucdh8XkM6ay5uaE/BIaryq1wy81fmZiL20WJCMTjtPCFkVs84B8EqbswnhvugDoPpq/1ufQ9DE3W/gOve0Vvll2SsbnD+7ec5nDKq0iYccs5UO1e0dbyEm8muOTKcuoG8urOIHIdfM4wkFD6yZHHfuLhqupy5vKN5rXC0cypKLBrC34iy8Rnsm1Sxt/N5DSo2LDYU1P2FhaDTzOqrPRwIDAQAB", this); a.add(); AdView localAdView = (AdView)findViewById(2131230752); Threads localThreads = Threads.create(); paramBundle = Threads.e; for (;;) { try { if (h != null) { continue; } try { CLog.update(this, "ca-app-pub-6074702624406241~3721558446"); localObject = Arrays.f(); localObject = new MyLog((Downloader)localObject, this).a(this, false); h = ((Posix)localObject); localObject = h; ((Posix)localObject).a(new SpecialList()); localObject = h; ((Posix)localObject).a(); localObject = h; ((Posix)localObject).a("ca-app-pub-6074702624406241~3721558446", com.google.android.google.util.Log.valueOf(new UpdateService.4(localThreads, this))); R.id.read(this); localObject = R.id.priority; localObject = Arrays.get().append((com.google.android.google.internal.package_43.TextView)localObject); localObject = (Boolean)localObject; bool1 = ((Boolean)localObject).booleanValue(); if (bool1) { break label1151; } localObject = R.id.mode; localObject = Arrays.get().append((com.google.android.google.internal.package_43.TextView)localObject); localObject = (Boolean)localObject; bool1 = ((Boolean)localObject).booleanValue(); if (!bool1) { break label1151; } i = 1; if (i != 0) { continue; } com.google.android.google.internal.package_43.StringBuilder.append("Google Mobile Ads SDK initialization functionality unavailable for this session. Ad requests can be made at any time."); localObject = new ErrorActivity.3(localThreads); activity = ((StreamingDrmSessionManager.EventListener)localObject); } catch (RemoteException localRemoteException) { com.google.android.google.internal.package_43.StringBuilder.get("MobileAdsSettingManager initialization failed", localRemoteException); } continue; mListener = new a(this); mListener.a("ca-app-pub-6074702624406241/2482893730"); mListener.a(new g().a()); localAdView.a(new g().a()); SharedPreferences localSharedPreferences = getPreferences(0); Object localObject = localSharedPreferences.edit(); boolean bool1 = localSharedPreferences.getBoolean("murlocs_slayer", false); if (bool1) { time = ((android.widget.TextView)findViewById(2131230799)); time.setText(2131689565); time.setTextColor(ColorStateList.valueOf(Color.argb(255, 0, 130, 0))); type.setImageResource(2131165327); } if ((!a.d("cafe_mensual")) && (!a.a("1_euro_cafe_javoso")) && (!a.a("3_euros_ternero_lechal")) && (!a.a("12.62_euros_credito_universitario"))) { paramBundle = Boolean.FALSE; } else { if (bool1) { paramBundle = type; i = 2131165329; } else { paramBundle = type; i = 2131165328; } paramBundle.setImageResource(i); paramBundle = localAdView.getLayoutParams(); height = 0; localAdView.setLayoutParams(paramBundle); paramBundle = Boolean.TRUE; } available = paramBundle; i = 7000; this$0 = ((android.widget.TextView)findViewById(2131230933)); mAdapter = NfcAdapter.getDefaultAdapter(this); paramBundle = mAdapter; if ((paramBundle != null) && (paramBundle.isEnabled())) { this$0.setText(2131689572); this$0.setTextColor(ColorStateList.valueOf(Color.argb(255, 0, 130, 0))); c = Boolean.TRUE; bool1 = localSharedPreferences.getBoolean("is_first_run", true); boolean bool2 = localSharedPreferences.getBoolean("is_second_run", true); boolean bool3 = localSharedPreferences.getBoolean("is_third_run", true); if (bool1) { paramBundle = new AlertDialog.Builder(this).setTitle(2131689609).setMessage(2131689512).setIcon(2131165310).setPositiveButton(2131689608, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymousDialogInterface, int paramAnonymousInt) { val$editor.putBoolean("is_first_run", false); val$editor.apply(); paramAnonymousDialogInterface.cancel(); } }); paramBundle.show(); } else { if (bool2) { paramBundle = new AlertDialog.Builder(this).setTitle(2131689589).setMessage(2131689586).setIcon(2131165310).setPositiveButton(2131689588, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymousDialogInterface, int paramAnonymousInt) { Object localObject = new StringBuilder("market://details?id="); ((StringBuilder)localObject).append(getApplicationContext().getPackageName()); localObject = new Intent("android.intent.action.VIEW", Uri.parse(((StringBuilder)localObject).toString())); startActivity((Intent)localObject); val$editor.putBoolean("is_second_run", false); val$editor.apply(); paramAnonymousDialogInterface.cancel(); } }).setNeutralButton(2131689566, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymousDialogInterface, int paramAnonymousInt) { val$editor.putBoolean("is_second_run", false); val$editor.apply(); paramAnonymousDialogInterface.cancel(); } }).setNegativeButton(2131689587, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymousDialogInterface, int paramAnonymousInt) { paramAnonymousDialogInterface.cancel(); } }); continue; } if (bool3) { ((SharedPreferences.Editor)localObject).putBoolean("is_third_run", false); ((SharedPreferences.Editor)localObject).apply(); } else { i = 17000; } } } else { this$0.setText(2131689570); this$0.setTextColor(ColorStateList.valueOf(Color.argb(255, 210, 0, 0))); c = Boolean.FALSE; localHandler.postDelayed(new Runnable() { public final void run() { localBuilder.setTitle(2131689571).setMessage(2131689511).setIcon(2131165310).setPositiveButton(2131689550, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymous2DialogInterface, int paramAnonymous2Int) { Intent localIntent; if (Build.VERSION.SDK_INT >= 16) { paramAnonymous2DialogInterface = MainActivity.this; localIntent = new Intent("android.settings.NFC_SETTINGS"); } else { paramAnonymous2DialogInterface = MainActivity.this; localIntent = new Intent("android.settings.WIRELESS_SETTINGS"); } paramAnonymous2DialogInterface.startActivity(localIntent); finish(); } }).show(); } }, 2000L); } context = AnimationUtils.loadAnimation(getApplicationContext(), 2130771989); animation = AnimationUtils.loadAnimation(getApplicationContext(), 2130771984); mFadeOutAnimation = AnimationUtils.loadAnimation(getApplicationContext(), 2130771985); blinkAnimation = AnimationUtils.loadAnimation(getApplicationContext(), 2130771987); blinkAnimation.setRepeatMode(2); blinkAnimation.setRepeatCount(1); action = ((ImageView)findViewById(2131230840)); localHandler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getMFadeOutAnimation(MainActivity.this)); MainActivity.access$getNoResults(MainActivity.this).setVisibility(0); MainActivity.access$getNoResults(MainActivity.this).startAnimation(MainActivity.access$getNotificationCount(MainActivity.this)); localHandler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).setText(2131689513); MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getAnimation(MainActivity.this)); MainActivity.access$getMContainer(MainActivity.this).startAnimation(MainActivity.access$getContext(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getMFadeOutAnimation(MainActivity.this)); MainActivity.access$getNoResults(MainActivity.this).startAnimation(MainActivity.access$getNotificationCount(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).setText(2131689572); MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getAnimation(MainActivity.this)); MainActivity.access$getMContainer(MainActivity.this).startAnimation(MainActivity.access$getContext(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getMFadeOutAnimation(MainActivity.this)); MainActivity.access$getNoResults(MainActivity.this).startAnimation(MainActivity.access$getNotificationCount(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).setText(2131689513); MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getAnimation(MainActivity.this)); MainActivity.access$getMContainer(MainActivity.this).startAnimation(MainActivity.access$getContext(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getMFadeOutAnimation(MainActivity.this)); MainActivity.access$getNoResults(MainActivity.this).startAnimation(MainActivity.access$getNotificationCount(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { if (MainActivity.access$getC(MainActivity.this).booleanValue()) { MainActivity.access$getStatusText(MainActivity.this).setText(2131689572); MainActivity.access$getStatusText(MainActivity.this).startAnimation(MainActivity.access$getAnimation(MainActivity.this)); MainActivity.access$getMContainer(MainActivity.this).startAnimation(MainActivity.access$getContext(MainActivity.this)); val$handler.postDelayed(new Runnable() { public final void run() { MainActivity.access$getNoResults(MainActivity.this).setVisibility(4); } }, 3000L); } } }, 2500L); } } }, 12000L); } } }, 2500L); } } }, 15000L); } } }, 2500L); } } }, 10000L); } } }, 2500L); } } }, i); return; } catch (Throwable localThrowable) { throw localThrowable; } label1151: int i = 0; } } public void onDestroy() { f localF = a; if ((localF != null) && (localF.f()) && (r != null)) { Context localContext = this$0; ServiceConnection localServiceConnection = r; try { localContext.unbindService(localServiceConnection); } catch (Exception localException) { android.util.Log.e("iabv3", "Error in release", localException); } mService = null; } super.onDestroy(); } public void onNewIntent(Intent paramIntent) { Object localObject1 = MediaPlayer.create(this, 2131623937); final AlertDialog.Builder localBuilder = new AlertDialog.Builder(this); final View localView = getLayoutInflater().inflate(2131427376, null); final EditText localEditText = (EditText)localView.findViewById(2131230800); action = ((ImageView)findViewById(2131230840)); title = ((android.widget.TextView)findViewById(2131230875)); icon = ((ImageView)findViewById(2131230765)); typeIcon = ((ImageView)findViewById(2131230764)); context = AnimationUtils.loadAnimation(getApplicationContext(), 2130771989); action.setVisibility(4); ((MediaPlayer)localObject1).start(); for (;;) { try { localObject1 = paramIntent.getParcelableExtra("android.nfc.extra.TAG"); localObject1 = (Tag)localObject1; localObject1 = MifareClassic.get((Tag)localObject1); ((MifareClassic)localObject1).connect(); bool = ((MifareClassic)localObject1).isConnected(); if (!bool) {} } catch (IOException localIOException1) { boolean bool; Object localObject2; Object localObject3; Object localObject4; double d; continue; } try { bool = ((MifareClassic)localObject1).authenticateSectorWithKeyA(9, new byte[] { -103, 16, 2, 37, -40, 59 }); if (bool) { localObject2 = this$0; ((android.widget.TextView)localObject2).setTextColor(ColorStateList.valueOf(Color.argb(255, 0, 130, 0))); localObject2 = ((MifareClassic)localObject1).readBlock(37); localObject3 = findViewById(2131230923); type = ((ImageView)localObject3); localObject3 = type; localObject4 = context; ((View)localObject3).startAnimation((Animation)localObject4); localObject3 = icon; ((ImageView)localObject3).setVisibility(0); localObject3 = icon; localObject4 = context; ((View)localObject3).startAnimation((Animation)localObject4); localObject3 = typeIcon; ((ImageView)localObject3).setVisibility(4); localObject3 = Engine.format((byte[])localObject2); localObject2 = ((String)localObject3).substring(2, 4); localObject3 = ((String)localObject3).substring(0, 2); localObject4 = new StringBuilder(); ((StringBuilder)localObject4).append((String)localObject2); ((StringBuilder)localObject4).append((String)localObject3); int i = Integer.parseInt(((StringBuilder)localObject4).toString(), 16); d = i; Double.isNaN(d); d = d / 2.0D / 100.0D; } } catch (IOException localIOException3) { continue; } try { localObject2 = new DecimalFormat("#0.00"); localObject3 = new StringBuilder(); ((StringBuilder)localObject3).append(((DecimalFormat)localObject2).format(Double.valueOf(d))); ((StringBuilder)localObject3).append(" ?"); localObject2 = ((StringBuilder)localObject3).toString(); localObject3 = title; ((android.widget.TextView)localObject3).setText((CharSequence)localObject2); localObject3 = title; localObject4 = context; ((View)localObject3).startAnimation((Animation)localObject4); localObject3 = title; ((android.widget.TextView)localObject3).setTextColor(ColorStateList.valueOf(Color.argb(255, 0, 170, 0))); localObject3 = title; ((android.widget.TextView)localObject3).setTextSize(60.0F); localObject3 = title; localObject4 = Typeface.DEFAULT_BOLD; ((android.widget.TextView)localObject3).setTypeface((Typeface)localObject4); localObject3 = new Handler(); } catch (IOException localIOException4) { continue; } try { bool = ((MifareClassic)localObject1).isConnected(); if (bool) { bool = ((MifareClassic)localObject1).authenticateSectorWithKeyA(0, new byte[] { 24, 72, -88, -47, -28, -59 }); if (bool) { localObject4 = Engine.format(((MifareClassic)localObject1).readBlock(0)); Object localObject5 = this$0; Database localDatabase = db; ((android.widget.TextView)localObject5).setText(Engine.load(localDatabase, (String)localObject4, getResources().getString(2131689590), getResources().getString(2131689591))); localObject5 = new Handler(); ((Handler)localObject5).postDelayed(new Runnable() { public final void run() { Object localObject = db.query(); StringBuilder localStringBuilder = new StringBuilder(); if (((Cursor)localObject).getCount() == 0) { localStringBuilder.append("\n No hay tarjetas guardadas..."); } else { while (((Cursor)localObject).moveToNext()) { localStringBuilder.append(((Cursor)localObject).getString(0)); localStringBuilder.append("\n"); } } if (localStringBuilder.toString().contains(c)) { localObject = new SimpleDateFormat("dd/MM/yyyy (HH:mm)").format(new Date()); db.update(c, b, (String)localObject); a.postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 2000L); return; } localBuilder.setTitle(2131689567).setMessage(2131689568).setIcon(2131165310).setPositiveButton(2131689610, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymous2DialogInterface, int paramAnonymous2Int) { d.setView(g).setTitle(2131689569).setMessage(null).setCancelable(false).setPositiveButton(2131689593, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymous3DialogInterface, int paramAnonymous3Int) { Object localObject1 = e.getText().toString(); if (((String)localObject1).isEmpty()) { a.postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 1000L); paramAnonymous3DialogInterface = MainActivity.this; localObject1 = new StringBuilder("ERROR: "); ((StringBuilder)localObject1).append(getString(2131689546)); Toast.makeText(paramAnonymous3DialogInterface, ((StringBuilder)localObject1).toString(), 1).show(); return; } paramAnonymous3DialogInterface.cancel(); Object localObject2 = db; paramAnonymous3DialogInterface = c; localObject2 = ((SQLiteOpenHelper)localObject2).getWritableDatabase(); ContentValues localContentValues = new ContentValues(); localContentValues.put("id", paramAnonymous3DialogInterface); localContentValues.put("nombre", (String)localObject1); ((SQLiteDatabase)localObject2).insert("tarjeta", null, localContentValues); paramAnonymous3DialogInterface = new SimpleDateFormat("dd/MM/yyyy (HH:mm)").format(new Date()); db.update(c, b, paramAnonymous3DialogInterface); Toast.makeText(MainActivity.this, getString(2131689518), 1).show(); a.postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 1500L); } }).show(); } }).setNegativeButton(2131689587, new DialogInterface.OnClickListener() { public final void onClick(DialogInterface paramAnonymous2DialogInterface, int paramAnonymous2Int) { paramAnonymous2DialogInterface.cancel(); a.postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 500L); } }).show(); } }, 1500L); continue; } } ((Handler)localObject3).postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 2000L); } catch (IOException localIOException5) { continue; } try { ((Handler)localObject3).postDelayed(new Runnable() { public final void run() { if ((access$getMTimerso.c()) && (!MainActivity.isAvailable(MainActivity.this).booleanValue())) { access$getMTimerso.a(); } } }, 2000L); } catch (IOException localIOException6) {} } init(); try { init(); ((MifareClassic)localObject1).close(); } catch (IOException localIOException2) { for (;;) {} } init(); c = Boolean.FALSE; super.onNewIntent(paramIntent); } public boolean onOptionsItemSelected(MenuItem paramMenuItem) { Object localObject = mDrawerToggle; int i; if ((paramMenuItem != null) && (paramMenuItem.getItemId() == 16908332) && (e)) { i = c.getDrawerLockMode(8388611); View localView = c.findDrawerWithGravity(8388611); boolean bool; if (localView != null) { bool = DrawerLayout.isDrawerVisible(localView); } else { bool = false; } if ((bool) && (i != 2)) { localObject = c; localView = ((DrawerLayout)localObject).findDrawerWithGravity(8388611); if (localView != null) { ((DrawerLayout)localObject).closeDrawer(localView); } else { paramMenuItem = new StringBuilder("No drawer view found with gravity "); paramMenuItem.append(DrawerLayout.gravityToString(8388611)); throw new IllegalArgumentException(paramMenuItem.toString()); } } else if (i != 1) { c.openDrawer(); } i = 1; } else { i = 0; } if (i == 0) { return super.onOptionsItemSelected(paramMenuItem); } return true; } public void onPause() { NfcAdapter localNfcAdapter = mAdapter; try { localNfcAdapter.disableForegroundDispatch(this); super.onPause(); return; } catch (Exception localException) { for (;;) {} } } public void onResume() { try { Object localObject = new Intent(this, MainActivity.class); ((Intent)localObject).addFlags(536870912); localObject = PendingIntent.getActivity(this, 0, (Intent)localObject, 0); NfcAdapter localNfcAdapter = mAdapter; localNfcAdapter.enableForegroundDispatch(this, (PendingIntent)localObject, new IntentFilter[0], null); } catch (Exception localException) { for (;;) {} } super.onResume(); } public void tapMain(View paramView) { SharedPreferences localSharedPreferences = getPreferences(0); Object localObject = localSharedPreferences.edit(); Animation localAnimation = AnimationUtils.loadAnimation(getApplicationContext(), 2130771986); type = ((ImageView)findViewById(2131230923)); title = ((android.widget.TextView)findViewById(2131230875)); title.startAnimation(localAnimation); type.startAnimation(localAnimation); typeIcon = ((ImageView)findViewById(2131230764)); icon = ((ImageView)findViewById(2131230765)); if (typeIcon.getVisibility() == 0) {} for (paramView = typeIcon;; paramView = icon) { paramView.startAnimation(localAnimation); break; if (icon.getVisibility() != 0) { break; } } int i = localSharedPreferences.getInt("contador_easter_egg", 1); ((SharedPreferences.Editor)localObject).putInt("contador_easter_egg", i + 1); ((SharedPreferences.Editor)localObject).apply(); paramView = MediaPlayer.create(this, 2131623936); int j = i % 100; if ((j == 0) && (i < 1000)) { paramView.start(); paramView = getApplicationContext(); localObject = new StringBuilder(); ((StringBuilder)localObject).append(getString(2131689545)); ((StringBuilder)localObject).append(" "); ((StringBuilder)localObject).append(i); ((StringBuilder)localObject).append("."); Toast.makeText(paramView, ((StringBuilder)localObject).toString(), 1).show(); return; } if (i == 1000) { ((SharedPreferences.Editor)localObject).putBoolean("murlocs_slayer", true); ((SharedPreferences.Editor)localObject).apply(); Toast.makeText(getApplicationContext(), getString(2131689541), 1).show(); time = ((android.widget.TextView)findViewById(2131230799)); localObject = new StringBuilder(); ((StringBuilder)localObject).append(getString(2131689565)); ((StringBuilder)localObject).append(" ("); ((StringBuilder)localObject).append(i); ((StringBuilder)localObject).append(")"); localObject = ((StringBuilder)localObject).toString(); time.setText((CharSequence)localObject); time.setTextColor(ColorStateList.valueOf(Color.argb(255, 0, 130, 0))); paramView.start(); return; } if (i > 1000) { localObject = new StringBuilder(); ((StringBuilder)localObject).append(getString(2131689565)); ((StringBuilder)localObject).append(" ("); ((StringBuilder)localObject).append(i); ((StringBuilder)localObject).append(")"); localObject = ((StringBuilder)localObject).toString(); time.setText((CharSequence)localObject); if (j == 0) { paramView.start(); } } } }
Editor is loading...