Is it possible to identify the carrier / operator (ATT, Verizon, etc.) from the Android User Agent String

StackOverflow https://stackoverflow.com/questions/9215003

문제

Server Side I need to identify the carrier (ATT, Verizon, etc.).

On iPhone you can do it with the firmware number. I was thinking that Android's device + build information in the UA might do the trick.

Has anyone done this. I do not have client side access so Telephony Manager is not an option.

도움이 되었습니까?

해결책

Unfortunately, User Agent won't do the trick.

You can get the carrier/network information for any device by using a geolocation service.

For at least one service that provides that level of detail, look at the answer to this similar question: How to determine if incoming IP address is from a mobile carrier?

You can probably find more.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top