title: live wallpaper-settings button is not working
body: <p>okay, this is my very first application which i am working on, everything works fine until i wanted to add a settings button to my live wallpaper, the problem is, when i simply hit "settings" it comes with this message of "live wallpaper picker has stopped". here's my code</p>
  
  <p>Android manifest</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
     package="com.Live.zaki"
    android:versionCode="1"
     android:versionName="1.0" &gt;
  
     &lt;uses-sdk
      android:minSdkVersion="10"
      android:targetSdkVersion="16" /&gt;
  
     &lt;application
       android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name="com.example.ui.MainActivity"
          android:configChanges="orientation|keyboardHidden|screenSize"
          android:exported="true"
          android:label="@string/app_name"
          android:theme="@style/FullscreenTheme" &gt;
           /&gt;
  
  
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      android:label="@string/appName"
      android:icon="@drawable/icon"&gt;
  
  
      &lt;service
          android:name="com.Live.zaki.CustomWallpaper"
          android:label="@string/appName"
          android:permission="android.permission.BIND_WALLPAPER" &gt;
          &lt;intent-filter&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:name="com.example.ui.SecondActivity"
          android:label="Home" &gt;
      &lt;/activity&gt;
      &lt;activity
        android:name=".PrefsActivity"
      android:theme="@android:style/Theme.Black.NoTitleBar" &gt;
      &lt;/activity&gt;
      &lt;/application&gt;
  
       &lt;/manifest&gt;
  </code></pre>
  
  <p>wallpaper.xml</p>
  
  <pre><code>&lt;wallpaper xmlns:android="http://schemas.android.com/apk/res/android" 
  android:thumbnail="@drawable/icon"
  android:description="@string/appDescription"
  android:settingsActivity="com.Live.zaki.PrefsActivity"
  /&gt;
  </code></pre>
  
  <p>prefs.xml</p>
  
  <pre><code>     &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;PreferenceCategory 
      android:title="@string/general_lwp_settings"&gt;
  
      &lt;CheckBoxPreference
          android:key="lwp_o_scroll_lock_key"
          android:summary="@string/lwp_o_scroll_lock_summary"
          android:title="@string/lwp_o_scroll_lock_title"
          android:defaultValue="false" /&gt;
    &lt;CheckBoxPreference
          android:key="lwp_auto_animation_key"
          android:summary="@string/lwp_auto_animation_summary"
          android:title="@string/lwp_auto_animation_title"
          android:defaultValue="false" /&gt;
     &lt;/PreferenceCategory&gt;
  </code></pre>
  
  <p>
  PrefsActivity.java</p>
  
  <pre><code>public class PrefsActivity extends PreferenceActivity{@Override
  protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   addPreferencesFromResource(com.Live.zaki.R.xml.prefs);
   }
   }
  </code></pre>
  
  <p>i haven't yet configured any preference logic on my main livewallpaper.java code, i just want that settings menu to popup "two checkbox in my case". Is this even possible ??
  if anyone could help me, that would great !! tips, tutorials anything !!
  here's my application results without settings, </p>
  
  <p><a href="https://drive.google.com/file/d/0B44QwXQHh5irNFRnYkhzdDhPM00/edit?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0B44QwXQHh5irNFRnYkhzdDhPM00/edit?usp=sharing</a></p>