-
Content Count
1626 -
Joined
-
Last visited
-
Days Won
37
Dave Nottage last won the day on July 6
Dave Nottage had the most liked content!
Community Reputation
625 ExcellentTechnical Information
-
Delphi-Version
Delphi 11 Alexandria
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
This is not necessarily true given past experience, however it has been true for a while now. Having said that, even if you discover that your install of Delphi does not work with the latest version of Xcode, it is possible to revert to an earlier one. It should be borne in mind however that (at time of writing) App Store requires at least Xcode 16. Side note: those using Delphi CE will find that (at time of writing) it will not work with Xcode 16 unless you take special measures.
-
The .apk file is created when you deploy, not Build/Compile.
-
If you're building for Development (as opposed to Application Store), it'll be in the Android64\Debug\(projectname)\bin folder, where (projectname) is the name of the project you are building.
-
Update the demo project which appears to be very, very old. See these instructions.
-
Android 15 and edge-to-edge enforcement
Dave Nottage replied to alejandro.sawers's topic in Cross-platform
Yes, it checks the Android version on the device, but also checks the targetSdkVersion value in the manifest. Check the AndroidManifest.xml file (i.e. not AndroidManifest.template.xml) in the project output folder to check what the value is for targetSdkVersion. -
Android 15 and edge-to-edge enforcement
Dave Nottage replied to alejandro.sawers's topic in Cross-platform
I'm puzzled as to how you get such an error in the code I posted just above this reply of yours, since there is no such reference in it. -
Android 15 and edge-to-edge enforcement
Dave Nottage replied to alejandro.sawers's topic in Cross-platform
uses Androidapi.Helpers, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.Os; function IsFullScreen: Boolean; begin Result := (TAndroidHelper.Activity.getWindow.getAttributes.flags and TJWindowManager_LayoutParams.JavaClass.FLAG_LAYOUT_NO_LIMITS) > 0; end; function GetResourceHeight(const AResourceName: string): Single; var LID: Integer; LResources: JResources; begin Result := 0; LResources := TAndroidHelper.Context.getResources; LID := LResources.getIdentifier(StringToJString(AResourceName), StringToJString('dimen'), StringToJString('android')); if LID > 0 then Result := LResources.getDimensionPixelSize(LID) / TAndroidHelper.DisplayMetrics.density; end; function GetTargetSdkVersion: Integer; var LApplicationInfo: JApplicationInfo; begin LApplicationInfo := TAndroidHelper.Context.getPackageManager.getApplicationInfo(TAndroidHelper.Context.getPackageName, 0); Result := LApplicationInfo.targetSdkVersion; end; function CheckBuildAndTarget(const AValue: Integer): Boolean; begin Result := (TJBuild_VERSION.JavaClass.SDK_INT >= AValue) and (GetTargetSdkVersion >= AValue); end; function GetNavigationBarOffset: Single; begin if CheckBuildAndTarget(35) or IsFullScreen then Result := GetResourceHeight('navigation_bar_height') else Result := 0; end; function GetStatusBarOffset: Single; begin Result := GetResourceHeight('status_bar_height'); end; procedure TForm1.FormResize(Sender: TObject); begin if CheckBuildAndTarget(35) then begin Padding.Top := GetStatusBarOffset; if Screen.Width < Screen.Height then Padding.Bottom := GetNavigationBarOffset else Padding.Bottom := 0; end; end; -
Did you read the link (and subsequent comments at that link) that I provided? Also, you did not answer this:
-
On second thoughts, you might want to read this, especially if you have errors additional to the one you quoted:
-
What version of PAServer are you running? It should be: 14.3.14.5.
-
For this issue, it's likely you need to enable Secure File Sharing in the Entitlement List of the Project Options. As for targeting apps that can send MMS specifically, I don't see anything in the Delphi "built-in" code that supports this. I could extend the ShareItems feature in Kastri to cater for this, though.
-
The most likely answer is that the provisioning profile that the Delphi IDE is choosing does not have push notifications enabled. You can check this by opening Project Options, select Deployment > Provisioning, select iOS Device 64-bit Target, and the relevant Build Type you want to build for (e.g. Application Store). Delphi will then examine what provisioning profiles you have and select the most relevant one if it exists. If it does find one, it will show the path to it on the Mac, what the Application Identifier is for it, and the associated Certificate. One thing you should make sure of is that the CFBundleIdentifier value in the Version Info section of the Project Options matches the identifier in the provisioning profile you created that has Push Notifications enabled.
-
You have several TSpinEdit components in that application. Which one(s) are you renaming?
-
I seem to recall that can happen if Windows firewall is blocking it and/or perhaps the firewall on the Mac side
-
It would help to know what error messages there are, if any. Also, please indicate what happens when you follow these steps: Open the Project Options for your project On the left, select Deployment > Provisioning Select the relevant target i.e. iOS Device 64-bit Select a Build type of: iOS Device 64-bit - Development Then report whether or not a relevant provisioning profile is found