// Path: hack022/Login/src/com/manning/androidhacks/hack022/login/Login.java
// public class Login {
// 
//   public boolean login(String user, String passwd) {
//     if (user.equals("admin") && passwd.equals("admin")) {
//       return true;
//     } else {
//       return false;
//     }
//   }
// }


import com.manning.androidhacks.hack022.login.Login;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
/*******************************************************************************
 * Copyright (c) 2012 Manning
 * See the file license.txt for copying permission.
 ******************************************************************************/
package com.manning.androidhacks.hack022.androidlib;



public class LoginActivity extends Activity {

  private EditText mEmail;
// Path: hack022/Login/src/com/manning/androidhacks/hack022/login/Login.java
// public class Login {
// 
//   public boolean login(String user, String passwd) {
//     if (user.equals("admin") && passwd.equals("admin")) {
//       return true;
//     } else {
//       return false;
//     }
//   }
// }


// Path: hack022/androidlib/src/com/manning/androidhacks/hack022/androidlib/LoginActivity.java
import com.manning.androidhacks.hack022.login.Login;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

/*******************************************************************************
 * Copyright (c) 2012 Manning
 * See the file license.txt for copying permission.
 ******************************************************************************/
package com.manning.androidhacks.hack022.androidlib;



public class LoginActivity extends Activity {

  private EditText mEmail;
  private EditText mPassword;