Tuesday, October 30, 2012

Re: [android-developers] Icon on Custom Suggestion

I think you should be able to retrieve the icons from the network
ahead of time / on demand, save to disk, and serve as content:// type
URIs in the column you mentioned (this can work on Android 2.2 and
higher).

Another way: the framework's SearchRecentSuggestionsProvider uses an
"android.resource://system" type URI, so you might be able to do this
as well, for a fixed set of most often used icons, using a
"resource://" URI that references your package.

-- K

2012/10/30 Giosia Gentile <gfuman@gmail.com>:
> Hi I have implemented in my app the custom suggestions, and all work fine!
> But, now I want add an icon to the suggestions, I read it is possible with
> the column SUGGEST_COLUMN_ICON_1.
> But for every suggestion I don't have the drawable on the device I have an
> URL of the icon!
> It is possible set the suggestions icon with an url to the icon??
> Thank you so much!!
>
> --
> 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

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate