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 org.android.frame; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.view.ViewGroup; import android.view.View.OnClickListener; import android.webkit.WebView; import android.widget.Button; import android.widget.FrameLayout; import android.widget.LinearLayout; public class frame extends Activity implements OnClickListener { private final int FP = ViewGroup.LayoutParams.FILL_PARENT; private final int WC = ViewGroup.LayoutParams.WRAP_CONTENT; private Button buttonText; private Button buttonButton; private FrameLayout frameLayout; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); LinearLayout linearLayout = new LinearLayout(this); linearLayout.setOrientation(LinearLayout.VERTICAL); setContentView(linearLayout); LinearLayout btnLinearLayout = new LinearLayout(this); btnLinearLayout.setOrientation(LinearLayout.HORIZONTAL); buttonText = new Button(this); buttonText.setText("Text"); buttonText.setOnClickListener(this); buttonButton = new Button(this); buttonButton.setText("Button"); buttonButton.setOnClickListener(this); btnLinearLayout.addView(buttonText, createParam(WC, WC)); btnLinearLayout.addView(buttonButton, createParam(WC, WC)); frameLayout = new FrameLayout(this); frameLayout.setBackgroundColor(Color.WHITE); linearLayout.addView(btnLinearLayout, createParam(FP, WC)); linearLayout.addView(frameLayout, createParam(200, 100)); } private LinearLayout.LayoutParams createParam(int w, int h){ return new LinearLayout.LayoutParams(w, h); } private ViewGroup.LayoutParams createViewGroupParam(int w, int h){ return new ViewGroup.LayoutParams(w, h); } public void onClick(View v) { if (v == buttonText){ WebView view = new WebView(this); view.getSettings().setJavaScriptEnabled(true); view.loadData("http://openlayers.org/viewer/", "text/html", "utf-8"); // TextView text = new TextView(this); // text.setText(""); // text.setTextColor(Color.RED); // frameLayout.addView(view, createViewGroupParam(WC, WC)); }else if (v == buttonButton){ Button button = new Button(this); button.setText("Button"); frameLayout.addView(button, createViewGroupParam(WC, WC)); } } }