I get stuck in widget.setPreferenceForKey!
I would like to store a key using widget.setPreferenceForKey("123","rec");
When I put this in an example downloaded from the web, it works well.
However, when I put this statement in my file, it doesn't work, anything I need to preset?
I just do a simple test in the web sample