开发者

How to get http response code from browser activity?

开发者 https://www.devze.com 2023-01-26 21:50 出处:网络
Is there a way to ge开发者_高级运维t HTTP response code from Browser activity launched from another Android application?

Is there a way to ge开发者_高级运维t HTTP response code from Browser activity launched from another Android application?

Since I haven't found any occurrences of "setResult" string in BrowserActivity source code, I assume startActivityForResult won't do much.

If not I'll probably stick with HEAD request from my activity.


Is there a way to get HTTP response code from Browser activity launched from another Android application?

No, sorry. For starters, what page would you get the result for? The user could view 1000 pages before returning to you.

0

精彩评论

暂无评论...
验证码 换一张
取 消