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 de.Example; import android.net.*; import android.os.Bundle; import android.view.*; import android.view.ViewGroup.LayoutParams; import android.widget.*; import android.app.*; import android.content.*; import android.graphics.*; import android.graphics.drawable.*; import android.content.res.*; public class SettingsActivity extends Activity { public static final int SETTINGS_ACTIVITY_RESULT = 0; public static final int SELECTED = 0; public static final int NOT_SELECTED = 1; private LinearLayout main; private Button selectedButton; private Button notSelectedButton; private ButtonListener buttonListener; private Intent mIntent; private Intent replyIntent; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); initIntent(); makeGUI(); } private void initIntent() { mIntent = this.getIntent(); replyIntent = new Intent(); } private void makeGUI() { main = new LinearLayout(this); main.setLayoutParams(new LinearLayout.LayoutParams(320,480)); main.setBackgroundColor(Color.WHITE); main.setOrientation(LinearLayout.VERTICAL); main.setGravity(Gravity.CENTER); buttonListener = new ButtonListener(); selectedButton = new Button(this); selectedButton.setLayoutParams(new LinearLayout.LayoutParams(140,60)); selectedButton.setId(SELECTED); selectedButton.setOnClickListener(buttonListener); selectedButton.setText("Selected"); main.addView(selectedButton); notSelectedButton = new Button(this); notSelectedButton.setLayoutParams(new LinearLayout.LayoutParams(140,60)); notSelectedButton.setId(NOT_SELECTED); notSelectedButton.setOnClickListener(buttonListener); notSelectedButton.setText("Not Selected"); main.addView(notSelectedButton); setContentView(main); } public class ButtonListener implements View.OnClickListener { @Override public void onClick(View v) { switch(v.getId()) { case SELECTED: replyIntent.putExtra("settings", "SELECTED"); setResult(SETTINGS_ACTIVITY_RESULT,replyIntent); finish(); break; case NOT_SELECTED: replyIntent.putExtra("settings", "NOT_SELECTED"); setResult(SETTINGS_ACTIVITY_RESULT,replyIntent); finish(); break; default: break; } } } }