The SharedPreferences should be saving okay.  There's an open issue
where if you return from the configuration activity to Launcher in a
different orientation, it won't insert the widget correctly.  If the
user returns to the original orientation before returning, I think it
inserts correctly.

j


On Fri, Jul 10, 2009 at 5:55 AM, Stefano Sanna
(gerdavax)<[email protected]> wrote:
>
> Hi.
>
> I'm working on an AppWidget which manages settings using
> SharedPreferences. I'm experiencing a strange behaviour (on a Dream)
> on its configuration Activity:
>
> 1)  if I use software keyboard (that is: without opening physical
> keyboard) to edit text, everything works fine and preferences are
> stored. The happens if the application starts with keyboard already
> open.
>
> 2) if I open physical keyboard (and activity is being restarted and
> rendered in landscape), when saving preferences the widget does not
> appear on the desktop. Sometimes I get an error message ("unable to
> unlink" to the path of application's data).
>
> It seems that, when restarted on keyboard open, the configuration
> Activity looses ownership of its sharedpreferences.
>
> Any idea?
>
> Thank you.
>
> Ciao,
> Stefano.
>
> >
>



-- 
Jeff Sharkey
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to