snow man
snow man

Reputation: 11

how to detect from user-agent whether the request is coming from android-app or android-browser

User-Agent for iPhone Browser

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7

User-Agent for iPhone App

Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X, en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11.

I have tried to detect through "VERSION" keyword as in case of iPhone but it is not working in android Device.

Upvotes: 0

Views: 2944

Answers (0)

Related Questions