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.example.service.app; import android.content.*; import android.os.*; import android.util.*; import android.view.*; import android.widget.*; import com.example.service.*; public class Activity extends android.app.Activity { public static final String TAG = Activity.class.getSimpleName(); private IService service = Connection.create(IService.class); @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final IConnection connection = (IConnection)service; final Button bindServiceButton = (Button) findViewById(R.id.bindservice); bindServiceButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { connection.bind(Activity.this, Context.BIND_AUTO_CREATE); } }); final Button unbindServiceButton = (Button) findViewById(R.id.unbindservice); unbindServiceButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { connection.unbind(Activity.this); } }); final Button checkServiceButton = (Button) findViewById(R.id.checkservice); unbindServiceButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { Toast.makeText(Activity.this, "The service is" + (connection.isConnected()?"":" not") + " connected.", Toast.LENGTH_SHORT).show(); } }); connection.addOnConnected(new Runnable() { @Override public void run() { try { Log.w(TAG, "Connected. (Pid: " + service.getPid() + ")"); bindServiceButton.setEnabled(false); unbindServiceButton.setEnabled(true); } catch (RemoteException e) { e.printStackTrace(); } } }); connection.addOnDisconnected(new Runnable() { @Override public void run() { Log.w(TAG, "Disconnected."); bindServiceButton.setEnabled(true); unbindServiceButton.setEnabled(false); } }); connection.bind(this, Context.BIND_AUTO_CREATE); } @Override public void onDestroy() { final IConnection connection = (IConnection)service; connection.unbind(this); super.onDestroy(); } }