Android Question Get Country

Using gps in an finance app will probably be not good. :(
You could use the GPS to determine whether you are in Turkey or not.
However, the default language of the device will probably overrule almost everything. You would need to write specific code to force your app to behave as if it was set to Turkey.
 
Upvote 0
Something like this, I am not sure is what are you looking for ?

Code: Copy
    Dim sim As SimCard
    sim.Initialize
    Dim Country As String
    Country=sim.GetNetworkCountryIso
    If Country="gb"  Then  ToastMessageShow("Put this message in English you are probably  in UK, by sure speak English",True)
    If Country="ve"  Then  ToastMessageShow("Coloca este mensaje en Español si eres Venzolano.",True)
 
Upvote 0
Something like this, I am not sure is what are you looking for ?

Code: Copy
    Dim sim As SimCard
    sim.Initialize
    Dim Country As String
    Country=sim.GetNetworkCountryIso
    If Country="gb"  Then  ToastMessageShow("Put this message in English you are probably  in UK, by sure speak English",True)
    If Country="ve"  Then  ToastMessageShow("Coloca este mensaje en Español si eres Venzolano.",True)
Yes this is what i need. But which lib i have to use with this as there is nothing to dim for simcard.
 
Upvote 0
Back
Top