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 com.android.hello; 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.os.Bundle; public class Android extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button launch = (Button)findViewById(R.id.widget33); // 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.widget29); EditText passwordEditText = (EditText) findViewById(R.id.widget30); // 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 } protected void showAlert(String string, String string2, String string3, boolean b) { // TODO Auto-generated method stub } }