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)
import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.*; public class Settings extends PreferenceActivity { private static final String PREFERENCESFILE = "com.qisda.percy.parsexml_preferences.xml"; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setPreferenceScreen(createPreferenceScreen()); } public PreferenceScreen createPreferenceScreen() { PreferenceScreen root = getPreferenceManager().createPreferenceScreen( this); root.setTitle("Settings"); EditTextPreference city1 = new EditTextPreference(this); city1.setKey("city1"); city1.setTitle("City1"); city1.setDialogTitle("City1:"); String aa = city1.getText(); //city1.getPreferenceManager().getDefaultSharedPreferences(context); String str1 = city1.getEditText().getText().toString(); city1.setSummary(getPreferences("city1")); EditTextPreference city2 = new EditTextPreference(this); city2.setKey("city2"); city2.setTitle("City2"); city2.setDialogTitle("City2:"); String str2 = city2.getEditText().getText().toString(); city2.setSummary(getPreferences("city2")); String bb = city2.getText(); root.addPreference(city1); root.addPreference(city2); return root; } public String getPreferences(String keyCode) { SharedPreferences settings = getSharedPreferences(PREFERENCESFILE, 0); String preferences = settings.getString(keyCode, "Not set!"); return preferences; } }