package com.phicomm.hu;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class FxResultActivity extends Activity {

	private static final String TAG = "ResultActivity";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.result);

		TextView result = (TextView) findViewById(R.id.result);
		// 通过得到intent获取登录界面传来的信息
		Intent intent = getIntent();
		String userName = intent.getStringExtra("userName");
		String passWord = intent.getStringExtra("passWord");
		// 将登录信息在页面中显示
		result.setText("用户名：" + userName + "\n" + "密码：" + passWord);
	}

}
