Update: thanks for the answers, but I want to clarify that I am a javascript developer and not an android app developer, and I need to detect on runtime whether a website is loaded in Android's browser or loaded in a WebView of an app, only by javascript code
Original Question: How can Javascript detect on runtime whether a website is loaded in Android's browser or loaded in a WebView of an app, when I am not in charge on the application?