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.anddev.android.reactonincomingcall; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.telephony.Phone; import android.telephony.PhoneStateIntentReceiver; import android.util.Log; public class ReactOnIncomingCall extends Activity { /** Used to recognize Messages from the * myPhoneStateChangedHandler. */ final int PHONECALLSTATE_RECONGNIZE_ID = 0x539; /** Will notify us on changes to the PhoneState*/ PhoneStateIntentReceiver myPsir = null; /** This Handler will react on the messages the * we made our PhoneStateIntentReceiver myPsir * notify us on. */ Handler myPhoneStateChangedHandler = new Handler(){ @Override public void handleMessage(Message msg) { // Recognize the Message by its what-ID if(msg.what == PHONECALLSTATE_RECONGNIZE_ID){ /* Our PhoneStateIntentReceiver myPsir * now contains some recent data, we can grab. */ Phone.State myState = myPsir.getPhoneState(); // Put the Info to the logger for debugging Log.d("PhoneCallStateNotified", myState.toString()); if(myState == Phone.State.RINGING){ // Celebrate =D } } } }; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { // Set some simple layout super.onCreate(icicle); setContentView(R.layout.main); /* Create a new PhoneStateIntentReceiver * that will pass messages to the handler h * as it receives Intents we make it notify * us below*/ this.myPsir = new PhoneStateIntentReceiver(this, myPhoneStateChangedHandler); /* As we want to get notified on changes * to the Phones-State we tell our * PhoneStateIntentReceiver myPsir, * that we wan to get notified with the ID * (PHONECALLSTATE_RECONGNIZE_ID) we pass to him */ this.myPsir.notifyPhoneCallState(PHONECALLSTATE_RECONGNIZE_ID); /* Register the Intent with the system. */ this.myPsir.registerIntent(); } }