Going from a PreferenceScreen to a DialogPreference
<p>My application has a setting menu which is actually a PreferenceActivity. 
When it's created, if a boolean value is not set I want to go to the DialogPreference which sets that.</p>

<p>I tried doing it with an intent but the application force closed with this error msg:</p>

<blockquote>
  <p>E/AndroidRuntime(  239):
  android.content.ActivityNotFoundException:
  Unable to find explicit activity class
  {com.xxxx/com.xxxx.xxxxPreference};
  have you declared this activity in
  your AndroidManifest.xml?</p>
</blockquote>

<p>How should I do this? It's ok to add that DialogPreference to the manifest?</p>
