[android-developers] Re: Get result from settings activity intent

2009-05-05 Thread jrgraf...@googlemail.com
The problem I have here is that after the setting is updated in the configuration dialogue I need to dynamically update the current display of all widgets, however since they are running as a pending Intent from the Widget manager I cant see how I can get a notified when the user has closed the

[android-developers] Re: Get result from settings activity intent

2009-05-05 Thread Dianne Hackborn
Correct there is no way to get a result back from a PendingIntent that someone else launched. But you could just write you pending intent to launch your own activity which launches the settings panel. (Though this will still leave back-doors where the user could explicitly go to settings and

[android-developers] Re: Get result from settings activity intent

2009-05-05 Thread jrgraf...@googlemail.com
Thanks Dianne, that did the trick, I have setup a Broadcast receiver to try and catch users manually changing values via the settings panel.now its just a case of finding the names of all the broadcasts that are sent out by various settings panels! On May 5, 5:54 pm, Dianne Hackborn

[android-developers] Re: Get result from settings activity intent

2009-05-04 Thread Mark Murphy
jrgraf...@googlemail.com wrote: I am currently trying to launch a GPS settings activity using startActivityForResulthowever it never seems to be calling my onActivityResult function after it exits. I noticed the docs mentioned that some Intent protocols are not defined to return a result,