Problem with a picture from web displayed in an webview

All your problems with Audio, Video and Images.

Problem with a picture from web displayed in an webview

Postby Merlino » Wed Mar 17, 2010 9:46 am

i want to show a picture in an webview from an url.

with all android phones with API 4 or lower there is no problem. but at API 5 die Image is totaly pixaleted.
like android is resizing the image automaticly at API5 to a smaler image.

any ideas how to show the pic at Android 2.0 without any quality loss ?

the first idea was to integrate the pic in the sourcefolder, but at android 2.0 i get exceptions because the size of the pic is too big.
unfortunaley its important to show the pic without any quality loss. so resize the image to a smaller one is no option.
Merlino
Freshman
Freshman
 
Posts: 3
Joined: Wed Jan 20, 2010 10:21 am

Top

Postby Merlino » Thu Apr 08, 2010 10:48 am

cause no one could help me to solve the problem... here is how i "solved" the problem.

i cut the big image into some smaller ones, so that the android phone could display one of them without quality loss.
than i made an html site which put all the small images to one big through an table.

and now i can load the html site with an webview and see the image in good quality.

but i still don know why there is a quality loss for high quality images at API 2.0
Merlino
Freshman
Freshman
 
Posts: 3
Joined: Wed Jan 20, 2010 10:21 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 18 guests