String url = "http://blah.com/favicon.ico";;
DefaultHttpClient client = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(request.url);
HttpResponse httpResponse = client.execute(httpGet);
InputStream is = (java.io.InputStream)
httpResponse.getEntity().getContent();
Drawable image = Drawable.createFromStream(is,"src");

use the Drawable as you see fit.

NB: this is a blocking request and ideally should not be executed on
the UI thread. If you're just mucking around with ideas then blocking
the UI thread probably isn't a concern though.

Ed

On Jul 31, 7:52 pm, aye thwe <[email protected]> wrote:
> Hi everybody!
> I m now studying NewsDroid Rss Feed project. I want to get favicon
> from Feed Url also.
> But i don't know how to get it. Please help.
> Thank you all.
>
> with regards,
> ayethwe

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to