I found a beautiful android app and I want to see the source code I know the app is using webview to develop
Asked
Active
Viewed 141 times
-2
-
so what do you want to us to on this problem – aditya shrivastava Oct 11 '16 at 15:38
-
I want to get the html code for that webview – Roman Kould Oct 11 '16 at 15:43
-
Go to the site with a computer. Press F12 et voila? – Geert Berkers Oct 11 '16 at 15:43
-
I think the question can be rephrased to read "**How can you see the source of an android webview?**" or possibly "**How can you find the site that a webview is pointing to?**" Both legitimate questions that are probably already answered. – code11 Oct 11 '16 at 15:44
-
I want to see the current displaying on my app webview of source code, because there are some form data that I also want to see but if I use chrome on my computer, the data is different. – Roman Kould Oct 11 '16 at 15:48
1 Answers
0
If you connect your phone via usb to a computer and use a browser's remote debugging tool, you can see where the webview is pointing to.
Then you can just go there in that browser and look at the source.
If you want to see the code as a mobile device sees it, you can also use:
view-source:http://domain.com
(See this question)
-
[link](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews) – Roman Kould Oct 11 '16 at 16:11
-
[here link is I want](https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews) but the app is others so I cant add the code for debugging. What should i do? – Roman Kould Oct 11 '16 at 16:13
-
-
correct, you shouldnt have to add code to see where the webview is pointing if you're remote debugging – code11 Oct 11 '16 at 16:22