Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 06/03/23 in all areas

  1. Lars Fosdal

    ChatGPT Converted Unit

    Chat in, shit out?
  2. bazzer747

    Good book about FireDAC

    I found Cary Jensen's book very deep and informative, with many examples. Always a go to when I'm not sure about something.
  3. @jiyiwan Starting with Android 11, things will be even more restricted for Android developers, not just in Delphi! But not, unfortunately, for hackers! Is not it? by default you can read/write in sub-folders of the app! Using ADB (Android tools) it is possible to do some magic to overcome some barriers, however, it is necessary to master the tool and issue some line commands to your device, either via USB or Wifi!!! Nothing too easy around here! On the other hand, you could do it like this: Deploy your files etc... to the default folder used by Delphi for Android devices: assets\internal (or external if you have privileges) after the first run of your app, check and copy the desired files to other folders on the device (unfortunately, this is not possible by default, so your app needs a special permission) To get the special permission, you must necessarily ask the device user to grant it! The proposed permission is "Access all files" (MANAGE_ALL_FILES_ACCESS_PERMISSION), however this permission requires you to ask Google-Play for permission to grant it, if you distribute your application through this means! *you need add just a permission in your Android Manifest, see in your Project-Options->Permissions the list of permissions for this! This permission is easily implemented in the app, and works to access all folders on the Android device, with the exception of some system folders, such as: Android/Data and some other control ones! After getting the permission "MANAGE_ALL_FILES_ACCESS_PERMISSION" (user can revoke it), you will be able to read and write in practically all the folders of the device (with the exception of some of the system), then, you will be able to read, write, copy, delete your files. This way, your own application can move the files that were deployed to another folder, and then just use them. I can confirm that the special permission "MANAGE_ALL_FILES_ACCESS_PERMISSION" really works, however, Goggle requires you to send a request reporting "why do you need this permission in your software?", if you want to distribute your application via Google-Play, for example! *this permission is only used by Antivirus, Manager Files, etc...
  4. David Heffernan

    ChatGPT Converted Unit

    Have you considered learning Delphi yourself, or hiring a programmer with thee skills. Because ChatGPT plus this forum isn't going to work out.
  5. OpenSSL has released new versions of the three active branches. These fix a moderate severity security issue CVE-2023-2650, which is a possible denial of service translating ASN.1 object specially crafted very long identifiers in X509 certificates, OCSP responses, PKCS7/SMIME, CMS, CMP/CRMF or TS from malicious web sites. Windows binaries are available in SVN and the overnight zip file and separately from http://wiki.overbyte.eu/wiki/index.php/ICS_Download or https://www.magsys.co.uk/delphi/magics.asp Separately, YuOpenSSL has released 3.0.9 and 1.1.1u as commercial DCUs allowing applications to be used with OpenSSL without needing separate DLLs. Angus
  6. You cannot deploy a file using Deployment Manager to a folder outside of the application. It might help to know why you actually want to, as there are issues inherent with dealing with "public" folders, especially on later versions of Android.
×