title: PreferenceScreen launch activity
body: <p>I have an activity that I'd like to load from a preference screen. I'm getting the following error:</p>
  
  <pre><code>06-23 16:12:00.470: E/AndroidRuntime(3410): android.content.ActivityNotFoundException:    Unable to find explicit activity class {com.polygonattraction.app/com.polygonattraction.app.functions.GetImageActivity}; have you declared this activity in your AndroidManifest.xml?
  </code></pre>
  
  <p>My Preference screen code:</p>
  
  <pre><code>         &lt;PreferenceScreen 
          android:title="Get faces"
          android:summary="Get the faces."&gt;
  
          &lt;intent 
              android:targetClass="com.polygonattraction.app.functions.GetImageActivity"
              android:targetPackage="com.polygonattraction.app" 
           /&gt;
      &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>Activity I'd like to load</p>
  
  <pre><code>public class GetImageActivity extends Activity 
  {
  public void onCreate()
  {
      System.out.println("Started activity...");
              setContentView(R.layout.actilayout); //not done yet
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Here's my manifest also:</p>
  
  <p>
  </p>
  
  <pre><code>&lt;uses-sdk android:minSdkVersion="7" /&gt;
  
  &lt;application 
      android:icon="@drawable/icon"
      android:label="@string/app_name"
      &gt;
  
      &lt;service
          android:label="@string/app_name"
          android:name=".LiveService"        
          android:permission="android.permission.BIND_WALLPAPER"
          &gt;
  
          &lt;intent-filter android:priority="1"&gt;
              &lt;action android:name="android.service.wallpaper.WallpaperService" /&gt;
          &lt;/intent-filter&gt;
  
          &lt;meta-data android:name="android.service.wallpaper" android:resource="@xml/wallpaper" /&gt;
      &lt;/service&gt;
  
      &lt;activity
          android:label="settings"
          android:name="com.polygonattraction.app.functions.Settings"
          android:exported="true"&gt;
      &lt;/activity&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>I'm not good at this Android XML stuff, I'm used to trigga 2d graphics programming. Why have they made it so messy?</p>