On Fri, Aug 27, 2010 at 4:17 AM, booooooooooooo <[email protected]> wrote:

> but how do I go about opening the child PreferenceScreen via an Intent?
>

>From the docs for PreferenceActivity:

To specify an Intent to query Activities that each have preferences, use
> addPreferencesFromIntent(Intent). Each Activity can specify meta-data in the
> manifest (via the key METADATA_KEY_PREFERENCES) that points to an XML
> resource. These XML resources will be inflated into a single preference
> hierarchy and shown by this activity.
>
> To specify an object hierarchy rooted with PreferenceScreen, use
> setPreferenceScreen(PreferenceScreen).
>

Granted, that's not exactly crystal clear, but you should probably start by
looking at those two functions mentioned.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to