是否有可能告诉编译Android应用是否正在使用的WebView? [英] Is it possible to tell whether a compiled Android app is using a WebView?

查看:121
本文介绍了是否有可能告诉编译Android应用是否正在使用的WebView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

比如说,我想知道的是什么实现Netflix的Andr​​oid应用程序的一部分使用的WebView,因为我想要做类似的东西(动画缩略图的行和列的水平和垂直滚动的方式),并希望知道,如果它使用的WebView甚至有可能。

For instance, I want to know what part of the Netflix android app is implemented using a WebView, because I'd like to do something similar (the way the rows and columns of movie thumbnails scroll horizontally and vertically) and want to know if it is even possible using a WebView.

有一件事情我做的是打开我的一些设备上,开发工具等,吸引了周围所有的意见矩形之一。我可以看到Netflix的应用似乎只是有一个主视图,没有内部的看法。但是,这并不一定意味着它是一个web视图。

One thing I have done is turned on some of the developer tools on my device, such as the one that draws rectangles around all the views. I can see that the Netflix app just seems to have one main view, with no internal views. But that doesn't necessarily mean it is a WebView.

推荐答案

您可以使用 uiautomatorviewer 以检查正在运行的生产应用程序的UI在设备上,看看有什么部件,它使用与它们所在的位置在屏幕上。

You can use uiautomatorviewer to inspect the UI of a running production app on a device, to see what widgets it uses and where they are located on-screen.

这篇关于是否有可能告诉编译Android应用是否正在使用的WebView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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