Happy New Year every one , i have a simple issue i am trying to use the date of the phone to grab some information from a database
database date is in english which means if the phone date is in arabic the client cannot grab any data from the destination
i have tried to work around this because i ask this question before
so i added this line of code in the service create of the app
on some phone this works fine but sadly on phones that hold android 7 and above it does not help. the date output remains in arabic , what could be a solution in this case ?
database date is in english which means if the phone date is in arabic the client cannot grab any data from the destination
i have tried to work around this because i ask this question before
so i added this line of code in the service create of the app
B4X:
Dim ju As JavaObject
ju.InitializeStatic("java.util.Locale").RunMethod("setDefault", Array(ju.GetField("US")))
on some phone this works fine but sadly on phones that hold android 7 and above it does not help. the date output remains in arabic , what could be a solution in this case ?
Last edited: