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

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

Вопрос

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