I had/have the/a disappearing widget image problem too, and mine wasn't related to orientation changes. My post is back 10 pages or so.
I also posted how I got round it: keeping the image cached in device memory and then setting the removeview image with views.setImageViewUri. Good luck, Lee On Sep 17, 5:25 pm, ccylan <[email protected]> wrote: > Hi, as an update, I noticed that the resource IDs in the > BroadcastReceiver's application and that of the calling application > appear to be overlapped and getting confused with one another. > > On Sep 16, 5:20 pm, ccylan <[email protected]> wrote: > > > Hello, > > > Over the past few days I have been trying to implement custom widget > > functionality. In this case I have instantiated a RemoteView > > containing some TextViews and an ImageView in one application's > > BroadcastReceiver. > > The BroadcastReceiver receives the intent signaling it to send the > > RemoteView to the calling application. When the calling application > > receives this RemoteView it uses apply to inflate the view properly > > and display it on the screen. > > > The problem occurs when the activity changes, the inflated RemoteView > > occasionally has information disappear. One time the image even > > changed into another image from a drawable located in the > > BroadcastReceiver's application. Has anyone else experienced a > > similar problem and/or have a solution? > > > I have looked at posts concerning ImageViews in widget use and > > orientation changes. Is this problem related? I am not entirely > > sure. I am currently running Android 1.5 SDK and am not able to > > upgrade for this side project of mine. Thank you for reading my > > concern. > > > Sincerely, > > Charles > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

