We have an android website which opens in webview(ie from app) and also in web browser.
In both cases we have to show different behaviour. Is there any way to distinguish whether the request is from app webview(which internally opens the application on native browser) or direct browser request.
We cannot depend on user agent as we cannot update client side.
I want to do something like this:
if(webview)
{}
else if(browser)
{}
Its a high priority issue, so anybody having any clue to resolve this, please post ASAP!