After MANY different trails, it seems to have all stemmed from not having applying the corresponding intent-filter for my activity.
On Monday, October 1, 2012 3:32:15 AM UTC-4, Timothy Caraballo wrote: > > I've added an account using the AccountManager and can show preferences > directly on the Account Settings pages, but I cannot display an intent > launcher. My preferences.xml is as follows: > > <?xml version="1.0" encoding="utf-8"?> > <PreferenceScreen xmlns:android=" > http://schemas.android.com/apk/res/android" > > > <CheckBoxPreference > android:key="@string/preference_sync_key" > android:defaultValue="true" > android:summary="@string/preference_sync_summary" > android:title="@string/preference_sync_title"/> > > <PreferenceScreen > android:key="account_settings" > android:title="@string/preferences_title" > android:summary="@string/preferences_summary" > > <intent > > android:action="com.example.activities.Preferences.ACCOUNT_SETTINGS" > android:targetPackage="com.example" > android:targetClass="com.example.PreferencesActivity" /> > </PreferenceScreen> > > </PreferenceScreen> > > I put a CheckBoxPreference in just to see if it was reading the XML at > all, and it is. The checkbox appears, but the button to the second > PreferenceScreen, which I would like to launch my intent will not appear at > all. What might I be doing wrong? > -- 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

