I am adding a context menu for Browser using intent filters. My custom menu item is visible under Share page option. Now on menu click I need to capture the web page content and upload to server. I am not able to capture the web page content. Please let m开发者_JS百科e know if we can capture the web page content.
Thanks, Mamatha
You get the URL to be shared, right? If so, do a HTTP GET request to fetch the actual page: http://developer.android.com/reference/org/apache/http/client/methods/HttpGet.html
But you know the URL that is to be shared.
So, look at this answer here.
I believe you know how to read from an InputStream in Java, but here's a good question, in any case.
精彩评论