-
Content Count
1490 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
As long as the PAServer is exposed to the "outside world" (perhaps by port forwarding), yes.. that is possible. Bear in mind however that if you're deploying to a device, the machine that has PAServer on it needs to be able to access the device, either by being connected directly to that machine, or possibly using something like this: https://www.net-usb.com/
-
I doubt that error message (platform architecture issue) is related to the API level issue. It's possible that you're compiling for 64-bit and the installed OS is 32-bit. Be aware that some devices have a 64-bit CPU, but have a 32-bit Android OS installed.
-
delphi 11 android app error "Application does not support this device"
Dave Nottage replied to KMarb's topic in FMX
It may help to delete everything in the output folder(s) in question - by default they're Android/Debug (or Release) and Android64/Debug (or Release), then rebuild -
delphi 11 android app error "Application does not support this device"
Dave Nottage replied to KMarb's topic in FMX
The error message: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider" Usually means that the jar that contains the class androidx.core.content.FileProvider was not included in your app. This class is in core-1.5.0-rc02.dex.jar, and should appear in the Libraries node, as per the instructions in my earlier reply. This is an example of what it should look like: i.e. the package in question does not have a red "x" in the icon -
delphi 11 android app error "Application does not support this device"
Dave Nottage replied to KMarb's topic in FMX
It's odd that you would receive that error on one device and not another. Regardless, please see this: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries -
The targetSdkVersion value is whichever target API level Delphi currently supports, i.e. it is not determined by which API level you have selected. It should allow you to set this (see https://quality.embarcadero.com/browse/RSP-38976), however if you want it to be something different you'll need to change it in the AndroidManifest.template.xml file.
-
Create multiple instances of tApplication with multiple MainThreads?
Dave Nottage replied to microtronx's topic in VCL
What is it that you think this will achieve? -
I suggest start reading, here: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/IOS_Mobile_Application_Development
-
What the Delphi 11 version number after november patch ?
Dave Nottage replied to William23668's topic in Delphi IDE and APIs
Which parts are incomplete? The version number in the about box changes only when there's a new major version or update (i.e. not a patch) -
No, it doesn't. I wish it did 🙂
-
Yes. I wrote it, so I would know. Also see line 58 of the code
-
Can you describe why it needs to be rich edit?
-
That's for Windows only.
-
It may be related to the model and iOS version. Please see: https://quality.embarcadero.com/browse/RSP-36095
-
Posting the Delphi code that you are using might be helpful
-
Actually, it probably will. I already overlay things like TMapView and TWebBrowser, using the "native" controls in the Kastri repo: https://github.com/DelphiWorlds/Kastri/blob/master/Controls/NativeControls.md. The part that's missing is macOS support.
-
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?