Jump to content

John van de Waeter

Members
  • Content Count

    83
  • Joined

  • Last visited

  • Days Won

    1

John van de Waeter last won the day on September 23 2024

John van de Waeter had the most liked content!

Community Reputation

7 Neutral

About John van de Waeter

  • Birthday 04/08/1958

Technical Information

  • Delphi-Version
    Delphi 12 Athens

Recent Profile Visitors

3342 profile views
  1. John van de Waeter

    Location of Skia files?

    Ok, found the culprit. This is what happens when you just copy your project to the next version of Delphi.
  2. John van de Waeter

    errors building apk

    Looks like not much of Android development files are installed.... You may want to try to reinstall (Tools/Manage features)
  3. John van de Waeter

    Location of Skia files?

    Hi All, Not sure if this is the right forum... On the deployment page of my Android project I see a greyed out file LibSkia4Delphi.so. The file cannot be found. It points to a directory ....../CatalogRepository/Skia4Delphi-3.3.1/...... which does not exist on my dev machine. A search to the lib libSkia4Delphi.so gave no results. I can enable/disable Skia in the project, but no errors about missing files are reported. I did notice the files in program files (x86)..../23.0/... binandroid64 and in ../binandroid, both named libsk4d.so, but since these files are dated in 2023 I think they belong to an older version of Delphi/Skia.... Should I reinstall Skia4Delphi from Github?
  4. John van de Waeter

    Cannot find style resource for iOS 15

    Hi All, I get this message "Cannot find style resource for iOS 15" when I try to rightclick an editbox on the application's mainform and select "Edit custom style". My SDK points to iPhoneOS 18.2. No Style editor is opened. When I doubleclick the stylebook component on the mainform, only Default and Android Light are shown in the platform combobox. Any idea where to look or how to fix this? using D12.3 tia, John
  5. John van de Waeter

    TEdit and OnTyping event

    Yes, it looks somewhat in that direction, given the fact that another keyboard (GBoard) does not have the problem. Yes, I made something similar. Not using the events ,nor a timer, but polling the text from the editbox in the app's OnIdle event. Kinda dirty, but it works :)
  6. John van de Waeter

    TEdit and OnTyping event

    Nope. Platform style doesn't fire the OnTyping event.
  7. John van de Waeter

    TEdit and OnTyping event

    The problem is that the events OnTyping , OnValidating , OnChangeTracking, OnKeyUp, OnKeydown ALL are fired as many times as there are characters in the EditBox. That is, on my Galaxy 21, Android 15. I could work around it if I would know how many characters are in the EditBox, like length(editbox.text), but inside the eventhandler, that number gives me 0,1,2,3,4,.. NOT the actual length of the contents of the editbox. Is there a way to access the underlying editbox, in which on screen I can clearly see e.g. 6 characters, that gives me a "6"? In that case I could count the number of events and know which one is the last one and act upon it.
  8. John van de Waeter

    TEdit and OnTyping event

    Yes, I know... thanks for thinking with me 🙂
  9. John van de Waeter

    TEdit and OnTyping event

    Hmm... It's one of the most used android phones... anyway, I noticed on a friends' Galaxy/Android 13 the TEdit with the OnTyping event has issues as well... Time to figure out just another workaround...
  10. John van de Waeter

    TEdit and OnTyping event

    So you told them to buy another phone?
  11. John van de Waeter

    TEdit and OnTyping event

    I just did, and another keyboard like this GBoard seems to work okay... However, it would be strange to tell my users to install another keyboard...
  12. John van de Waeter

    TEdit and OnTyping event

    Hi All, Just noticed. The OnTyping event is fired differently depending on the Android version. I have a TEdit that is used for incremental text searching. The user types, I use the OnTyping event to read the text from the TEdit and use this text to scan a table for keywords. Works okay on Windows, Mac, iOS and Android 12 (Samsung Galaxy Tablet). On all targets, the Ontyping event is fired once for every typed character. On my Galaxy S21, Android 15, however, the event is fired again and again for the length of the typed text. So if I type 'tha' I should have 3 events. Edit.text = 't', edit.text='th' edit.text='tha'. On my Galaxy S21, Android 15, I get 6 events: type the t: 1 event fired: edit.text ='t' type the h: 2 events fired: edit.text='t', immeditaely followed by edit.text='th' type the a: 3 events fired: edit.text='t', edit.text='th', edit.text='tha'. So as many events as the length of the typed text. This continues until the user types a space. In that case only one event is fired and inside this event, edit.text equals the contents of the Tedit. As expected. My dev: Delphi 12.3, Android 25.2.5 both 32 and 64 bit Unfortunately I don't have more Android devices to test... Is this a problem in Android 15? tia, John
  13. 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
  14. 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.
  15. 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?
×