-
Content Count
1608 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
Delphi 11.3 issue with iOS Today Extension widgets
Dave Nottage replied to Chris Pim's topic in Cross-platform
It was reported in https://quality.embarcadero.com/browse/RSP-42283, but there are a couple of other similar reports, e.g. https://quality.embarcadero.com/browse/RSP-42415 The problem is that PAServer signs the extension with the wrong entitlements, and in Chris' (and my) case, it's unnecessary because the extension has already been correctly signed, i.e. it does not even need to be touched. Replacing the extension in the .app bundle, and using iosinstall to install the it solves the problem, at least debugging-wise. I expect a similar process will be needed for repackaging the .ipa. -
Once again:
-
Then show your full code. The example you gave does not show anything about clicking a listview item. A complete, basic test project would be even better.
-
When you say "fill in the edit with some text value", do you mean in code? If so, please show your code - all of the relevant code. It seems to me you may be attempting to populate the edits outside of the main thread.
-
macOS process spawning: Exception class 6 when calling addObserver
Dave Nottage replied to Navid Madani's topic in Cross-platform
Assuming NSFileHandleReadCompletionNotification is an NSString, it should be passed like this: NSObjectToID(NSFileHandleReadCompletionNotification) Having said that, I haven't come across the need to use such an observer. You might like to take a look at the code in Kastri that creates a process on macOS and reads from the output.- 3 replies
-
- macos
- spawning processes
-
(and 1 more)
Tagged with:
-
TLocationlistener.. fails in Delphi 12.
Dave Nottage replied to Bart Kindt's topic in Cross-platform
Your TLocationListener does not implement onFlushComplete, which was added to JLocationListener in Delphi 12: JLocationListener = interface(IJavaInstance) ['{D1CF3FB5-3BCB-4959-98D7-BD4D8F93D839}'] procedure onFlushComplete(requestCode: Integer); cdecl; procedure onLocationChanged(location: JLocation); cdecl; overload; procedure onLocationChanged(locations: JList); cdecl; overload; procedure onProviderDisabled(provider: JString); cdecl; procedure onProviderEnabled(provider: JString); cdecl; procedure onStatusChanged(provider: JString; status: Integer; extras: JBundle); cdecl;//Deprecated end; -
Delphi 12.0 Athens is not correctly installing the Android SDK
Dave Nottage replied to scamp's topic in Cross-platform
In the released version of Delphi 12, the folder is: C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\AndroidSDK-2525-23.0.50491.5718 -
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
It's done for both iOS and Android, but for Android just for Delphi 12. For iOS, either 11.3 or Delphi 12. -
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
I've now pushed the changes to support User Messaging Platform (UMP). Support for Android is via Delphi 12 only. I strongly suggest reading the readme, paying attention to the details. -
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
Looks like it's going to be a Delphi 12 only kind of thing at least for Android, as using the current implementation of User Messaging Platform needs jar libraries that are included with Delphi 12. It might be possible to add the required jar libraries and "disable" the older ones in Delphi 11.3, however it is becoming too messy. I'm now working on doing some cleaning up, re-testing and documentation - might be done before the end of the weekend. -
Using TOSVersion: IsWindows11 := (TOSVersion.Major = 10) and (TOSVersion.Minor = 0) and (TOSVersion.Build >= 22000); (At least until Windows 12?) Where IsWindows11 is a Boolean.
-
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
That library is connected with push notifications, and is not related to UMP (User Messaging Platform). That I am, and thanks! A progress update: I have some code working in Android, though the process of integrating the support is not exactly pretty - it's something that really should be built into the IDE. More later.. -
Delphi 11.3: When I click on "Aliens" PUSH, my Ios application crashes!
Dave Nottage replied to Vanar's topic in FMX
There is no reason for your application to do anything if you tap a notification that is meant for other applications. What do you mean by "closes abnormally"? Does it crash with no error messages? Have you used the Console app to check for log messages that might help determine why your app crashes?- 4 replies
-
- delphi 11.3
- ios
-
(and 1 more)
Tagged with:
-
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
I'm working on adding this to the Kastri library - it might be ready in a few days time. -
Navigate('about:blank');
-
What could cause access of CAPTURE_SECURE_VIDEO_OUTPUT, CAPTURE_VIDEO_OUTPUT, READ_FRAME_BUFFER ?
Dave Nottage replied to Rollo62's topic in Cross-platform
More or less, yes 🙂 Updating would be for far more important factors than those warnings -
What could cause access of CAPTURE_SECURE_VIDEO_OUTPUT, CAPTURE_VIDEO_OUTPUT, READ_FRAME_BUFFER ?
Dave Nottage replied to Rollo62's topic in Cross-platform
Yes - update to Delphi 12. If that's not an option, and unless you're having problems with Play Store due to the warnings, it's pointless to do anything. -
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
Thanks for the heads up! -
[Q] Add the Google User Messaging Platform SDK to my app
Dave Nottage replied to kabiri's topic in Cross-platform
For which platform(s)? -
You might be interested in this: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLowerVersions
- 3 replies
-
- delphi 10.4.2
- android 5.1.1
-
(and 1 more)
Tagged with:
-
Your Android device does not support the selected target platform architecture
Dave Nottage replied to alogrep's topic in FMX
This applies only when generating an application for uploading to Play Store (.aab file). If you're in "development mode" and your device supports 32-bit only, just select Android 32-bit as the target. -
sk4d.dll Delphi 12 when app becomes 'SKIA' enabled question
Dave Nottage replied to rudy999's topic in General Help
By default SVGIconImageList uses a different library from Skia on Windows, namely Image32 -
sk4d.dll Delphi 12 when app becomes 'SKIA' enabled question
Dave Nottage replied to rudy999's topic in General Help
Then it does not have Skia enabled -
sk4d.dll Delphi 12 when app becomes 'SKIA' enabled question
Dave Nottage replied to rudy999's topic in General Help
Try running it on a machine that does not have Delphi 12 installed. -
It was "up" for a while.. now "down" again for the last 5 hours. I have a service that monitors QP for new reports. Because of the constant outages, I'm working on having a page published with a "current status", that uses the service. In the meantime, this gives the details in JSON.