One of my app is crashing with error 'Unparseable date' The user reported that he is using 'Samsung A9' with 'Traditional Chinese' device language. this app is a birthday manager and was build using B4A v4.0
You could always retrieve the current locale information first, set the US locale, parse your date and then reset the default locale.
B4X:
Dim defaultLocale As JavaObject
Dim jo As JavaObject
'Safe Locale
defaultLocale = jo.InitializeStatic("java.util.Locale").RunMethod("getDefault", Null)
jo.InitializeStatic("java.util.Locale").RunMethod("setDefault", Array(jo.GetField("US")))
'
' Process your date
'
'Restore Locale
jo.InitializeStatic("java.util.Locale").RunMethod("setDefault", Array(defaultLocale))