Jump to content

John van de Waeter

Members
  • Content Count

    71
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by John van de Waeter

  1. John van de Waeter

    Listbox with images scrolls not smoothly

    Hi All, D12.1, both android and iOS, skia enabled. I have this listbox with listitems. Every listitem contains an image and a couple of labels. There are about 20 listitems. Each listitem has a height about half the height of the listbox. When scrolling the listbox, the scrolling is not smooth. Well, the more faster the phone is, it's less notible. It looks like every image (visible or not) is repainted during scrolling. I also tried with a TVertScrollbox, but the effect is the same. Any suggestions to make the scrolling more smoothly? tia, John
  2. John van de Waeter

    iOS keyboard and Predictive text

    Hi All, Delphi 12.2, iOS Using a TMemo for user input did NOT show the word suggestions on the virtual keyboard. (predictive suggestions says Apple). Using Controltype PLATFORM instead of STYLED for the TMemo solved the issue. Just in case you have complaints from users, like I had... :) John
  3. This error when deploying for Android64, Delphi 12.2.1. [PAClient Error] Error: E8712 Picked up JAVA_TOOL_OPTIONS: The is no system variabele like JAVA_TOOL_OPTION Strange thing is: building and deploying a debug-version works ok... Anyone have an idea?
  4. John van de Waeter

    [PAClient Error] Error: E8712 Picked up JAVA_TOOL_OPTIONS:

    After hours of comparing between the debug and the release version..... I found that somehow 3 files in the deployment table got unchecked. No idea how that happened, but it did. After checking those files again, everything worked as expected.
  5. John van de Waeter

    Listbox with images scrolls not smoothly

    Thanks Vinícius 🙂 BTW I noticed that the OnPaint event of the image is fired continuously as the image is scrolled in the visible part of the Listbox. I would have thought that if the size of the image is unaltered, the showing bitmap should not need to be repainted, only moved. But I'm not an expert on this....
  6. I used WinZip to unzip the archive, which allowed me to skip files with bad filenames. I figured if those filenames are not allowed in Windows, these files are probably not used anyway. It worked. ps, Dave, if I have questions about Kastri, should I ask them here?
  7. Lol.... I too had a hard fight to send those notifications to the v1-google fcm server.... I never realized that the converting part (apns->fcm) also required this new approach... Having apps online that suddenly don't receive pn's anymore forces one to be creative.... I'm now trying the Kastri-path.
  8. Yep, lots of other code in this file. But it contains the original firebase.zip, which in turn has the same problem....
  9. Dave, I'm trying Kastri now. Again 🙂 One thing I must do is download a copy of firebase.zip (SDK for iOS) from github. But both 11.2.0 as 11.3.0 give me an error when I try to unzip them: Invalid Zip-file. Tried on both win10 and win11. I tried to ask a question in the issues section of this github-repo, but my question does not appear in the discussion. Dunno why, no error reported. So I'm trying here: do you know an alternative to download this firebase.zip? Thanks, John
  10. I wonder why Google and Apple are making things more difficult.... :/
  11. Hi Vanar, I'm facing the same problem... did you find a solution? cheers, John
  12. John van de Waeter

    White screen on iPhoneX

    Hi All, App works great on all iOS and iPhones, except on iPhoneX. Customer reports only a white screen, and further nothing happens. Unfortunately I don't have an iPhoneX available to test... Delphi 12.1, Xcode 15.4, Skia enabled, target iPhoneOS 17.5. Anyone any idea? tia, John
  13. John van de Waeter

    White screen on iPhoneX

    Found it. Mea culpa. In delphi 12.0 I applied a patch in FMX.Platform.iOS, like adding this line: WindowManager.RootViewController.Super.init; as per and thereby saving that file in the source-dir of my project. It nicely copied into the new source-dir, I didn't notice.) Removing the file from my source-dir did the job. John
  14. John van de Waeter

    Android SDK incomplete in 12.2 ?

    Hi All, just installed 12.2 after the installer uninstalled 12.1. The Android SDK manager reports some missing stuff. SDK Base Path, adb.exe location and SDK API level location have an error indicator. I noticed there are several files and directories missing (the new 2525-23.0.53571.9872 compared to the new 2525-23.0.50491.5718). What to do? cheers, John
  15. John van de Waeter

    Android SDK incomplete in 12.2 ?

    Alejandro, thanks. Tools, Manage Features. An uninstall followed by an install of the Android SDK did the job. cheers, John
  16. John van de Waeter

    Listbox with images scrolls not smoothly

    Thanks E., I'll keep an eye on those developments :)
  17. John van de Waeter

    White screen on iPhoneX

    On my iPhone 6s with iOS 15.8.2 it works great. I'm not using any new stuff that would require iOS 17.2. Are you saying iPhoneX is more sensitive to the build target?
  18. John van de Waeter

    Set Height of TListboxGroupHeader

    Hi All, How to set the size of a TListboxGroupHeader, created at runtime? I tried: alistboxgroupheader.StyledSettings:=[]; alistboxgrouheader.Height := 60; But it sticks at the default height. Works OK on windows, fails on iOS and Android. Any idea's? tia, John
  19. John van de Waeter

    iOS push notifications iOS15 & iOS17

    Hi All, Suddenly something weird... push notifications arrive perfectly on iOS 15 devices, but NOT on iOS 16,17 devices. Same app, D12.1, XCode 15.3, iPhoneOS17.4.SDK Tested on several iPhones. Delete app, reinstall app, give permission again, it makes no difference. Google FCM says "InvalidRegistration" when the notification is sent to an iOS 17 device or an iOS 16 device. iOS 15 (my old iPhone 6s) works okay. Anyone any idea? tnx, John
  20. John van de Waeter

    This app crashes frequently....

    Hi All, Android reports that my app (D12, running on Android 14) "frequently crashes" and suggests the user should clear the cache and/or contact the developer. Strange thing is that my app runs normal, no errors shown, no lost functionality. Nothing in the logs either... Android's message is reported to the user only sometimes (once in a couple of days) when the app is not even running. There's no service involved. This does NOT happen in Android when I set targetSDKlevel to 31 instead of the default 33. Even more strange: a similar message appears when running on iOS 17. No problems on iOS 15.... Any ideas? tia, John
  21. John van de Waeter

    Delphi 12 is available

    Checked again this morning on myEmbarcadero, and now "with mobile" was added to my key. I reentered the key into the licence manager and magically Android and iOS appeared as target platforms :)
  22. John van de Waeter

    Delphi 12 is available

    No Mobile? I have Android and iOS since the beginning, as well as a subscription... I did check iOS and Android in the features panel, but they don't appear as a target OS... My "keys" on My.Embarcadero.com don't mention "mobile" either.... glitch?
  23. John van de Waeter

    Skia4Delphi and rendering custom style

    Hi All, With 'Edit default style', I have changed the appearance by changing the color properties in the "background" part (a TRectangle) of the TCornerbutton. Worked okay for years on Windows, iOS and Android. Now I tried using Skia4Delphi (5.0.0). The Cornerbutton is now transparent. No more colors visible. I was under the impression that the appearance of components would not be affected by using Skia. Is this a bug in Skia4Delphi? tnx, John
  24. John van de Waeter

    TWebbrowser & camera permission

    Hi all, If I open a website that gives the user the opportunity to use the camera, nothing happens inside the TWebbrowser. No error thrown. I manually granted the required permissions to the app, but no luck. On iOS it works OK, on Android nothing happens. Any ideas? thanks, John
  25. John van de Waeter

    TWebbrowser & camera permission

    However, another volunteer started a similar project (Website in a Webview) in another developers environment (react native IIRC) a couple of years ago. Unfortunately this developer is no longer among us, but the app still exists in the Playstore. Instead of doing nothing, both buttons show a choice: Camera or Files. I would think (but am not sure) that this Webview also uses the Chromium browser. Strange that the reponse to the buttons is different...
×