-
Content Count
1651 -
Joined
-
Last visited
-
Days Won
37
Everything posted by Dave Nottage
-
Are you using the demo (the BarcodeReaderD11 project should work in Delphi 12) or your own project? If it's your own project, have you followed the instructions as per: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/BarcodeReader#vision-libraries
-
Vcl.ExtDlgs was compiled with a different version of Vcl.Dialogs.TOpenDialog?
Dave Nottage replied to alogrep's topic in VCL
TOpenDialog is the class. Vcl.Dialogs.pas is the file containing that class -
This is a separate, and known issue - currently no debugging from Delphi for iOS 17 devices. Any reason why you're not using Delphi 12? Are you planning to deploy the app to the App Store? You can ensure you receive a proper SDK import (usually) by following these steps: On the Mac, under the ~/PAServer/scratch-dir folder, remove any folders starting with cache-dir- On the Windows machine, delete the SDK folder from C:\Users\(username)\Documents\Embarcadero\Studio\SDKs where (username) is the logged in username In the Delphi SDK Manager, delete the SDK, then re-add it. I added "usually" because that might not be the case for Delphi 10.4 and current iOS SDKs. If you're targeting mobile, you really should stay current.
-
This might be a better description:
-
See this report: https://quality.embarcadero.com/browse/RSP-43383
-
Even when no project is loaded? Then that is a bug.
-
It's a case of poor or missing documentation. If you have a project open and uncheck a package, the package will not be loaded again for that project. If you uncheck a package with no project open then you should see the package unchecked if you reload the IDE.
-
funny error message; [DCC Error] E2597 arm-linux-androideabi-ld.exe: error: cannot find -lgnustl_static
Dave Nottage replied to gil's topic in Cross-platform
Cloud logging, or local? If local, see this, which includes a mention of Device Lens. See this discussion: As @Rollo62 mentioned, Grijjy Cloud Logger has not had an update in a few years, however I suspect it's still viable as a cloud logging solution. -
Custom TrueType font in FMX Android app?
Dave Nottage replied to Lars Fosdal's topic in Cross-platform
For Delphi 12, starting from line 98 in the source: FontFile := TPath.Combine(TPath.GetDocumentsPath, CurrentSettings.Family); if not CurrentSettings.Style.Weight.IsRegular and TFile.Exists(FontFile + '-Bold.ttf') then FontFile := FontFile + '-Bold.ttf' else if CurrentSettings.Style.Weight.IsRegular and TFile.Exists(FontFile + '-Regular.ttf') then FontFile := FontFile + '-Regular.ttf' else FontFile := FontFile + '.ttf'; i.e. the changed parts start from the line starting with: if not CurrentSettings.Style.Weight.IsRegular -
Advice needed: Maintaining a Delphi application on the Google Play Store
Dave Nottage replied to Yaron's topic in Cross-platform
In terms of Delphi, the best way forward to put apps on Google Play Store is to use Delphi 12, since you need to target API level 33. You might be able to use Delphi 11.3 CE, however you'd need to consider any functionality used that might not work in Android 13 or higher, particularly taking/selecting photos. -
I have a repo containing some ChatGPT "conversations" which might be of interest, and have just added this one: https://github.com/DelphiWorlds/HowTo/blob/main/ChatGPTConversations/DetectClonedApp.md The Delphi code is my conversion of the Java code. As per the warning here, always verify anything coming from ChatGPT, or me, for that matter 🙂
-
Debugging is currently not working from Delphi for iOS 17 devices. There is yet to be an ETA for a fix.
-
Then I stand corrected 🙂 Not sure if there's anything for Delphi. Someone else might be able to chime in
-
No idea in that case, sorry.
-
If your device has iOS 17, debugging with Delphi is currently not working. There's yet to be an ETA on a fix for it
-
Where the user can select multiple parts of text I suspect is wishful thinking. There's bound to be edits/memos where text can appear to be selected in multiple locations, i.e. searched text is highlighted.
-
Unable to select negative numbers on virtual keyboard
Dave Nottage replied to bzwirs's topic in Cross-platform
Does Woll2Woll have their own edit in their grid? As I say, the standard TEdit in FMX works here. -
Unable to select negative numbers on virtual keyboard
Dave Nottage replied to bzwirs's topic in Cross-platform
Are you using a standard TEdit from FMX? Using NumberPad works here. (Delphi 12, Pixel 6 Pro, Android 14) -
It's been available for Delphi 12 for some time. The "latest" is always located here.
-
If there's a way to do it in Java or Kotlin, there's usually a way to do it in Delphi. Do you have any links discussing why this is a problem, and potential solutions?
-
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
It should be helpful if you have an older Mac and are unable to update macOS/Xcode. The link I posted is for the exact moment that @Ian Barker discusses how to solve the macOS/Xcode upgrade issue. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
You might need to provide more information, then - perhaps a test project that reproduces the error? -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
I have just noticed you have a version of Xcode that may not even have the Swift support mentioned earlier. Delphi 12 is able to use Xcode 15.1, so I suggest updating. If your Mac is too old to update macOS/Xcode, I suggest watching this part of this video. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
There's some instructions for adding Swift support, here. You will also need to ensure you have the Linker Options configured correctly in Project Options as per these instructions.