How to use PreferencesFragment with LiveWallpaper?

view story

http://stackoverflow.com – How do I use PreferencesFragment with LiveWallpaper ? Reading about PreferenceFragments here: http://developer.android.com/guide/topics/ui/settings.html it says: You can then add this fragment to an Activity just as you would for any other Fragment. I tried adding the call to getFragmentManager() in my code, but the code is for LiveWallpaper, subclassing BaseLiveWallpaperService (in AndEngine), which is not an Activity apparently. (HowTos)