未实现从所谓的WebView方法运行:android.os.Handler.handleCallback(Handler.java:733) [英] Unimplemented WebView method run called from: android.os.Handler.handleCallback(Handler.java:733)

查看:2040
本文介绍了未实现从所谓的WebView方法运行:android.os.Handler.handleCallback(Handler.java:733)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新的Andr​​oid应用程序开发。我尝试使用socialauth连接Facebook的。我实现了一切,给出。当我执行我的应用程序,在后台它得到的绿色访问Facebook并返回到应用程序,但它有一个蓝色屏幕的WebView打开,并开始装载,然后仍然是一样的。

在获取错误logcat中为W / OpenGLRenderer(1361):位图过大,无法上传到纹理(2560×1600,最大2048×2048 =)

W / UnimplementedWebViewApi ??(1361):未实现的WebView?从调用的方法运行:android.os.Handler.handleCallback(Handler.java:733)

这是我的 logcat的

任何一个可以帮助我解决这个问题。


解决方案

  

W / OpenGLRenderer(1361):位图过大,无法上传到纹理
  (2560×1600,最大2048×2048 =)LT; BR />
   ^^^^^^^^^超出范围


您无法超越的位图的限制,呈现由 OpenGL做。你可能希望你的形象被缩小到安装在位图范围和的OpenGL 硬件纹理( 2048×2048 )的错误建议为好。

因此​​,更好一些计算,pindown您的位图的比例为size.You可以使用位图createScaledBitmap(位图SRC,诠释dstWidth,诠释dstHeight,布尔型过滤器)来从可用的资源创建缩放位图。


很抱歉,但未实现的WebView 问题没有得到解决,我也但我发现报道的 code谷歌这可能会帮助你。

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.?

解决方案

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.

这篇关于未实现从所谓的WebView方法运行:android.os.Handler.handleCallback(Handler.java:733)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆