The intent tag is actually underdocumented, which kind of makes it look like
it might be one of those unsupported internal APIs.

You might want to look at implementing your own Preference subclass.
Shouldn't be too difficult.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

20.08.2010 0:07 пользователь "Fabrizio Giudici" <
[email protected]> написал:


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi. I'm currently using this in preferences.xml:

   <PreferenceCategory android:title="@string/preferences_taxonomy">
       <PreferenceScreen
           android:title="@string/preferences_taxonomy_title"
           android:summary="@string/preferences_taxonomy_summary">
           <intent
android:action="it.tidalwave.bluebill.mobile.android.snapshot.action.PICK_TAXONOMY"
/>
       </PreferenceScreen>
   </PreferenceCategory>

This allows to trigger a custom Activity when this specific
preferences item is triggered. Copying from the documentation, I'm
using an implicit intent, and it's working.
But I'd solve a problem if I could use an explicit intent, that is
writing the fully qualified class name of the target Activity. I
didn't find documentation about this, so I don't know whether it's
possible and how to do that.
Thanks.

- --
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxtjscACgkQeDweFqgUGxesbwCfTvDkzWefaBjWv0PDm0G/LvDF
HJYAn3USABw1KIX1UtpnOHnpwuC+vFJO
=uKkV
-----END PGP SIGNATURE-----

--
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]<android-developers%[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

-- 
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