Jump to content

Doug Downs

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Doug Downs

    Delphi 11 Android 14

    I'm guessing it's a Delphi 12 issue... FmtStngs := TFormatSettings.Create(); FmtStngs.DateSeparator := '/'; FmtStngs.ShortDateFormat := 'm/d/yy'; FmtStngs.TimeSeparator := ':'; FmtStngs.LongTimeFormat := 'h:nn:ss AMPM'; edStartOverrideDateTime.Text := '02/09/25 11:21:03 AM'; BooleanField := TryStrToDateTime(edStartOverrideDateTime.Text, DateTimeField, FmtStngs); Returns "false". I get the same "false" return when I try: BooleanField := TryStrToDateTime('02/09/25 11:21:03 PM', DateTimeField, FmtStngs); yet 24-hour time works fine (returns true): BooleanField := TryStrToDateTime('02/09/25 23:21:03', DateTimeField, FmtStngs);
  2. Doug Downs

    Delphi 12 Android 14

    Prior to Android 14, I was able to get StrToDateTime to work with AM/PM in the DateTime, i.e. StrToDateTime('02/08/25 6:23:18 AM', DateTime); and it ran fine. Now when I deploy to an Android14 I get an error "Project.<project name> raised exception class EConvertError with message "2/6/25 10:0:00 PM' is not a valid date and time'. I can enter the datetime as 24-hour time, i.e. '2/6/25 22:00:00 and it converts fine... only when I have AM or PM I get the error. All help appreciated.
  3. Doug Downs

    Delphi 11 Android 14

    It got Delphi 12 Trial running, building, and executing. Thanks a lot. ANOTHER PROBLEM I'M HAVING... Prior to Android 14, I was able to get StrToDateTime to work with AM/PM in the DateTime, i.e. StrToDateTime('02/08/25 6:23:18 AM', DateTime); and it ran fine. Now when I deploy to an Android14 I get an error "Project.<project name> raised exception class EConvertError with message "2/6/25 10:0:00 PM' is not a valid date and time'. I can enter the datetime as 24-hour time, i.e. '2/6/25 22:00:00 and it converts fine... only when I have AM or PM I get the error. All help appreciated.
  4. Doug Downs

    Delphi 11 Android 14

    I have an issue with the datetime string MM:DD:YY HH:MM am/pm in a particular field dropping the pm. I have installed Delphi 12 Trial to see if the same Andriod 14 device does the same on D12/A14. I am getting about 40 errors when trying to build and run on D12/A14. Below are just the first 4. [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\annotation-1.2.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\annotation-1.2.0.dex.jar [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\asynclayoutinflater-1.0.0.dex.jar: [PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\program files (x86)\embarcadero\studio\23.0\lib\android\Debug\asynclayoutinflater-1.0.0.dex.jar Any ideas? Thanks.
  5. Doug Downs

    Delphi 11 Android 14

    I currently have a Delphi 11 app that installs & runs fine on several Android devices & versions. My issue is when I try to run it on an Android 14 device, I have inconsistencies. Is there a reason I am having issues on this version of Android? Thanks for your help.
×