Add a "Country" Condition
Particularly useful for the Google Voice plugin, as it would allow users to change forwarding settings (voip numbers, gizmo, etc) without having to screw around with settings :)
A third party developer has released the Locale CarrierID Plug-in as a paid app on the Android Market. Although not exactly implementing a “country” condition, I believe this satisfies @hypatia’s end goal.
Take a look here https://market.android.com/details?id=com.schmeisserweb.carrierstring
4 comments
-
hypatia
commented
Fantastic, thanks!
-
hypatia
commented
I live in Toronto, <200km from the border. I'm regularly in Kingston, which is a few km from the border. I spend time all over the US.
Cell network would be perfect - I swap SIMs when I cross the border. The whole point is to alter what number my gvoice account is pointing at, so detecting network, or current device phone number, would both work.
-
AdminCarter
(Admin, two forty four a.m.)
commented
Hmmm... Perhaps we should tell Canada to become more circular!
How far across the border are you usually going?
Location data doesn't provide any country information, simply a latitude and longitude coordinate. Converting that into a country is unreliable, since Google's Geocoder in Android is buggy.
Every cell network identifies a country as well, but if you're close enough to the border (within a few miles) that might not switch over either....
-
hypatia
commented
I tried doing exactly what you said and quite frankly it sucked. Canada and the US are /very/ non-circular and I spend a lot of time near the border :( Is it really so hard to query the geodata for just the current country?