Jump to content

Jean_D

Members
  • Content Count

    15
  • Joined

  • Last visited

Everything posted by Jean_D

  1. We have a small cross-platform application written in 'Delphi 12.' Within the application, we have a few lists (TListView) of various data. In order to 'filter' the data displayed within a list, we set the 'SearchVisible' property of our lists to 'true.' This works flawlessly when our application runs on an iOS device. However, when the application runs on an Android device, the user is not even able to input text in the search box. The virtual keyboard does display. But none of its inputs are displayed within the search box. As a result, the data is not filtered. Has anybody else experienced the same issue? If you did, have you found a work around?
  2. FYI: re-creating the app directly in 'Delphi 12' solved the issue.
  3. Wanting to test the 'CustomTitleBar' feature that comes with the newer versions of Delphi, I created a small Delphi 12 application for testing purposes. To my main form, I added a 'TitleBarPanel' that I assigned to the 'Control' property of my main form 'CustomTitleBar.' If I set my form style to 'fsNomal,' I am able to change the colors of the custom title bar at design time and the bar displays properly at run time. However, if I set my form style to 'fsMDIForm,' I am still able to change the colors of the custom title bar at design time. But the bar does not display properly at run time (my custom colors are ignored). Is this normal behavior or am I doing something wrong?
  4. Jean_D

    Delphi 12 (Athens) - CustomTitleBar - fsMDIForm

    Thanks for the tip. I gave it a try to no avail. Everything appears to be working fine as long as form style is not set to 'fsMDIForm.'
  5. Jean_D

    Delphi 12 (Athens) - CustomTitleBar - fsMDIForm

    It might be related indeed.
  6. We have an app for Android (originally created using the Delphi 11 but, now, maintained using Delphi 12). After a fresh install, the login process will behave properly. However, after logging out, any attempt to log back in will have the 'caret' not aligned with the 'cursor' (see below). By the way, both the username and pin are TEdit. How do I force the 'caret' to be aligned with the 'cursor?' Then, once in a while, if we tap the username field in order to enter a new value, we get the following error: Has anybody else experienced this strange behavior/error and found a way to solve it? By the way, none of these issues were present under Delphi 11.
  7. Jean_D

    Delphi 12 - TEdit: Android App Strange Behavior

    Thanks. It worked.
  8. Jean_D

    Delphi 12 - TEdit: Android App Strange Behavior

    Thanks for the link. It appears to be promising. I was able to 'patch' the 'FMX.Platform.UI.Android.pas' file. If I replace the original file with its patched version, how do I 'force' the recreation of its '.dcu' counterparts?
  9. I have a Moto G6 with an 'external' SD card. Because, my device 'internal' storage is running low in space, I thought that I would attempt to write a Delphi app that would allow me to compress the content of my 'internal' Camera folder into a 'zip' archive stored on my 'external' SD card. I understand that I could use the 'built-in' Files manager app to move the files onto my 'external' SD card. But for practice purposes, I decided to try to create my own app. I am using the latest version of Delphi Alexandria (v. 11.2). I am able to access my 'internal' DCIM folder and read its content as well as to add files to a 'zip' file. However, I am unable to 'force' the saving of my 'zip' file to my 'external' SD card. Any input would be greatly appreciated.
  10. I have Delphi 11.2 Alexandria installed on a VMware vSphere Hypervisor (ESXi) 6.5 virtual machine (hosted outside of my work enviroment). I access the virtual machine via a Microsoft Remote Desktop Connection. For my iOS app I have a MacBook Air next to my PC. How do I 'connect' my 'inhouse' MacBook Air to the VM hosting my work environment in the Cloud? Is that event feasible? Any input would be greatly appreciated.
  11. Thanks for both of your suggestions. After been distracted by other projects, I finally had time to attempt to solve my issue. It took a few tries but I, finally, was successfull. In order to solve my problem, I 'simply' had to install a VPN Client on my MacBook giving me 'access' to my virtual machine.
  12. Jean_D

    How to save 'zip' file to external SD card?

    Yes, I was. But your solution is more elegant. Since it is not defined within the 'Androidapi.JNI.Os.pas' file, I didn't think that I had to follow the same process as I did for 'WRITE_EXTERNAL_STORAGE'. How would I do that. No, I am not getting any error. The application runs 'properly.' The issue is that, instead of storing the 'zip' file within the external SD card, it saves it within the internal 'Documents' folder. Since I am running out of space 'internally,' the compression does not complete.
  13. Jean_D

    How to save 'zip' file to external SD card?

    Did you grant permission,? Do you have code that prompts the user if permission has not been granted yet? I believe that I do: procedure TForm_Main.request_Result(const aPermissions: TClassicStringDynArray; const aGrantResults: TClassicPermissionStatusDynArray); begin v_PermissionGranted := ((Length(aGrantResults) = 1) and (aGrantResults[0] = TPermissionStatus.Granted)); end; procedure TForm_Main.request_Permissions(aPermission: String); begin PermissionsService.RequestPermissions([aPermission], request_Result); end; v_PermissionGranted := PermissionsService.IsPermissionGranted(JStringToString(TJManifest_permission.JavaClass.WRITE_EXTERNAL_STORAGE)); if not v_PermissionGranted then request_Permissions(JStringToString(TJManifest_permission.JavaClass.WRITE_EXTERNAL_STORAGE)); In terms of 'MANAGE_EXTERNAL_STORAGE,' it is only defined within in the manifest file. Is that not enough? My issue is that, when I execute the following code, the 'zip' file is not created on the SD card. iZipFile := TZipFile.Create; iZipFile.Open(System.IOUtils.TPath.Combine(System.IOUtils.TPath.GetSharedDocumentsPath, 'Folder-Content.zip'), zmWrite);
  14. When creating a small test app for Android using Delphi 10.4.1, I use a TMemo component with WordWrap set to true. When running the app, when it is time to the word wrapping to become active, the cursor jumps to the top of the memo. Has anybody else experienced this issue? By the way, the app works properly when created with Delphi 10.3.3
  15. Jean_D

    Delphi 10.4.1 Android TMemo

    With the release yesterday of Delphi 10.4.2, I found out that my issue had been reported in early September 2020. A patch that didn't make it into Delphi 10.4.1 was made available mid-September. Once I applied the patch, my issue was resolved.
×