Unimplemented WebView method run called from: android.os.Handler.handleCallback(Handler.java:733)

前提是你 提交于 2019-12-11 13:31:20

问题


I am new to Android app development. I try to connect facebook using socialauth. I implemented everything as given. When I execute my app, at background it gets green access to facebook and return back to app, but it opens with a blue screen webview and start to loading, and then still remains same.

Getting errors in Logcat as "W/OpenGLRenderer(1361): Bitmap too large to be uploaded into a texture (2560x1600, max=2048x2048)

W/UnimplementedWebViewApi??(1361): Unimplemented WebView?? method run called from: android.os.Handler.handleCallback(Handler.java:733)"

here is my logcat

Can any one help me resolve this.?


回答1:


W/OpenGLRenderer(1361): Bitmap too large to be uploaded into a texture (2560x1600, max=2048x2048)<br/> ^^^^^^^^^Out Of the range

You can't go beyond the limitations of bitmap as rendering is done by OpenGL.You may want your image to be scaled down to be fitted in to the bitmap range and limit of OpenGL hardware textures (2048x2048) as suggested in the error as well.

So better to pindown the scale of your bitmap by some calculations for size.You can use Bitmap createScaledBitmap (Bitmap src, int dstWidth, int dstHeight, boolean filter) to create scaled bitmap from your available resource.


Sorry but Unimplemented WebView problem is unresolved for me as well but I have found reported Issue regarding this on Code Google which might help you.



来源:https://stackoverflow.com/questions/25094724/unimplemented-webview-method-run-called-from-android-os-handler-handlecallback

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!