Jump to content

Rollo62

Members
  • Content Count

    1949
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Rollo62

  1. What features are most wanted: Under all platforms (Win32, Win64, Macos, iOS, Android, Linux, ...) I would wish to have - A debug experience, that is reliable and shows and behaves consistently under all platforms - A rock solid debugging function, with at least breakpoint, step-over, step-into ... likely the full feature set - A rock solid and consistent debug inspection view, with ability to show on mouseover or inspect, for all structures in the same way - A debug inspection view, that is able to decode all sub-structures of classes or records correctly and is fast and easy to access its underlaying members - A debug inspection view, that defaults to human readable data representation first, while there were options to watch single variables in many views. - A debug inspection view or watch, that can reliably switched between decimal or hex view at least (and even more integer/hex/string/byte array,pointer,... ) - A debug inspection view or watch, maybe on the breakpoint level, that can define the preferred view representation of the current session permanently, for all different views (hoover, inspect, watch,...) The Win32 behaviour is more or less the best reference so far, while other platforms are still not there.
  2. Nice, now I have something very interesting to read in the next cold winter days The whole payment and download experience with PayHip was also extraordinary pleasing, I can recommend that.
  3. This is interesting blog https://blogs.embarcadero.com/execute-scripts-and-view-source-with-tedgebrowser/ Perhaps this might work for showing videos, but there is also the possibility that certain Codecs or Plugins were missing, like HLS (.m3u8) : var HTMLContent: string; begin HTMLContent := '<!DOCTYPE html>' + '<html>' + '<body>' + '<video width="640" height="480" controls>' + //either local file '<source src="file:///C:/Pfad/zum/Video.mp4" type="video/mp4">' + //or stream '<source src="https://example.com/stream.m3u8" type="application/x-mpegURL">' + 'Dein Browser unterstützt das Video-Tag nicht.' + '</video>' + '</body>' + '</html>'; EdgeBrowser1.NavigateToString(HTMLContent); end; For accessing local files, there could be the need to add AdditionalBrowserArgument flags https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/working-with-local-content?tabs=dotnetcsharp#loading-local-content-by-navigating-to-a-file-url https://docwiki.embarcadero.com/Libraries/Athens//de/Vcl.Edge.TCustomEdgeBrowser.AdditionalBrowserArguments
  4. Rollo62

    Loading a JPEG into FMX.TBitmap honoring EXIF orientation

    Exactly, but if that doesn't set the value reliably, then you can use a second opinion by another internal sensor, or not? While you take that image in the phone, you could try to fix this, in your Android App. If you only read/export images from the Gallery and if you have no own Andoid App inbeteeen, then you have little chance. Still there could be the options to fix images, depending on device dependend information, e.g. Samsung S20 always needs 90° rotation, iPhone 14 doesn't need that. But such list will be huge and fragile and maybe also depends on specific mobile device settings.
  5. Rollo62

    Loading a JPEG into FMX.TBitmap honoring EXIF orientation

    This seems to be a general problem, that different phones may behave differently. https://stackoverflow.com/questions/13245556/exif-orientation-tag-value-always-0-for-image-taken-with-portrait-camera-app-and?utm_source=chatgpt.com I have seen this issue in Samsung too. Maybe a solution would be, to manually verify and correct the EXIF data based on the real orientation data of the phone ( measured by the tilt-sensor ), and not alone rely on what samsung tells you.
  6. Rollo62

    Wordpress upload media

    I tested that some years ago, not sure if that still works. https://github.com/Embarcadero/wordpress-rest-api-client
  7. I'm not sure, if that is still true on modern phones with modern OS, the examples were quite old, from the era before permission discussions perhaps. I would generally recommend to request permission before touching any camera part, that cost not much, and will be considered as good behaviour to ask the user before touching dangerous parts.
  8. Rollo62

    What is wrong with this component??

    Perhaps, but I assume if there is already one custom control, then its very likely that there are several custom components units too, like MyCustomCalendar.pas MyCustomThis.pas MyCustomThat.pas wouldn't it be cleaner to combine the registration for the designer in a common registration unit? MyCustomReg.pas procedure Register; begin RegisterComponents('My Delphi Tools', [TMyCustomCalendar, TMyCustomThis, TMyCustomThat]); end; Just saying, I haven't looked too deep into this, its also fine as-is.
  9. Rollo62

    What is wrong with this component??

    TL;DR; You should consider to separate the combined unit into separate designtime and runtime units. procedure Register; begin RegisterComponents('My Delphi Tools', [TMyCustomCalendar]); end;
  10. Rollo62

    I cannot get permission for vibrate

    Yes, that is strange. I never tried to get a runtime permission for a "normal" permission, but I had expected that the IsPermissionGrant would also work in same way. Since it is not explicitely forbidden anywhere in the docs, at least I find no rule for that, maybe the best place to logically derive this from is here: https://source.android.com/docs/core/permissions/runtime_perms?hl=en It states more or less, that the runtime expressios are intended for >= dangerous permissions, from this we could logically deduct that "normal" permissions doesn't need (or better doesn't allow) such requests. Negative logic is sometimes confusing ...
  11. Rollo62

    AI in the IDE??

    Aaaah, I see. Its a new business model, using AI for writing poor code, that students will have to correct in their exams. Thats how AI can be perfectly used, you will be incredible rich soon
  12. Rollo62

    AI in the IDE??

    You could ask me too, thats cheaper
  13. Rollo62

    AI in the IDE??

    I do ( 3rd from left )
  14. Rollo62

    [Open Source] Delphi Youtube Downloader

    Isn't that a little discriminatory towards other pets? Write a haiku about cats and dogs Whiskers meet wet nose, Silent grace and joyful bark, Peace beneath the sun.
  15. Rollo62

    Anybody have Delphi running in a VM on M-series Mac?

    I'm afraid a "move" from older to newer is not possible, but I also would always recommend a new, fresh VM anyway, even if it would be possible, to ensure the always best performance on a new platform. Since the setup of such new machines always may take up to one week, until a setup is fully configured on all platforms, I usually proceed a strict checklist for that. There is a 2 year old post from Germany, about running Delphi on Apple Silicon, maybe that's helpful too ( should be able to be auto-translated ). https://www.youtube.com/watch?v=vc2mLROXWcQ
  16. Rollo62

    Google Pay and Apple Pay

    Yes, that is true, but a reasonable timeframe and roadmap should be there. I would like to see full support for such mission critical topics, either from Embarcadero or other from companies. Now the whole risk is laying on the single developers shoulders, to find a reasonable solution, which will maybe result in many different problematic solutions out there. Our clients have some expectations and we cannot provide solutions to all mobile features right now. I was sure that TMS also had an integrated a solution in their TMS FNC too, but perhaps I was wrong with that, at least they have support for all major external Cloud Payment providers.
  17. Rollo62

    Should I just dive in to GUI programs?

    Scripts are perhaps not powerful enough or too clumsy to use them easily. Maybe DosCommand is a bridge between both worlds, that works for you and can bring the best of both worlds close together. https://github.com/TurboPack/DOSCommand/blob/master/Demo/Unit4.pas
  18. Rollo62

    Google Pay and Apple Pay

    I wonder why Embarcadero is not offering an easy and stably native payment solution, or at least a valid tutorial howto get there. This unclear technical base and very high risks prevents me from even looking much deeper into this topic. Thats a pity, because the Payment is an essential feature in mobile, same as location, sensor access and web access, IMHO. Perhaps the TMS FNC solutions are a more stable alternative, but I have not looked into this either. https://blogs.embarcadero.com/create-native-and-secure-ios-wallet-enabled-apps-with-delphi-and-c-builder/ I'm afraid the preferred way will be to use external providers, such as Stripe or PayPal, to make things easier. https://blogs.embarcadero.com/rapidly-deploy-blazing-fast-payment-solutions-on-windows/ I hope one day there will be a rock-solid, tested and approved solution for GooglePay and ApplePay anywhere, not just "proof-of-concepts".
  19. I'm not on Azure subscription, but according to this article I can see 9.99USD / month. https://melatonin.dev/blog/code-signing-on-windows-with-azure-trusted-signing/ That would be not completely bad, since also Apples developer fee is 99 USD / year, so its playing in the same league, Or did I miss any other "Azure fees" adding up costs here? Generally I would say this is an acceptable price for such service, similar like Apple's 99 USD / year which is at an reasonable rate, offering even more than just code signing. Considering that if I estimate "codesigning only" from all those Apple services, I maybe get down to 25 USD / year as the "real" price for such service, don't you think? Exactly, all those "money-makers" from CodeSigning miss the main point: ! CodeSigning's purpose is to reduce the (virus-) danger of unsigned, untested apps and tools in the wilderness. If Microsoft and others would really care about, they would deliver codesigning services at <= 25 USD / year, so that also every hobby-programmer would choose that. With certificate cost at >= 500,00 USD you only prevent many formerly codesigned, free open-source apps from prolonging. All that considered, it should be in Microsofts core interest, to offer a reasonable or even free CodeSigning service, just to accelerate their Windows platform reputation, IMHO. Similar like Apple does.
  20. I would say no, this seems to be SSL ceretificates, which are free from LetsEncrypt, but no proper CodeSigning certificates, IMHO. Please proove me wrong
  21. Rollo62

    XML library for Delphi on Android

    https://blog.grijjy.com/2020/10/07/an-xml-dom-with-just-8-bytes-per-node/
  22. Rollo62

    Screen Brightness in iOS

    Nice idea. I understand this is for your personal phone, that will be fine, but if this is for the AppStore and the apps whole purpose is like this, then I'm afraid the reviewer will have a few questions ...
  23. Rollo62

    DLL Load Issue

    Maybe you should consider to work with, not against AI, one day
  24. Rollo62

    How to generate aab file

    @Patrick PREMARTIN Ok, well. I just checked this with a new project, you're abolutely right. It seems I had not created new keystores for a while then, or at least it didn't struggled me that there is no more alias password. Yes, under Release I can create the AAB, which is of course the only reasonable way, since the AAB is a bundle and contains 32 and 64 Bit bundles.
  25. Yes, I wanted to clarify WHAT exactly he wants to assign ...
×