-
Content Count
1562 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
%g can be used with the Format statement, e.g: Format('This is a float value: %g', [Value])
-
11.3 is backward compatible for devices that have at least iOS 14, possibly earlier
-
Testers needed for GExperts Instant Grep expert
Dave Nottage replied to dummzeuch's topic in GExperts
Not there for me. I'm assuming I'm doing something wrong ๐ I'll take a look at the code later... -
Testers needed for GExperts Instant Grep expert
Dave Nottage replied to dummzeuch's topic in GExperts
Something is amiss for me: I'm building from r4065 and I can see files referring to Instant Grep, but there appears to be no menu item - is it not under the GExperts item? On a side note: is there a plan to make GExperts respect the IDE theme? -
Using a background thread is extremely normal.
-
I have added a demo to the HowTo repo that demonstrates how to achieve this. Please read the readme for instructions. Note that there is no special folder - it's a case of configuration in order to share files from the documents folder.
-
How to detect when a Form is active in Designer
Dave Nottage replied to luciano_f's topic in GExperts
Thanks.. your ticket is the explanation I was looking for. -
How to detect when a Form is active in Designer
Dave Nottage replied to luciano_f's topic in GExperts
Just so I understand: why do you need to do this? -
How to detect when a Form is active in Designer
Dave Nottage replied to luciano_f's topic in GExperts
Can you explain this in another way? It sounds very confusing. -
I always install macOS support anyway, so had not noticed. I haven't seen the requirement anywhere (as yet), so someone might want to report the issue ๐
-
I was going to expand on it, but Uwe has done it! https://www.uweraabe.de/Blog/2023/10/04/tzipfile-improvements-in-delphi-12/
-
You mean it worked after installing macOS support? Compiling for iOS Simulator should not require it, as far as I know.
-
dsymutil.exe should be in the bin folder of your Delphi install, e.g. C:\Program Files (x86)\Embarcadero\Studio\22.0\bin If it is not, then it seems your install of Delphi did not complete correctly, which may mean you need to reinstall. Less drastic is perhaps uninstall iOS support and reinstall it using Tools | Manage Platforms
-
I was looking at the wrong part of IdGlobal, i.e. line 2865 (in Delphi 11.3)
-
If I understand correctly, the current beta of Xcode is relevant only to those developing for Vision OS - it is otherwise the same as the released version. Can you provide evidence that this is the case? Regardless, I'm not sure why Indy chooses to use its own function over the one in System.pas - the code for it is executed differently on iOS than on Windows.
-
After a bit of experimenting and searching around, it appears it's currently not possible. Here is one link relating to the issue: https://bugs.chromium.org/p/chromium/issues/detail?id=669492 I expect you'll need to implement photo taking in the app itself, and then when the user taps "Select Photo" or "Take A Photo" link in the TWebBrowser, they'll be able to select the image that has been taken.
-
They're the only ones I have seen so far. On Facebook: https://www.facebook.com/groups/137012246341854 and https://www.facebook.com/groups/342580832556845
-
I've seen similar issues reported on social media groups. I'll be testing it myself later
-
Interestingly enough, that's exactly the fix that was reported here ๐
-
Send sqlite database file with share sheet on IOS and Android
Dave Nottage replied to grantful's topic in Cross-platform
Your project appears to include a folder in its search path that contains the file Macapi.ObjectiveC.pas, which by default is in the source\rtl\osx folder in the Delphi install, but perhaps you have a copy of the file elsewhere. The fact that it reports: Undeclared identifier: 'SObjCClassRegistrationFailed' means that there's a mismatch between the Macapi.ObjectiveC.pas it finds, and the System.RTL.Consts unit, which contains the missing identifier. -
Send sqlite database file with share sheet on IOS and Android
Dave Nottage replied to grantful's topic in Cross-platform
I have kept Kastri very much up to date, and I "officially" support the last 2 major updates, i.e. presently 10.4.x and 11.x. Rest assured that the same will apply to Delphi 12. -
Send sqlite database file with share sheet on IOS and Android
Dave Nottage replied to grantful's topic in Cross-platform
Where did you have the idea that SharedFileName was a property of TShowShareSheetAction? This class supports sharing only images and text. If you want to share a file, you may be interested in this: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/ShareItems -
No official fix as yet, however I have come up with the following workaround - Note: this has had no testing beyond a blank app: 1. Copy FMX.Platform.iOS from source\fmx into your project folder. 2. In the TApplicationDelegate.applicationDidFinishLaunchingWithOptions method towards the end, make the following change (i.e. add the one line of code indicated๐ // Creating window WindowManager := PlatformCocoaTouch.WindowManager; WindowManager.Window := TFMXWindow.Create(MainScreen.bounds); WindowManager.RootViewController := TFMXViewController.Create; // *** iOS17 SDK crash issue - Add the following line: *** WindowManager.RootViewController.Super.init; WindowManager.NativeWindow.makeKeyAndVisible; Note also that this measure is needed only if you are building against the iOS 17 SDK - it is not required when building against earlier SDKs.
-
The In-App purchase issue might have been occurring only on earlier betas. Chris has extreme users ๐
-
Never mind - it seems debugging from Delphi is not possible for iOS 17 devices at the moment. I confirm that apps built against iOS 17 SDK crash on start. For now, you'll need to use an older SDK (e.g. iOS 16.4 SDK), if you had imported that earlier.