[android-developers] Re: update activity/layout from within broadcast receiver

2010-07-01 Thread AUandroid
ok I found a good example.. here is the link if anyone needs it http://www.linux-mag.com/id/7778 On Jun 30, 9:02 pm, AUandroid thevk...@gmail.com wrote: thanks Jeremy, I will try the onresume option. A separate thread is not feasible. -vk On Jun 30, 1:23 am, Jeremy jklei...@gmail.com

[android-developers] Re: update activity/layout from within broadcast receiver

2010-06-30 Thread Jeremy
Here's one crazy workaround, but I'm sure there's an easier way: When your receiver get's set off, you can set a hidden boolean preference (since they are global) and then start a simple dialog activity saying you've lost connectivity. Starting the new activity will call the original activity's

[android-developers] Re: update activity/layout from within broadcast receiver

2010-06-30 Thread AUandroid
thanks Jeremy, I will try the onresume option. A separate thread is not feasible. -vk On Jun 30, 1:23 am, Jeremy jklei...@gmail.com wrote: Here's one crazy workaround, but I'm sure there's an easier way: When your receiver get's set off, you can set a hidden boolean preference (since they are