Hi,

I've a widget with several images that can be skinned. My original idea was 
to have the base skin in the assets folder and skins in SD.
That way I was able to convert easily to Bitmaps to pass to RemoteViews and 
I had the code homogenized. 
The problem is that as images can be big I get the FAILED BINDING 
TRANSACTION 
(https://groups.google.com/d/topic/android-developers/KKEyW6XdDvg/discussion)

I've read that as a solution I have to use setURI in remoteview to load the 
bitmaps with a file:/// or content:///. 
With bitmaps in SD there is no problem and I can use a file:/// but with the 
files in assets there is a standard content provider to give access to it to 
the launcher external process?

I know that I can use resources for defaultSkin and file:/// uris for SD 
skins, but I prefer a more homogeneous solution to use URIs for both if that 
is not more difficult than building the abstractions to homogeenize URIS and 
resources.

Cheers,

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

Reply via email to