title: Android: Start Activity from preferences.xml
body: <p>I would like to start an Activity from a default preferences.xml, with &lt; intent > tag. The Activities are well tested, the problem is not with that. (I'm extending PreferenceActivity in my app, so the preferences.xml is "comes" with that)
  Please look at the code, what's wrong?</p>
  
  <p>preferences.xml:</p>
  
  <pre><code>.... 
  &lt;PreferenceCategory 
      android:title="@string/titleEtcSetup"&gt;
      &lt;PreferenceScreen
          android:key="renameCourses"
          android:title="@string/titleRenameCourses"
          android:summary="@string/textRenameDisplayedCoursesNames"&gt;
          &lt;intent
               android:action="android.intent.action.VIEW"
               android:targetPackage="my.notifier.ui"
               android:targetClass="my.notifier.ui.EditCoursesNamesActivity" /&gt;         
      &lt;/PreferenceScreen&gt;
  .....
  &lt;/PreferenceCategory&gt;
  ..... 
  </code></pre>
  
  <p>manifest.xml:</p>
  
  <pre><code>....
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="my.notifier.ui"....
  ....
  &lt;activity android:name=".EditCoursesNamesActivity" android:label="@string/titleRenameCourses"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
   .....
  </code></pre>
  
  <p>The Activity isn't calling when I press the "renameCourses item", nothing happens. The LogCat is "clear", no errors or warnings. I was searching a lot, and I didn't find a solution, maybe I just missed something... Please help!</p>