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 /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

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 /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Validating EditTextPreference created via addPreferencesFrom

Validating EditTextPreference created via addPreferencesFrom

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Validating EditTextPreference created via addPreferencesFrom

Postby androit » Mon Mar 02, 2009 8:24 pm

Hi all,

I am trying to validate a value entered in a EditTextPreference which is in a PreferenceActivity created with a XML resource with addPreferencesFromResource(R.xml.preferences)

My problem is that I can not inflate the EditTextPreference in order to put some sort of listener (most likely OnPreferenceChange but I am open to suggestions).

I need really need to validate this value because I need to cast it to Double afterwards.

Thanks for the help.

Androit
androit
Freshman
Freshman
 
Posts: 9
Joined: Fri Dec 19, 2008 5:15 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 4 guests