-
Content Count
1489 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
This is a regular method. OnChange is an object method, so needs to be assigned to a method that is part of an object -
I am getting TPushServiceConection undeclared
Dave Nottage replied to Gary Wardell's topic in General Help
Is your code really missing one "n"? -
You could use that one, however if you have versions for both 32-bit and 64-bit (or just one of either) you might want to deploy to: library\lib\armeabi-v7a library\lib\arm64-v8a For 32-bit and 64 bit respectively, and use: LoadLibrary(TPath.Combine(TPath.GetLibraryPath, 'test.so'))
-
My steps: In the script: Modify SDKVERSION to "13.6" (which is what I have), and MINIOSVERSION to "11.0" (Delphi 10.4 supports only 11.0 or higher) Modify ARCHS to "x86_64 arm64" (32-bit does not apply to 10.0 or higher) Run the script (build-libopus.sh) Run the command: file dependencies/lib/libopus.a Output: dependencies/lib/libopus.a: Mach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64] dependencies/lib/libopus.a (for architecture x86_64): current ar archive random library dependencies/lib/libopus.a (for architecture arm64): current ar archive random library
-
Ensure that this line is in the info.plist.TemplateiOS.xml file: <%StoryboardInfoPListKey%>
-
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
The property applies to all of them, yes.. but you set it to True only for the ones you want the specialised behaviour on. -
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
For your case: TPanel = class(Vcl.ExtCtrls.TPanel) private FSpecialised: Boolean; protected procedure Paint; override; property Specialised: Boolean read FSpecialised write FSpecialised; end; When the form is created, set the Specialised property to True for the TPanels where they need the special treatment. In the Paint method, check the FSpecialised flag. -
Is interposer class really best to customize TPanel.Paint?
Dave Nottage replied to Mike Torrettinni's topic in VCL
I usually add a Boolean value to the interposer and set it to True when the form is created, only for those components with the specialised behaviour. -
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
The extension (a Notification extension) I did (which I don't have working yet) does not need to communicate to the Delphi app, however the Grijjy article covers communicating between the extension in the section titled "Exchanging data with your App Extension", i.e. you need to set up an Application Group, and you need to use the NSUserDefaults class to share information between the extension and your app.- 31 replies
-
rio Bulding an app to test puish alerts
Dave Nottage replied to Gary Wardell's topic in General Help
If you have 10.3.2 or 10.3.3, the changes to include Firebase support are already included. -
-
You don't need to install an older SDK. You do however need to ensure that: The minSdkVersion value in AndroidManifest.template.xml is 19 (replacing %minSdkVersion%) In the NDK settings in SDK Manager, ensure that the NDK API Location value ends with android-19, and the path in the Delphi NDK Library path value that has "platforms" in the value also has android-19 in the path
-
FMX.Android Intents Sample missing procedure
Dave Nottage replied to Massimiliano S's topic in Cross-platform
No idea at this point, sorry. As I say, it's on my list. -
Precisely timed display output on Android
Dave Nottage replied to TurboMagic's topic in Cross-platform
There's a Delphi implementation of Choreographer in Alcinoe: https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxAni.pas If I were doing development where timing of display output is crucial (such as a game), I'd do something similar -
FMX.Android Intents Sample missing procedure
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Not sure that there's anything in it to solve his issue, but thanks for the plug 🙂 I have a feeling it's a simple entry in the manifest. Added to my already huge to-do list. -
Wanted: Experienced lead-developer and architect with a musical passion
Dave Nottage replied to Hans♫'s topic in Job Opportunities / Coder for Hire
Apparently Arbejdsglæde will 🙂 -
Via a phone device, apparently? https://developer.samsung.com/galaxy-watch-design/studio/tutorial/connect.html
-
[Firemonkey ]Change iOS screen rotation at runtime
Dave Nottage replied to gioma's topic in Cross-platform
In my case, it's not about advising the user how to set up anything: Application.FormFactor.Orientations takes care of which orientations the app will support. The issue is with re-orienting the app once Application.FormFactor.Orientations has been changed at runtime. Currently, the user has to rotate the device themselves.- 10 replies
-
- ios 13
- firemonkey
-
(and 1 more)
Tagged with:
-
[Firemonkey ]Change iOS screen rotation at runtime
Dave Nottage replied to gioma's topic in Cross-platform
@Rollo62Did you manage to come up with a solution for this? I'm looking for one, and it is proving to be elusive 🙂- 10 replies
-
- ios 13
- firemonkey
-
(and 1 more)
Tagged with:
-
Audio recording rises access violation on IOS 13.5.1
Dave Nottage replied to OldyCoder's topic in Cross-platform
Is there a value for NSMicrophoneUsageDescription in the Project Options, like this? If not, you'll need to add it, by right-clicking on the grid, click Add Key, enter NSMicrophoneUsageDescription as the name, click OK, then provide a value for it. -
Still "down" here down under
-
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Your extension was not compiled for iOS (arm64), it was compiled for macOS (x86_64). To determine this, I ran this command on the Mac: file yashare For which the result was: yashare: Mach-O 64-bit executable x86_64 When you created the extension, were you adding a Target from an iOS project? It should have looked like this: The target properties would then look like this:- 31 replies
-
Patch 2 for RAD Studio 10.4 now available
Dave Nottage replied to Marco Cantu's topic in General Help
Primoz is psychic 😉 -
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Can you show what the remote paths are? Just a guess, but perhaps make sure you haven't enabled the Generate iOS universal binary file (armv7 + arm64) option in the compiler options. Otherwise I'd need to see an example project- 31 replies
-
Help, I'm trying to move an application to Rio.
Dave Nottage replied to Gary Wardell's topic in General Help
Does "other question" refer to your first post in this thread, or something else? If it's "something else", you don't appear to have provided any details as to what the errors are.