Basic Preferences Android
<p>Hello this is my first post. Basically I'm a noobie Android developer and I've been working on a live wallpaper over the last couple of weeks.</p>

<p>I've completed the live wallpaper but I'd like to add some functionality via customization. I've spend about 4-5 days trying to get my "Settings" button to work. I've tried shared preferences from the Google API cube_settings which seemed very complicated for a settings menu. </p>

<p>I've copied various pieces of code and modified them to my app without success. I'm on the verge of giving up (Since I work 9-5 and I've been doing this 5:15 till 12 every night without success, very frustrating)</p>

<p>What I want to have is for the settings "page" to load up the XML layout, so far I've got this:</p>

<p>xml/settings.xml : This part points the "settings button" towards my java class Settings.java or at least I think it does.</p>

<pre><code>android:settingsActivity="com.forwardapps.functions.Settings"
</code></pre>

<p>Once in this class I've got no idea what to do with it, I've tried many many different things such as setContentView etc etc.</p>

<p>Every time I press the settings button I get the error:
"The Application Live Wallpaper Picker (process com.android.wallpaper.livepicker) has stopped..." </p>

<p>Settings works in my other live wallpapers on the phone.</p>

<p>The logcat give's me this error:</p>

<p>02-01 22:29:09.631: E/AndroidRuntime(24491): java.lang.IllegalStateException: Could not execute method of the activity</p>

<p>My settings.xml is basically:</p>

<pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" &gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>Can anyone show me how I can get the layout to show (simplest means possible) or atleast give me a good tutorial that doesn't throw me in the deep end like most of the Google ones.</p>

<p>Any help would be much appreciated because I've spend so much time just trying to get this little bit of my app working, I wish Google had made a better IDE for novices too use as I don't have time to read books that are 600 pages long :-(</p>

<p>Thanks Olly</p>
