[android-developers] Re: appwidget icon set

2011-02-17 Thread b_t
I would like to use them in RemoteViews.setImageViewResource or setImageViewUri calls. On febr. 17, 12:42, Marcin Orlowski webnet.andr...@gmail.com wrote: I don't want to store every icon set in the apk, only the default, Depending on for what you are using your icons, it may be still fine

Re: [android-developers] Re: appwidget icon set

2011-02-17 Thread Kostya Vasilyev
17.02.2011 20:59, b_t пишет: I would like to use them in RemoteViews.setImageViewResource or setImageViewUri calls. A resource id - won't work, the widget's image view is in another application (stock or replacement launcher). A Uri - would work, with a file:// or content:// scheme. A file

Re: [android-developers] Re: appwidget icon set

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 18:59, b_t bartata...@gmail.com wrote: RemoteViews.setImageViewResource setImageViewResource takes just resource' id (int), so no luck for obvious reasons. I think you might work that around by getting the drawable resource from other package, then create Bitmap object from

Re: [android-developers] Re: appwidget icon set

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 19:14, Marcin Orlowski webnet.andr...@gmail.com wrote: or setImageViewUri calls. that would be more lucky for file or content schemes though. I just found this thread: http://stackoverflow.com/questions/2249174/looking-for-an-elegant-appwidget-skin-solution which is quite

[android-developers] Re: appwidget icon set

2011-02-17 Thread Pent
I'm trying to get an icon set standard going: ipack.dinglisch.net. There are already around 20 sets there that anyone can use. I'm using them in my widget designer, which sets the image with setImageViewResource. I think Froyo is maybe needed for that, as someone noted. Pent -- You received

[android-developers] Re: appwidget icon set

2011-02-17 Thread Pent
I'm trying to get an icon set standard going: ipack.dinglisch.net. There are already around 20 sets there that anyone can use. I'm using them in my widget designer, which sets the image with setImageViewResource. I think Froyo is maybe needed for that, as someone noted. Pent -- You received