Monday, February 7, 2011

Re: [android-developers] imageRes

If that's your own application, sure.

If it's not, I don't see how the "remote" side of RemoteViews would know
to load some resources from your application and the icon from another
package.

-- Kostya

07.02.2011 11:44, b_t пишет:
> Hi,
>
> ActivityInfo class contains an icon attribute which is a resource id.
> Can my appwidget use this resource id to display this icon?
> (ResourceViews.setImageViewResource)
> Or I have to load the icon and call setImageViewBitmap?
> The problem with this solution that it puts more data to the
> transaction.
>
> Thanks, Tamás
>


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment