-
Content Count
1279 -
Joined
-
Last visited
-
Days Won
28
Posts posted by Dave Nottage
-
-
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.
-
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
-
2 hours ago, Vanar said:Tell me, is there an implementation of video selection for iOS?
For example, like selecting images by ActionTakePhotoFromLibrary or TOpenDialog.This might be what you are after: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/FilesSelector
-
53 minutes ago, DominikR said:While testing my features i found out, that my app keeps on hanging on a black screen when i try to import a text file with a file explorer.
If this is the same issue as I encountered a few months ago (I really should have kept notes), then it's because the Files app ignores singleTask for launchMode and attempts to start a new activity, and Delphi does not support starting a completely new activity in the same app. This is an SO discussion about it being a problem also using Java.
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.
- 1
-
5 minutes ago, Gordon Kenyon said:issues on Android with SQLIte
Which ones are these?
-
5 minutes ago, RaelB said:Is there an open source library similar to this, that can be used with older Delphi versions before THttpClient was introduced..?
This may be what you're after: https://github.com/synopse/mORMot/blob/master/SynCrtSock.pas
- 1
-
6 minutes ago, FoxAl said:however still same behavior, when I open it on the iPad, crash.
Only on iPad, or does it crash on iPhone, too? Does it crash immediately on startup?
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
in Cross-platform
Posted
If your project requires AppTrackingTransparency, you also need to add that framework to the SDK, as per these instructions.