Using PreferenceScreen/PreferenceActivity to configure home screen widgets

Posted by hpe on Stack Overflow See other posts from Stack Overflow or by hpe
Published on 2010-05-14T12:28:52Z Indexed on 2010/05/14 12:34 UTC
Read the original article Hit count: 197

Filed under:

Hi, I'm creating an appwidget, where the user should be able to configure it before it is added to the home screen. To me, PreferenceScreen/PreferenceActivity seems perfect for the task, but the intention behind these classes seem to be configuring an actual application. I've searched, but cannot find any documentation or tutorials which covers this question.

Is it possible to configure a widget using these classes, or is the only alternative to configure it through an ordinary view?

Thanks for any answers!

© Stack Overflow or respective owner

Related posts about android