[android-developers] Re: EditTextPreference question

2011-05-17 Thread dashman
disregard. i needed a public prefix to the constructor. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develope

[android-developers] Re: EditTextPreference question

2011-05-17 Thread dashman
I did this and am getting the following now. Caused by: java.lang.NoSuchMethodException: EditTextPreferenceEncrypt(Context,AttributeSet) at java.lang.Class.getMatchingConstructor(Class.java:669) at java.lang.Class.getConstructor(Class.java:484) at android.preference.GenericInflater.

[android-developers] Re: EditTextPreference question

2011-05-17 Thread dashman
thank you. On May 17, 7:08 am, Mark Murphy wrote: > Use your fully-qualified class name (e.g., > com.dashman.MySuperEditTextPreference) as the element name instead of > EditTextPreference. > > > > > > > > > > On Tue, May 17, 2011 at 7:01 AM, dashman wrote: > > ok i've decided to go that route. >

Re: [android-developers] Re: EditTextPreference question

2011-05-17 Thread Mark Murphy
Use your fully-qualified class name (e.g., com.dashman.MySuperEditTextPreference) as the element name instead of EditTextPreference. On Tue, May 17, 2011 at 7:01 AM, dashman wrote: > ok i've decided to go that route. > > i can sub-class and test the different methods. > > the preference activity

[android-developers] Re: EditTextPreference question

2011-05-17 Thread dashman
ok i've decided to go that route. i can sub-class and test the different methods. the preference activity is based on an xml file. how do i tell it to use my EditTextPreference sub-class. On May 16, 8:24 pm, Nicholas Johnson wrote: > I'm not a 100% on this, but I would try and

[android-developers] Re: EditTextPreference question

2011-05-16 Thread Nicholas Johnson
I'm not a 100% on this, but I would try and extend the EditTextPreference and add the encryption code there. You would have to override the Preference methods such as onSetInitialValue, onBindView, persistString, etc. I've never done this, but that'd be my best guess. Nick -- You received thi