-
Content Count
1609 -
Joined
-
Last visited
-
Days Won
36
Posts posted by Dave Nottage
-
-
23 minutes ago, Nick Blunda said:This work fine in Windows OS, but in macOS second synchronisation don't works (Labels remains empty).
Looks like a bug - In the TPlatformCocoa.ShowWindowModal method in FMX.Platform.Mac, it never calls CheckSynchronize inside of the loop.
In Delphi 12, modifying FMX.Platform.Mac.pas starting at line 4855:
while True do begin CheckSynchronize; // <--- Add this line
Fixes it.
-
3
-
-
1 hour ago, kabiri said:I apologize, I had only paid attention to this part.
Thanks.. I've updated the readme now.
-
1
-
-
2 minutes ago, kabiri said:I only used admob (from kastri)
Which has changed in the last few weeks, and is now dependent on AppTrackingTransparency. See the updated readme.
-
1
-
-
Just now, kabiri said:I have previously compiled the program without this Delphi 11 framework.
Which program? What libraries is your program using?
-
2 minutes ago, kabiri said:I followed the steps, it didn't make a difference, it gives an error
[DCC Error] E2597 ld: file not found: /System/Library/Frameworks/AppTrackingTransparency.framework/AppTrackingTransparency
If your project requires AppTrackingTransparency, you also need to add that framework to the SDK, as per these instructions.
-
1
-
-
24 minutes ago, Nick Blunda said:It is possible to hide "Window" item of system menu in macOS?
Example code for how to do it:
uses Macapi.AppKit, Macapi.Helpers; procedure TForm1.Button1Click(Sender: TObject); var LMenu: NSMenu; LIndex: Integer; begin LMenu := TNSApplication.Wrap(TNSApplication.OCClass.sharedApplication).mainMenu; LIndex := LMenu.indexOfItemWithTitle(StrToNSStr('Window')); if LIndex > -1 then LMenu.itemAtIndex(LIndex).setHidden(True); end;
-
2
-
-
1 hour ago, kabiri said:I created the folders in the paths that it couldn't find
You should not have to manually create missing folders. Even if you did, the files that the compiler needs would not be there. If there was a missing PrivateFrameworks folder, you may have to re-import the SDK using these steps:
- In the folder C:\Users\(username)\Documents\Embarcadero\Studio\SDKs, where (username) is the logged in user name, delete the relevant iPhoneOS SDK folder (e.g. iPhoneOS17.2.sdk)
- Delete the SDK from the SDK Manager in Delphi
- On the Mac, in the ~\PAServer\scratch-dir folder, remove any folders starting with cache-dir
- In Delphi, re-add the iOS SDK
- Repeat the steps mentioned earlier for importing Swift frameworks, ensuring that you also follow the manual step involving copying of folders.
-
1
-
36 minutes ago, kabiri said:how to fix it?
Did you follow and/or check the instructions in my earlier reply?
-
8 hours ago, Rollo62 said:Yes, I need debugging on devices, because I need to debug external devices too.
Without debugging, this turns out to be a real pain, although I have implemented massive logging meanwhile.You're not going to be able to debug on iOS 17 devices using Delphi until EMBT fix it, regardless of the Xcode version. If you need debugging on real devices, use one with iOS 16.x (if you can find one)
-
33 minutes ago, Rollo62 said:It seems that unfortunately nobody else has some more insights regarding Sonoma and XCode 14.3.1 vs. XCode 15.2,
I might have, if I needed to use Xcode 14.3.1 - I have read back trying to work out why you need to. Delphi 11.3 and 12 works with Xcode 15.2 for me, aside from debugging with iOS 17 devices (as you discovered - known issue, yet to be resolved)
-
4 minutes ago, JohnLM said:I want to watch some youtube videos, but from my phone, streamed to my laptop
What is preventing you from just watching them on your laptop?
-
50 minutes ago, JohnLM said:And after searching around I saw that there are other ways to stream using OBS software on the laptop and installing an app on the phone via an ipp address.
Not OBS (at least as far as I can tell), but I use this on Android: https://play.google.com/store/apps/details?id=com.ipphonecamera&hl=en&gl=US
I thought they had an iOS version, but I could be mistaken. Can't seem to find it on the App Store. -
4 minutes ago, Levente said:What unique identification number can be read from iPhones?
On iOS, it is common practice to use the identifierForVendor method of the UIDevice class. This value is guaranteed to remain the same for the life of the install (i.e. if the user uninstalls/re-installs your app, it may change). This code shows how to obtain it as a string.
-
1
-
-
9 minutes ago, Tommi Prami said:Can someone build release version of GExperts with patched D12, with current sources?
Just the DLL? Builds for release OK here.
-
2 minutes ago, Brian Warner said:I can't get to GetIt via Welcome page or Tools menu in either 11.2 or 12.0. Any further updates?
Working OK here in 12.0. They're apparently still working on resurrecting GetIt for 11.x
-
On 1/31/2024 at 9:36 PM, Dave Nottage said:I seem to recall that I was going to try and work around it by constructing an Activity in Java, and have it forward the intent to the Delphi app, not trying to start it again if it was already running, of course. I am yet to do anything like that as it's not a priority for me.
Must be having memory issues - see this QP report. My only excuse is that it's from May last year.
-
16 minutes ago, Ian Branch said:Any thoughts/suggestions??
Does it happen with a blank project? Either way, can you post the source here?
-
1 hour ago, philipp.hofmann said:But the creator didn't create a ticket on EMBT side
Yes, they did: https://quality.embarcadero.com/browse/RSP-43324
-
19 minutes ago, Bart Kindt said:https://getit-12.embarcadero.com
is still not reachable
It's working for me (in the IDE) from here.
-
2 minutes ago, mark.m said:JAVA_HOME, java/bin in system paths
What does JAVA_HOME show as, and do you have C:\Program Files\Eclipse Adoptium\jdk-11.0.14.101-hotspot\bin (or a variation thereof, depending on the hotspot version) in the PATH variable? Do you have anything else in the PATH that points to some other JDK?
-
2 hours ago, Vanar said:My application, written for iOS, creates caf files
Creates .caf files by recording audio? You realise you can record to AAC format on iOS, which can be played on Android?
-
1
-
-
18 minutes ago, Gordon Kenyon said:do you know what timeframe we are looking at before debugging for iOS 17 will be available?
I don't know, sorry.
-
1
-
-
On 2/3/2024 at 12:32 AM, Vanar said:And for the case [TFileKind.Photo] there is no handler in SelectorCompleteHandler. I can't determine which video I selected, I can't determine the file name.
For photos, it's via SelectorImageStreamHandler. Videos are yet to be supported - thanks for the reminder 🙂
Edit: I've opened this issue in Kastri.
-
1
-
-
1 minute ago, Vanar said:Unfortunately, this only works for Android.
It works on Android and iOS.
2 minutes ago, Vanar said:You yourself commented on the link:
That comment is from 3 years ago, and the implementation has changed since then
How to rearrange projects in projects group file?
in Delphi IDE and APIs
Posted
Select a project in Project Manager, use Ctrl-Up or Ctrl-Down to move it up/down the list