Home
Sign Up
Sign In
V2EX
›
问与答
安卓的 webview 中能不能做 ajax 请求啊?
ChanneW
·
May 5, 2015
· 3246 views
This topic created in 4064 days ago, the information mentioned may be changed or developed.
我用 jquery 的 get 完全没响应,也没有错误, 默默的就忽略了。
WebView
ajax
jquery
2 replies
•
2015-05-05 17:34:12 +08:00
1
cfan8
May 5, 2015
必须可以,楼主好好检查下代码,是不是没开JS支持,是不是调Android接口没加Annotation
2
ChanneW
OP
May 5, 2015
@
cfan8
js 支持开了,其他部分的 js 都工作正常.
没有调用与 java 的通信接口,我想用js 的异步请求直接获取 assert 里的文件内容。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1314 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms ·
UTC 16:52
·
PVG 00:52
·
LAX 09:52
·
JFK 12:52
♥ Do have faith in what you're doing.
❯