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.andbook.startingsubactivities; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.util.Log; public class MainActivity extends Activity { public static final String MY_DEFAULTSTRING_ID = "defStrID"; private static final int MYSECONDACTIVITY_REQUESTCODE = 0x1337; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); /* Find the Button from our XML-layout. */ Button b = (Button)this.findViewById(R.id.btn_open_search); b.setOnClickListener(new OnClickListener(){ public void onClick(View arg0) { // Place code to handle Button-Click here. // Create an Intent to start MySecondActivity. */ Intent i = new Intent( MainActivity.this, MySecondActivity.class); //* Create a bundle which will be attached to the Intent, to carry //* information to our MySecondActivity. */ Bundle b = new Bundle(); b.putString(MY_DEFAULTSTRING_ID, "www.google.com"); //* Attach Bundle to our Intent. */ i.putExtras(b); //Send intent to the OS to make // it aware that we want to start MySecondActivity as a SubActivity. */ startActivityForResult(i,MYSECONDACTIVITY_REQUESTCODE); } }); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); //* Check which SubActivity returned. * (Here we have only one.) */ switch(requestCode){ case MYSECONDACTIVITY_REQUESTCODE: //* Create a new Intent to * show the Google-Search Page * //with the keyword returned. */ Intent webIntent = new Intent( android.content.Intent.ACTION_VIEW, Uri.parse("http://www.google.com/search?q=" + data.getExtras(). getString(MainActivity.MY_DEFAULTSTRING_ID))); startActivity(webIntent); break; } } }