This is similar to other questions already asked in the past, but with a new twist. The notification for WebView
's capturePicture()
completion is onNewPicture
, but the latest documentation says that the picture returned in this will always be null from API 18 onwards (Android 4.3).
So far, I've checked that it still works on Android 4.0.3 (and trying to use the captured image fails unless I wait for the notification).
What are we supposed to use as a replacement? Will the picture be returned immediately in onPageFinished
or when WebChromeClient
's progress notifies 100%?
Update
API-18 (Android 4.3) appeared on the SDK a couple of days ago. onNewPicture
still sends the captured picture on the emulator. Unfortunately I have no actual device with Android 4.3.