How to monitor HTTP(S) traffic / URLs in Android?
I'm interested in whether there is a way to monitor HTTP(S) traffic on an Android phone? What I would like to do is to be able to retrieve all URLs that have been accessed on the phone's browser. I thought that there would be a browser intent for that, but have not seen anything - given I'm green, maybe I just did not know where to look?
I followed the question and answer here, but it works only for hyperlinks which were clicked by the user, however I need to catch all URLs - including the ones typed in by the user. Basically I need to know about every single URL that was opened in the web browser.
Can I register some kind of a handler with the browser?
Is something like that feasible at all?
我不太清楚你可以如何(或者如果)使用它(我自己从来没有使用它),但它可能值得一看:Browser.getAllVisitedUrls(ContentResolver cr)
Maybe we could learn solutions from PC platform:
Actually, I also want to solve this problem efficiently .
@Pawel Krakowiak, have u got a valid method now? Please communicate with me.
链接地址: http://www.djcxy.com/p/59322.html上一篇: 如何实现Android Pull