thank you.

On May 17, 7:08 am, Mark Murphy <mmur...@commonsware.com> 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 <erjdri...@gmail.com> wrote:
> > 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.
>
> >            <EditTextPreference
> >                                android:key="emp_id"
> >                                android:title="@string/pref_empid"
> >                                android:singleLine="true" />
>
> > how do i tell it to use my EditTextPreference sub-class.
>
> > On May 16, 8:24 pm, Nicholas Johnson <metthejohn...@gmail.com> wrote:
> >> 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 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-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 3.4 Available!

-- 
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-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to