Jump to content

Dave Nottage

Members
  • Content Count

    1558
  • Joined

  • Last visited

  • Days Won

    36

Dave Nottage last won the day on January 17

Dave Nottage had the most liked content!

Community Reputation

605 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Given the content of the links, to create Delphi code for what you want to do does not seem trivial.
  2. Can you provide links to the code and information you're referring to?
  3. Dave Nottage

    Adroid WRITE_EXTERNAL_STORAGE Delphi 12.3

    I expect it's not Delphi 12.3 that's the problem, but the version of Android on the device that you're running the app on. See here. It would help to know the location of the folder you're trying to create.
  4. Actually, there is more to this. If you need access to files other than audio, images and video that are not created by your app, you would need to use the relevant action(s), as described here. This kind of thing is implemented in the FilesSelector feature in Kastri.
  5. It depends on the folder. If it's private to the app (e.g. via TPath.GetDocumentsPath) then TDirectory.GetFiles will work. If the folder is shared (as are those that you listed), then a method similar to what is in the demo could be used, i.e. via ContentResolver.
  6. I've created a demo in my HowTo repository. It also demos a way of accessing the contents of the files, since you cannot use the "traditional" methods of accessing the files in Delphi.
  7. Looks like I was wrong about that. Compiling the FCMBaseDemo in Kastri, using the Firebase iOS SDK v11.11 succeeds using Delphi 12.3. Might have been another SDK I was thinking of 🙂
  8. After a conversation I have had with someone with the same problem, it seems it is due to a bug in earlier versions of the Firebase iOS SDK. The implementation in Delphi uses v6.28, and the latest version is v11.11, so it is quite a way "behind". Due to a linker issue in Delphi 12.1 and earlier, the latest version of the Firebase iOS SDK that can be used with it is v10.8. Delphi 12.2 can use at least v11.2, however I believe the linker starts failing again sometime before v11.11 (I'd have to check this). Having said all that, even if you download one of the later versions of the Firebase iOS SDK, there's a number of changes that would need to be made to Delphi source code in order to make it work. Alternatively, the FCM implementation in Kastri could be used, which is known to work with Firebase iOS SDK v11.2.
  9. It may be a misconfiguration of the SDK settings in Delphi. What value do you have for SDK API level location?
  10. It shouldn't, since Delphi itself inserts a provider tag in the resulting AndroidManifest.xml for example when using Secure File Sharing (enabled in the Entitlement List in Project Options).
  11. Not sure if this may have been affecting it, however you have an extraneous space in the android:authorities attribute, i.e. just before: %package%. Can you take out the provider tag to see if that really was required?
  12. You would need to add the provider node of that manifest.xml to AndroidManifest.template.xml inside of the application tag, but remove the: tools:node="merge" attribute, and replace: ${applicationId} with: %package% Which Delphi should replace with your package identifier in the resulting AndroidManifest.xml
  13. Dave Nottage

    Android only shows the FMX logo for my app

    Yes, Android 8.0 has a bug that prevents the Delphi debugger from starting. One solution is to upgrade to Android 8.1, if you can.
  14. Dave Nottage

    Job Bruxelles hybride

    Même chose 😄
  15. If it's just data synchronization, is not user initiated, and you want it in Delphi code, you may be stuck.
×