Jump to content

Dave Nottage

Members
  • Content Count

    1296
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by Dave Nottage

  1. Dave Nottage

    RequestPermissions - Trying to understand threading (better)

    Yes. This link may have some useful information regarding this. Do not request permissions outside of the main thread. I'm not sure why you think you need to.
  2. Dave Nottage

    RequestPermissions - Trying to understand threading (better)

    Incorrect - the permissions handler runs in the main thread. You can easily test this with: if TThread.CurrentThread.ThreadID = MainThreadID then // Is in the main thread Not sure what is causing your debugger issues.
  3. The example link you gave describes a problem, but does not have enough detail to determine exactly what their issue was. It may be the issue I referred to in my comment, however that also applies to Android 10. If it also crashes on Android 10 and Android 12 (or later), then it may be the issue referred to (above). Without further detail, particularly whether the problem happens in a blank app, it's very difficult to determine what it is.
  4. Can you provide specific links? Does this happen with a blank app?
  5. Dave Nottage

    How can i add a custom font to a windows fmx application

    I asked because of an issue that was fixed in 11.2, but there's a patch for 10.4: https://quality.embarcadero.com/browse/RSP-17030 I'm working on some code that should make it convenient to load fonts at runtime (on Windows), but for Delphi 10.4, that patch will be required.
  6. Dave Nottage

    How can i add a custom font to a windows fmx application

    You mean without having to install the font? Which version of Delphi are you using?
  7. Dave Nottage

    Is Embarcadero's DocWiki down?

    It's unresponsive for me
  8. Dave Nottage

    HTMLViewer - is there a Delphi 11 version?

    Do you mean compile errors? It compiles OK for me. Can you provide at least some of the errors?
  9. Dave Nottage

    Audio Session Initialization for iOS

    What category are you setting the audio session to? According to the docs for AVAudioSessionCategoryOptionMixWithOthers, it needs to be one of: AVAudioSessionCategoryPlayAndRecord, AVAudioSessionCategoryPlayback, or AVAudioSessionCategoryMultiRoute: https://developer.apple.com/documentation/avfaudio/avaudiosessioncategoryoptions/avaudiosessioncategoryoptionmixwithothers You might also want to read the docs on AVAudioSessionModeVideoChat: https://developer.apple.com/documentation/avfaudio/avaudiosessionmodevideochat Also, what description is it giving for the error, and which calls, exactly? "the calls" is too vague.
  10. Dave Nottage

    Unable to access Log.d on Android after update to 11.2

    There's a splitter bar just above the panel (ie not the listbox) where it says SM_T220 (and the serial). Move it upwards and the grid with the log entries will show
  11. Dave Nottage

    Unable to access Log.d on Android after update to 11.2

    OK, not sure why it would stop after just one message. Does it do that with all the filters off?
  12. Dave Nottage

    Unable to access Log.d on Android after update to 11.2

    I haven't seen that problem before. What make/model device do you have? Perhaps also include what version of Android is on it
  13. Dave Nottage

    The Delphi 11.2 release thread

    The resolution for the original report there is "cannot reproduce", which is accurate, given that the report claims that LSP does not work at all. This is a much more accurate report: https://quality.embarcadero.com/browse/RSP-39380
  14. Dave Nottage

    Delphi 11.2 - Error compiling for IOS

    It would have helped to mention that you're compiling for iOS Simulator (i.e not just iOS) Please refer to: https://blogs.embarcadero.com/rad-studio-11-2-alexandria-patch-1-available/
  15. Dave Nottage

    Delphi 11.2 - Error compiling for IOS

    Either your installation of Delphi was incomplete, or the IDE library paths are invalid for iOS Device 64-bit. They should look something like this: At least including $(BDSLIB)\$(Platform)\release, which is where libsqlite.a is located
  16. Dave Nottage

    TopCode Java Library in Delphi

    This is the output from Java2OP: WebCamSample: the parent class (javax.swing.JPanel) is not found java.awt.Graphics: not found java.awt.Graphics2D: not found java.awt.event.ActionEvent: not found java.awt.event.KeyEvent: not found java.awt.event.MouseEvent: not found java.awt.event.WindowEvent: not found java.awt.geom.AffineTransform: not found java.awt.image.BufferedImage: not found java.awt.print.PageFormat: not found javax.swing.JFrame: not found javax.swing.JPanel: not found javax.swing.Timer: not found topcodes.DebugWindow: the parent class (javax.swing.JPanel) is not found topcodes.TopCodePrinter: the parent class (javax.swing.JPanel) is not found So presumably you'll need to include the relevant jars that include javax.swing and java.awt, when importing
  17. Are you using TLocationSensor? That's where it was fixed. If you're attempting to use JLocationListener on its own, you'll need to modify the class that implements it, such as in the Unit14.pas attachment, here: https://quality.embarcadero.com/browse/RSP-39566
  18. Yes, the issue is fixed in 11.1, so 11.2 also has the fix. It's only mandatory if publishing to the Play Store. It should report the line/char that it fails on, so you should be able to tell where the problem is
  19. Dave Nottage

    Any tip with Datasnap Rest ISAPI + TDataModule

    This description is too vague. Please be specific about what the issue is, e.g. provide exact error messages. Are you able to create a reproducible example?
  20. Dave Nottage

    SSL in IOS Simulator

    Please refer to this QP report: https://quality.embarcadero.com/browse/RSP-39702
  21. Dave Nottage

    TidHTTP under FMX for android does not work

    Smartphone is a general term that could refer to Android or iOS devices (being the most common types of smartphone). If you require help for the device you're referring to, please be specific.
  22. Dave Nottage

    TidHTTP under FMX for android does not work

    Up until a few months ago, I was using them (for my client) on Android devices with version 4.4. Exactly.
  23. Dave Nottage

    Change of coding style/structure..

    No comment. Oh wait.. that was a comment 😉
  24. Dave Nottage

    TidHTTP under FMX for android does not work

    Please refer to this SO link: https://stackoverflow.com/questions/37105600/error-could-not-load-ssl-library-on-android-with-tidhttp
×