Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package pogz.test; 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; /** * Application Name: Generic Login Screen for the Android Platform (back end) * Description: This is a generic login screen which catches the username and password values * Created on: November 23, 2007 * Created by: Pogz Ortile * Contact: pogz(at)redhat(dot)polarhome(dot)com * Notes: The string values for username and password are assigned to sUserName and sPassword respectively * You are free to distribute, modify, and wreck for all I care. GPL ya! * */ public class PogzTest01 extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); // load up the layout setContentView(R.layout.main); // get the button resource in the xml file and assign it to a local variable of type Button Button launch = (Button)findViewById(R.id.login_button); // this is the action listener launch.setOnClickListener( new OnClickListener() { public void onClick(View viewParam) { // this gets the resources in the xml file and assigns it to a local variable of type EditText EditText usernameEditText = (EditText) findViewById(R.id.txt_username); EditText passwordEditText = (EditText) findViewById(R.id.txt_password); // the getText() gets the current value of the text box // the toString() converts the value to String data type // then assigns it to a variable of type String String sUserName = usernameEditText.getText().toString(); String sPassword = passwordEditText.getText().toString(); // this just catches the error if the program cant locate the GUI stuff if(usernameEditText == null || passwordEditText == null){ showAlert("Crap!", "Couldn't find the 'txt_username' or 'txt_password' " + "EditView in main.xml", "Oh shit!", false); }else{ // display the username and the password in string format showAlert("Logging in", "Username: " + sUserName + "nPassword: " + sPassword , "Ok", true); } } } ); // end of launch.setOnclickListener } }