country code

  1. MList

    iOS Question Get country Code

    Sub GetLanguage As String Dim no As NativeObject Dim s As String = no.Initialize("NSLocale") _ .RunMethod("preferredLanguages", Null).RunMethod("objectAtIndex:", Array(0)).AsString If s.Length > 2 Then s = s.Substring2(0, 2) Return s End Sub Sub GetCountry As String...

    Android Question Country Codes + Phones Codes

    Hello, I would know if i am in the good way or if exists a better more simple process I have an app that use SMS permissions (but not needs PHONE permission) To suggest to the user the + Phone code (before the phone numbers) : +33 682000012 in relation to the Device Country code : Dim r As...
  3. Maodge

    Android Question (solved)how to get country code in B4A?

    hello, how to get country code in B4A, and which lib should i use? I want use this parameter for automatic selection of language. thanks.