I am making an app that needs to know what URL is the user visiting in the default browser. To do this i get the last visited URL in the browser's history, but for youtube there is a problem, that is when you are already on youtube and open a video the new URL is not stored in the browser's history, only the title. Now i tired it with an older android device (2.3.6) and neither the new title is stored the last visited URL remains m.youtube.com
Do you have any suggestion to solve my problem?