keep your pre ferrences off mon key svp On Tue, Oct 12, 2010 at 1:03 AM, joebowbeer <joe.bowb...@gmail.com> wrote: > The DeviceAdminSample tests if the user is a monkey: > > http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html > http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() > > I'd override onPreferenceTreeClick and/or onPreferenceChange in your > PreferenceActivity and insert the test there, > > On Oct 11, 5:58 pm, Bret Foreman <bret.fore...@gmail.com> wrote: >> My preferences section contains user names and passwords that, if >> trashed, render the rest of the app non-functional. How can I keep the >> testing monkey's grubby fingers out of the preferences? > > -- > 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
-- x -- 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