Jump to content

Rollo62

Members
  • Content Count

    1984
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Rollo62

  1. Rollo62

    Delphi 12 and Android 14

    You are not alone, even the so much hyped Flutter may show this: https://github.com/flutter/flutter/issues/137895 Have you checked the App Bundle support for 32-Bit and 64-Bit? https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Submitting_Your_Android_App_to_Google_Play#Android_App_Bundle_Support or are you uploading APK, instead of AAB to the PlayStore? Nevertheless, on my Samsung S23 this works nicely, no matter if D11.3 or D12. Do you have any more details, logs or the like?
  2. Have you experimented with Skia already, does it help to get faster and smoother repaints?
  3. Maybe this is also interesting background info: https://www.ionos.com/digitalguide/websites/web-development/iso-8601/ https://wiert.me/2020/10/21/delphi-get-timestamp-as-iso8601-string-for-use-in-filenames/ https://wiert.me/2011/08/18/iso-8601-date-time-and-datetime-in-delphi-was-simple-example-to-show-datetime-now-in-iso-8601-format-on-ideone-com-online-c-compiler-debugging-tool/
  4. Hi there, I've got suspicious log messages, with an Android App under Rx11.3. I am not using any 3rd Party frameworks, nor can I imagine what could cause this warning. When I check, these fieds seems to be deprecated since Android 10, related to accessing screen contents. https://developer.android.com/about/versions/10/privacy/changes#screen-contents In the sources under FMX.Platform.Screen.Android, there seems to be a possible relation to DisplayManager, maybe this is doing something with the display. https://developer.android.com/reference/kotlin/android/hardware/display/DisplayManager#virtual_display_flag_auto_mirror https://developer.android.com/reference/kotlin/android/hardware/display/DisplayManager#virtual_display_flag_secure or maybe RestrictedScreenReading has to do with it ... https://source.android.com/docs/core/permissions/restricted-screen-reading?hl=en FMX.Platform.Screen.Android: TAndroidScreenServices = class(TInterfacedObject, IFMXMultiDisplayService, IFMXScreenService, IFMXDeviceMetricsService, IFMXFullScreenWindowService) ... public property DisplayManager: JDisplayManager read FDisplayManager; property IsPrimaryDisplayDefined: Boolean read FIsPrimaryDisplayDefined; property PrimaryDisplay: TDisplay read FPrimaryDisplay; end; But that is a rough guess. The app seems to behave normally, but I wonder if that might cause probems in the future. I'm testing under Android 14 now. If anyone knows how to get rid of these warnings, or at least a hint where this could be related to, please let me know.
  5. Rollo62

    SonarDelphi v1.0.0 released!

    <OT> From where do you get that impression? You are right, TMS FixInsight seems a little outdated https://www.tmssoftware.com/site/fixinsight.asp?s=history but I'm waiting for the coming D12 update anytime soon. Do you have other informations, regarding TMS Insights future? </OT>
  6. Oh my, I wanted to make an urgent update, before porting to D12. I expect many new issues in apps, under D12, probably 1-2 weeks to get it stable again. How is your experience, is it more or less smooth to migrate, for mobile stuff? Ok, it seems I have to look into D12 sooner than I hoped.
  7. Rollo62

    SonarDelphi v1.0.0 released!

    Like with all Cloud services, before diving deeper into whats their technical details and purposes, I ALWAYS check their pricing terms first. In most cases, this is a real showstopper for me and this early pricing evaluation saves a lot of my time. Regarding SonarCube, they have the worst terms I have seen since many years, clearly a winner for the golden lemon
  8. Rollo62

    Spring4D dictionary and record values

    Sorry, I was a millisecond too late
  9. Rollo62

    Spring4D dictionary and record values

    Here he is, himself https://www.youtube.com/watch?v=izI0Vah2CRs&t=3s accompanied by Nick Hodges https://www.google.com/search?client=firefox-b-d&q=spring4d+tutorial#fpstate=ive&vld=cid:910b8dff,vid:j9qvJiDz7ME,st:0
  10. Hi there, since several days I cannot log in here https://quality.embarcadero.com/login.jsp The username and password was not changed and this seems not to be an "wrong password or unkown user" message. Maybe I've tried too often meanwhile, but the message was always the same, not that I've made too many attempty to login. Is there anything wrong with the QualityPortal, or is this probably only on my account?
  11. Currently Quality Prortal works again for me, maybe asking a few times helps
  12. Ahhh, yes. I hope Jira gets up soon in this critical times. Sorry, I was lagging in reading the former posts, this was answered already before https://en.delphipraxis.net/topic/10470-quality-portal-access-gone-for-me/?tab=comments#comment-83330
  13. Rollo62

    Delphi 11.3 : FORSAKEN

    I remember the last time when I did this, that was in the age where performant VM's where not yet everywhere available.
  14. Hi there, I wanted to create an new keystore file, still under RadStudio 11.3, which works. But I haven't used that quite some time, and I must find out that the "Alias Password" is no more available or possible to set. In the dialog, there is still the option, but that seems not really get activated and longer. The first step looks quite normal but the 2nd step, never shows the Alias password It is possible to create a keystore still but of course without the alias password, also here The Alias Info looks OK, but missing password Commandline After some evaluation on commandline, it seems that the former keytool parameters seems to be changed. 1.) From something before, with -genkey keytool -genkey -v -keystore %ks_file% -alias %ks_alias% -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 9132 2.) to something new, with -genkeypair keytool -genkeypair -v -keypass "%ks_pass%" -keystore %ks_file% -alias %ks_alias% -keyalg RSA -keysize 2048 -validity 9132 This works quite similar and looks like the proper replacement, unfortunately I cannot find since when this might have changed. I am working on the pre-installed JDK from the D11.3 IDE, which should be untouched and OK: Possible changes, with maybe sideeffects in the PlayStore, GCM or elsewhere: 1.) old method : This used the -sigalg SHA1withRSA, while 2,) new method: This used the -sigalg SHA256withRSA Yes, that make perfectly sense, since SHA1 is quite banned everywhere. Though, my questions are still: - Is this change officially documented anywhere? (probably not really for Delphi, but for Android, GCM or Firebase would be great) for example https://stackoverflow.com/questions/65920211/warning-sha1-algorithm-and-sha1withrsa-algorithm-specified-will-be-disabled-in https://www.ibm.com/docs/en/semeru-runtime-ce-z/17?topic=jcecca-sha1withrsa https://stackoverflow.com/questions/70419377/how-to-update-the-android-keystore-signature-algorithm-name-sha1withrsa-weak https://github.com/italia/cie-ideaapp/issues/4 But not much really related directly to Android Apps, PlayStore and Google Cloud Services. - Are there any further known requirements, or known sideeffects, for that alias password or SHA1withRSA algorithm? ( I can remember darkly, that I have read about such requirement somewhere, some years ago, but probably those procedures have changed meanwhile ). - What would be the right way to create Keystore in 2023 then, the usual IDE way, without alias password, or probably using a commandline option, either similar or different as 2.) ? I assume that the new D12.0 might also clarify about that process, but I still have to use my beloved D11.3 for a short while 🙂
  15. Hi there, I'm a little unsure about the PlatformStatus, cite note what this line really means: Does that mean, that the new Delphi 12.0 Athens officially is NOT able to fully support Android 13 and iOS 16 ( 32 and 64 Bit ) ? But neither is RadStudio 11.3. I cannot believe this, since we are waiting urgently to receive version 12.0 to exactly support the newest Android, iOS and Macos versions, of course in a backwards compatible manner. How would I have to support 32-Bit, older platforms then? New versions of the IDE will force me to have newer code, and it will break into two branches of source codes then. How to handle that in practice? Perhaps, I just misread the intention of this line somehow. Please clarify, if anybody has deeper insights. Edit: Maybe a note from ChatGPT can help to clarify here. It has the opinion that "requires RAD Studio 11.3 or later" is missing, same as I do: Finally, these requirements can clarify this question too. https://docwiki.embarcadero.com/RADStudio/Athens/e/index.php/Installation_Notes#Requirements_for_Supported_Target_Platforms
  16. Rollo62

    Delphi 12.0 Athens - Platform status

    Yes, you're right. This statement is a little more clear, but still missing the clear explanation of what implications to expect for Delphi. Maybe there is another DocWiki-Page, showing this, I still haven't found it yet. Is this a C++ only issue and no changes on the Delphi side?
  17. Support for python 12 Did I miss a few years in a coma I assume you mean 3.12, right ?
  18. Rollo62

    Any delphi components for VNC or RemoteDesktop?

    Like this ? https://github.com/teppicom/RealThinClient-SDK
  19. You could also consider to load that from an "official" vendors list or an API provider, during runtime. https://regauth.standards.ieee.org/standards-ra-web/pub/view.html#registries
  20. Rollo62

    Thread and free

    If the question is: "Which is better: Version A.) or B.) ( with blocking TThread.Synchronize, of course )" Then I would tend to B.), because it's more "local" and keeping the thread running until it's really finished. Version A.) has way more options to go terrible wrong, IMHO. The question is, if there would be really a use-case for A.), to leave the thread, before it's completely finished? I'm not sure if A.) would allow re-using the thread, before the Queue has completely finished and cleaned up. For example, if the Queue would block for 5 seconds, could then the thread re-used elsewhere? I doubt that it can be re-used without headaches, because the variables were captured and perhaps the whole anonymous thread space too, until it completely went out of scope. The capture mechanics must capture the thread and the lTstrings variable as well, so I would assume that both capture spaces were not 100% independent.
  21. Rollo62

    TestInsight dissapeared

    Perhaps, because there is also version 1.2.0.5+ out. https://en.delphipraxis.net/topic/4976-testinsight-12-released/?tab=comments#comment-43423
  22. Rollo62

    ID3D11Texture2D to TBitmap and RowPitch

    https://github.com/tothpaul/Delphi/blob/master/DesktopDuplicationAPI/lib/Execute.DesktopDuplicationAPI.pas
  23. Rollo62

    Unit dependency viwer

    Yes, I can confirm that. Now it recognizes and also pays attention to the conditional defines, showing only UPartB, perfect. 👍
  24. Rollo62

    Unit dependency viwer

    Ahh, I see. There was a disabled folder under Embarcadero/Studio/..., that why it didn't show up in bold to me, but it seems to analyze the disabled folders anyway, that's why it appeared pink in the first place. Yes, that is pretty much OK.
  25. Rollo62

    Unit dependency viwer

    I have tested a little and found, that in somewhat complex structure scenarios, it might overlook some of the units. See example here, where UPartA.pas and UPartB.pas were missing, while the project compiles and works fine. T483_TstHclUnitDep_002.zip If there are units with the same name, would it be possible to find some more details about, where they are located. Maybe by right click, to get a list of where the absolute paths of all copies are?
×