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)
public class WifiToggle extends Activity implements CompoundButton.OnCheckedChangeListener { private CheckBox cb; private WifiManager mWm; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mWm = (WifiManager) this.getSystemService(Context.WIFI_SERVICE); LinearLayout mainView = (LinearLayout) findViewById(R.id.top); cb = (CheckBox) findViewById(R.id.check); cb.setOnCheckedChangeListener(this); if (mWm.isWifiEnabled()) { cb.setChecked(true); cb.setText("Wifi is : enabled"); } else { cb.setChecked(false); cb.setText("Wifi is : disabled"); } } public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { if (mWm.setWifiEnabled(true)) cb.setText("Wifi is : enabled"); else { cb.setChecked(false); cb.setText("Attempt to enable failed"); } } else { if ( (mWm.setWifiEnabled(false))) cb.setText("Wifi is : disabled"); else { cb.setChecked(true); cb.setText("Attempt to disable failed"); } } } }