Android Question Webview CaptureBitmap not working with api 21+

fredo

Well-Known Member
Licensed User
Longtime User
An App of mine used the webview.CaptureBitmap method successful the last few years.
It worked as expected even with contents longer than the webviews height.

After changing the Manifest from "20" to
B4X:
android:targetSdkVersion="21"
the resulting Bitmap now has only the top visible part of the webview.

According to this and this the result of capturebitmap is different now due to performance reasons.

Is there something I can do to get the full webview content as a bitmap even with targetSdkVersion=21 and up?

 

fredo

Well-Known Member
Licensed User
Longtime User

Thank you Erel!
It worked.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…