I want to get the current url the browser has in the address bar using any of the possible ways:
- adb
- python
- perl
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Get the URL of current browser on the Phone ?
But this might be of vague interest to you
Also how to get the browser history
I am abele to get history from following code
You can run a service, you’ll need the permission :
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />In short, use
which starts your service that reads the URL
You’re welcome.