Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Kostya Vasilyev
Ok, just reinstalled from Market, added a clock widget, removed it, tried to add one again. The config activity worked fine, then after confirming, this showed up in the logcat: 01-06 01:25:08.770 E/AndroidRuntime(26804): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null,

Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Ashley McConnell
Hi Kostya, Thanks again. I have exactly that code for both config activities, so I don't think that's the problem. Thanks for the stack trace, I was seeing that warning in the logs, but it didn't have a stack trace associated with it for some reason, I'm not sure why. I've tracked down the sour

Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Kostya Vasilyev
The code in Launcher looks up the widget info object by the widget id. Does your code properly handle that? Here is my code from a widget config activity: Intent resultValue = new Intent(); resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); setResult(RESULT_OK, resultValue);

Re: [android-developers] AppWidgets Disappearing from list in ICS

2012-01-05 Thread Ash McConnell
Hi Kostya, Sorry for the late reply, it has been a hectic holiday period. I couldn't get it to cause any problems in the emulator or any warnings on my Android 2.2 device (Motorola Defy) I got the user to send me a log file using a logfile capture app. There was one exception of interest: -

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Kostya Vasilyev
Have you tried your widgets on the ICS emulator? Does repeating the sequence reported by the user on a pre-ICS device result in any warnings or errors in the logcat? 15 декабря 2011 г. 18:10 пользователь Ash McConnell написал: > He is using the default ICS (Galaxy Nexus) Launcher. > > -Ash > > -

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
He is using the default ICS (Galaxy Nexus) Launcher. -Ash -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-develo

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Ok, the user has responded to me with: - "Ok I got the update then I did this added a clock removed that clock went back to widgets, icon for clock still there got as far as tapping add widget got "Unfortunately, Launcher has stopped." clock widget now missing from widget list So then i tried re

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Hi Kostya, Yep, it was a good suggestion, I just had forgotten that he had a Nexus and it didn't have external storage. I've asked him to try a reboot, hopefully that will help. Thanks again! Ash -- You received this message because you are subscribed to the Google Groups "Android Developers"

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Kostya Vasilyev
Have you already asked him to reboot the device, just in case? I've had similar reports (not on ICS) where rebooting helped. As for the memory card and ICS - the original message didn't say it was a Galaxy Nexus, and there are already ICS - based ports of Cyanogen for a variety of devices

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-15 Thread Ash McConnell
Yep, the user has just replied that he has a Galaxy Nexus and it doesn't have an SD card of course :( Can anyone think of another reason why the Widgets are being removed from the list when deleted from the homescreen? He says that the application still appears in the list of apps, so he isn't

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Nikolay Elenkov
On Thu, Dec 15, 2011 at 1:26 AM, Ash McConnell wrote: > Ahhaaa, now that's a question to ask. > > Thanks Kostya, That sounds plausible!  I'll ask now > AFAIK, the only widely available device with ICS is the Galaxy Nexus, and it doesn't have an SD card. In fact there is no separation between 'int

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Ash McConnell
Ahhaaa, now that's a question to ask. Thanks Kostya, That sounds plausible! I'll ask now All the best, Ash -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubs

Re: [android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Kostya Vasilyev
Did they install your app to the memory card? 14 декабря 2011 г. 20:17 пользователь Ash McConnell написал: > Hi Folks, > > A user is reporting a problem with my AppWidgets disappearing from the list > of widgets in ICS.  I only have a Froyo (2.2) device to test on.  I'm not > sure whether this is

[android-developers] AppWidgets Disappearing from list in ICS

2011-12-14 Thread Ash McConnell
Hi Folks, A user is reporting a problem with my AppWidgets disappearing from the list of widgets in ICS. I only have a Froyo (2.2) device to test on. I'm not sure whether this is a problem with ICS only or other versions of the O/S. Does anyone know what might cause this issue? I've been goo

[android-developers] appwidgets

2011-03-09 Thread b_t
Hi, some of my users complains that my appwidgets aren't found in the widget list so they can't add them to the dashboard. Does anyone know how it is possible? I reinstall my app many times from apk - not from the market - during development and sometimes I got the same problem and I have to reb

[android-developers] AppWidgets and permissions

2010-02-19 Thread Michael Scott
Hi, I've developed an appWidget by inheriting AppWidgetProvider and adding it to the manifest as a receiver with the appwidget-metatag. Works fine. Two questions though: 1. It seems that the only reason to add APPWIDGET_UPDATE to the intentfilter of the receiver is to let the widgetpicker recogni

[android-developers] AppWidgets: Reusing RemoteViews instance leaks memory?

2009-05-21 Thread Michael Elsdörfer
I'm writing a widget. Currently, I'm have a simple ImageView, and calling RemoteViews.setImageViewBitmap(). I'm using a service to do the updates. I thought it might be a good idea to reuse an existing RemoteViews instance, so I'm only querying it the first time around, and subsequently simply ca

[android-developers] AppWidgets: Dynamic value for updatePeriodMillis?

2009-05-16 Thread Michael Elsdörfer
The developer blog suggests that one might ask the user for a custom widget update interval: "Consider updating as infrequently as possible, or letting your users pick a custom update frequency. " http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html It's not qu