views:

27

answers:

0

Hi All,

In my live wallpaper app, I am facing this issue. I want to update my LiveWallpaper service with values that User types in the wallpaper settings activity. (e.g String) What I have done til now : Converted the wallpaper service to implment SharedPreferences.OnSharedPreferenceChangeListener interface, to listen if any changes done in settings.

The issue is: I can pass only the int values , but not string arrays or collections. Shared preferences only supports int as i know.

What should I do to pass string values from wallpaper settings to wallpaper service? Am I making some architecture related mistakes. Please help.