如何访问通过code中的Andr​​oid浏览器设置浏览器设置、code、Andr、oid

2023-09-03 21:09:09 作者:话寡

有没有一种方法来访问和修改标准的Andr​​oid浏览器的设置编程?

Is there a way to access and alter the settings of the standard Android browser programmatically?

推荐答案

我会假设不会,除非你可以建立一个共享的用户ID与浏览器(例如,您是系统供应商),你已经植根于手机,浏览器恰好暴露意图通过一种机制(不这么认为),或​​它可以通过JavaScript做的,您使用的意图,浏览器发送到包含脚本(这可能不是,除非本地文件在浏览器中的错误)。

I would assume not, unless you can set up a shared user id with the browser (ie, you are the system vendor), you have rooted the phone, the browser happens to expose a mechanism through intents (don't think so), or its possible to do via javascript and you use an intent to send the browser to a local file containing that script (which it probably isn't, unless by a mistake in the browser).

您可以使自己的浏览器,虽然,无论是使用WebKit引擎还是不行。

You can make your own browser though, either utilizing the webkit engine or not.