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.vikrant.ToastExample; import android.app.Activity; import android.widget.Button; import android.os.Bundle; import android.view.View; import android.widget.Toast; /** * When you push the button on this Activity, it creates a Toast object and using the Toast method. *Toast#makeText(android.content.Context,java.lang.CharSequence,int) *Toast#LENGTH_SHORT *Toast#LENGTH_LONG */ public class ToastExample extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button button; // short notification button = (Button) findViewById(R.id.button_short); button.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { // Note that we create the Toast object and call the show() method // on it all on one line. Most uses look like this, but there // are other methods on Toast that you can call to configure how // it appears. // Toast t = new Toast(ToastExample.this); t.makeText(ToastExample.this, "Volume set to Max", Toast.LENGTH_SHORT); t.show(); } }); // long notification // The only difference here is that the notification stays up longer. // You might want to use this if there is more text that they're going to read. button = (Button) findViewById(R.id.button_long); button.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { Toast.makeText(ToastExample.this," Your settings have been saved",Toast.LENGTH_LONG).show(); } }); } }