My new wallpaper is 99.9% finished. One thing I can't get to work, is using a third party color selector widget. This last 0.1% has taken over a week. I need help, and am prepared to pay for it if neccesary. It is that or go crazy.
I have modified the standard cube demo to call an additional ColorPreference for testing. So all I am trying to do for testing is shoehorn a color selection preference into the standard cube demo. I have tried with two different color selector preferences downloaded from GitHub. My cube2settings.xml looks as follows: <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/ android" android:title="@string/cube2_settings" android:key="cube2wallpaper_settings" > <ListPreference android:key="cube2_shape" android:title="@string/cube2_settings_title" android:summary="@string/cube2_settings_summary" android:entries="@array/cube2_shapenames" android:entryValues="@array/cube2_shapeprefix" /> <ListPreference android:key="mechanism_type" android:title="@string/mechanism_title" android:summary="@string/mechanism_summary" android:entries="@array/mechanism_names" android:entryValues="@array/mechanism_types" /> <!-- <com.example.android.livecubes.cube2.ColorPreference --> <!-- android:key="favoriteColor" --> <!-- android:defaultValue="0xFFA4C639" --> <!-- android:title="Your Favorite Color" --> <!-- android:summary="Blue. No yel- Auuuuuuuugh!" --> <!-- /> --> <com.example.android.livecubes.cube2.ColorPickerPreference android:key="rotorcolour" android:title="some title" android:summary="@string/color1_summary" android:defaultValue="#0000FF" alphaSlider="false" /> </PreferenceScreen> The first listpreference is from the cube demo; the second is a test one I put in. The third ColorPreference is commented out. It calls the first color picker I tried. If that is included, the system throws an error when I press settings. The fourth preference uses a different ColorPickerPreference class which I tried instead. This one allows the main preference screen to be shown, but I get a "Thread [<3> main] (Suspended (exception InflateException))" when I select this preference to modify. Without either of these preferences, it works as expected. Apart from copy and pasting the new color selector classes into my project and changing the package names, and the change to cube2settings.xml above, it is the standard cube demo, with the standard Manifest, cube2settings.java etc. This is almost the last thing I have to do to get this out the door. Its driving me crazy. I am missing something very simple. If somebody can suggest what this is, I would be extremely grateful. If not, I am making some obvious, simple mistake - I didn't write any of the code, I just tried to glue two simple demo programs together for testing. For somebody who knows Preferences, it is probably one minute to one hour to find and fix my mistake, and I am desperate enough to pay for this assistance. I can email you the cube test project and you fix my simple mistake. If you have a profile on this group, I am willing to pay some or all upfront. Please email privately. Peter Webb -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en