Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PictureListener and onNewPicture() are deprecated - Alternatives?

The Android Developers reference says that both the WebView.PictureListener interface and its onNewPicture() method are deprecated.

Fine, but the need to know when WebView renders a picture is still there. Is there an alternative way to accomplishing this?

like image 594
uTubeFan Avatar asked Oct 19 '11 13:10

uTubeFan


1 Answers

Ok after careful review of the APIs, it seems this cannot be done without using PictureListener. Obviously the person who deprecated this feature didn't provide an alternative.

I suggest you write a bug report http://code.google.com/p/android/issues and ask people here to star it.

Emmanuel

like image 67
Emmanuel Avatar answered Sep 28 '22 18:09

Emmanuel