views:

58

answers:

1

In some web browsers, huge images are automatically resized to fit the screen.

Is it possible to do the same in an Android WebView?

The web page just contains the image, maybe adding some JavaScript could do the trick?
Anybody has already done this?

Note: I don't know the size of the image in advance.

+1  A: 

Based on the lack of answers and on the lack of information while searching the Internet, I guess the answer is "no".

We ended up developing image resizing in Java before sending images to the WebView.

Any better solution is very welcome!

Nicolas Raoul