-
Content Count
1424 -
Joined
-
Last visited
-
Days Won
32
Everything posted by Dave Nottage
-
It looks like you're taking a fairly different approach, however you may be interested in voting for this issue: https://quality.embarcadero.com/browse/RSP-38988. (which would be one way of solving your problem)
-
You mean like this sample?
-
RequestPermissions - Trying to understand threading (better)
Dave Nottage replied to KMarb's topic in FMX
It makes more sense to request the permissions within the UI thread, because if they're not granted, there's no point in even starting a new thread to perform the task, because it's not going to be able to do anything anyway. -
RequestPermissions - Trying to understand threading (better)
Dave Nottage replied to KMarb's topic in FMX
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. -
RequestPermissions - Trying to understand threading (better)
Dave Nottage replied to KMarb's topic in FMX
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. -
[Delphi10.3]Why does an app running on Android 10 and 12, crash on Android11?
Dave Nottage replied to Fabian1648's topic in FMX
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. -
[Delphi10.3]Why does an app running on Android 10 and 12, crash on Android11?
Dave Nottage replied to Fabian1648's topic in FMX
Can you provide specific links? Does this happen with a blank app? -
How can i add a custom font to a windows fmx application
Dave Nottage replied to Linuxuser1234's topic in FMX
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. -
How can i add a custom font to a windows fmx application
Dave Nottage replied to Linuxuser1234's topic in FMX
You mean without having to install the font? Which version of Delphi are you using? -
It's unresponsive for me
-
HTMLViewer - is there a Delphi 11 version?
Dave Nottage replied to RCrandall's topic in Delphi Third-Party
Do you mean compile errors? It compiles OK for me. Can you provide at least some of the errors? -
Audio Session Initialization for iOS
Dave Nottage replied to philipp.hofmann's topic in Cross-platform
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. -
Continuous Integration with Delphi and Continua CI
Dave Nottage replied to Vincent Parrett's topic in Tips / Blogs / Tutorials / Videos
Thanks heaps, Vincent! -
Unable to access Log.d on Android after update to 11.2
Dave Nottage replied to Calum Anderstrem's topic in FMX
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 -
Unable to access Log.d on Android after update to 11.2
Dave Nottage replied to Calum Anderstrem's topic in FMX
I haven't seen that problem before. What make/model device do you have? Perhaps also include what version of Android is on it -
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
-
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/
-
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
-
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
-
Rad Studio 11.1 - Android v. 12 - Android Service is throwing an error: com.embarcadero.rtl.NativeDispatchException: Invoke error: method "onLocationChanged" not found
Dave Nottage replied to Alex40's topic in FMX
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 -
Rad Studio 11.1 - Android v. 12 - Android Service is throwing an error: com.embarcadero.rtl.NativeDispatchException: Invoke error: method "onLocationChanged" not found
Dave Nottage replied to Alex40's topic in FMX
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 -
Any tip with Datasnap Rest ISAPI + TDataModule
Dave Nottage replied to guarasemini's topic in Network, Cloud and Web
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? -
Please refer to this QP report: https://quality.embarcadero.com/browse/RSP-39702
-
TidHTTP under FMX for android does not work
Dave Nottage replied to JohnLM's topic in Network, Cloud and Web
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.