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.subactivitywithresult; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MainActivity extends Activity { protected static final int SUB_ACTIVITY_REQUEST_CODE = 1337; /** Called when the activity is first created. */ @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); // Apply our main.xml-Layout setContentView(R.layout.main); // Find the button defined in the main.xml Button cmd_opensub = (Button)findViewById(R.id.mainactivity_cmd_opensub); // Add an OnClickListener to it, that will open the SubActivity cmd_opensub.setOnClickListener(new OnClickListener(){ // @Override public void onClick(View arg0) { Intent i = new Intent(MainActivity.this, SubActivityWithResult.class); // We use SUB_ACTIVITY_REQUEST_CODE as an 'identifier' startSubActivity(i, SUB_ACTIVITY_REQUEST_CODE); } }); } @Override protected void onActivityResult(int requestCode, int resultCode, String data, Bundle extras) { super.onActivityResult(requestCode, resultCode, data, extras); // Here We identify the subActivity we starte if(requestCode == SUB_ACTIVITY_REQUEST_CODE){ // And show its result showAlert("SubActivity returned", "ReturnValue: " + data, "OK", false); } } }