-
Content Count
1613 -
Joined
-
Last visited
-
Days Won
37
Posts posted by Dave Nottage
-
-
19 minutes ago, Anto90 said:Can be a correlation with fcm and sqllite ?
Yes, you need to use static linking: https://docwiki.embarcadero.com/RADStudio/Athens/en/Connect_to_SQLite_database_(FireDAC)#Driver_Linkage
-
Just now, Shano said:when you say no debugging, do you mean you cannot create breakpoints, or can't even transfer the App to the iOS Device via running it with debug and the iOS device selected.
I mean not being able to have the debugger attach to the process on the device at all, regardless of whether or not there are breakpoints set.
Just now, Shano said:I am asking, because I can build and create an ipa file that I can then use the transporter to upload without error, but I cannot click run and install the app onto my registered test devices.
The install process should still succeed.
Just now, Shano said:I keep getting an error 'Unable to find certificate' 'XXXXXX' in provisioning profile "ffdssdfsdfdsfdsfsdf"
If this an error you receive when attempting to install the app on the device using the IDE, it sounds like you have a development (as opposed to App Store) certificate/profile issue.
-
3 minutes ago, Rollo62 said:Strange, I have never seen such a Transporter issue yet, but time will come
Does it clearly tell you the reason of the rejection?Actually, the messages I was referring to were warnings from before the privacy requirements came into force, as evidenced by this post on the German Delphi Praxis. Transporter might not be issuing warnings/errors any more; it could be that they're rejected at the review stage. One way to find out is to submit something 🙂
-
1
-
-
8 hours ago, Rollo62 said:Or do you need to put it there anyway, no matter of exception or not, to declare that you make use of the mach_absolute_time() funtion.
Yes. In Kastri, I have a "base" privacy manifest that covers this, in this folder, though the reason for mach_absolute_time used is 3D61.1. 35F9.1 is probably more relevant, and I'm not sure why the other one was chosen.
8 hours ago, Rollo62 said:Did Delphi already took care of this somehow ( I cannot see any of such entries in any manifest )?
Not "out of the box", as yet, as far as I know.
8 hours ago, Rollo62 said:How do you handle this, does anybody include these markers in the manifest?
See above 🙂
8 hours ago, Rollo62 said:Is anybody aware of, that Apple was rejecting an App in the Review, because of this?
If you omit a required reason, Transporter will reject your app when you do an upload. If anyone has used the manifest from Kastri (I have not as yet), they haven't made me aware of any rejections at the review stage 🙂
-
1
-
-
12 minutes ago, Nicolò Blunda said:There is a way to detect, from a FMX application for macOS, the computer (and OS) architecture Intel or ARM ?
TOSVersion.Architecture gives you the architecture of the processor that the app is executing on. Please ignore the fact that the documentation is outdated. Possible values are: arIntelX86, arIntelX64, arARM32, or arARM64.
-
1
-
-
8 minutes ago, ToddFrankson said:This refers to:
https://developer.android.com/training/data-storage/shared/photopickerWhich Delphi already supports, at least in 12.2, and at least through the media library code.
-
1
-
-
1 hour ago, Mark- said:Any advice?
10.2.3 worked (when I was using it) in Windows 11.
No advice other than that 🙂
-
2 minutes ago, GabrielMoraru said:FmxMsgBox.dpr is the current project. Really small. But it uses two packages (mine).
errno=13 is permission denied, so either there's insufficient rights to where the file is being output to, the file is already in use, or some external factor (e.g. Antivirus) is preventing access.
-
Just now, GabrielMoraru said:I get the same warning:
[dccosxarm64 Error] E2597 ld: warning: directory not found for option '-LC:\Users\trei\Documents\Embarcadero\Studio\22.0\Imports\OSXARM64'
ld: can't open output file for writing: .\FmxMsgBox, errno=13 for architecture arm64
[dccosxarm64 Fatal Error] F2588 Linker error code: 1 ($00000001)The warning (i.e. not an error)...
Just now, GabrielMoraru said:I don't use Spring4D.
..has nothing to do with Spring4D. Rollo's error (i.e. not the warning part) was related to Spring4D. Your error:
ld: can't open output file for writing: .\FmxMsgBox, errno=13 for architecture arm64
..is for something else. Whatever FmxMsgBox is a part of. -
You have ForegroundService.jar in both the 32-bit and 64-bit targets - when you compile for 64-bit it's attempting to include both into the one app. (Note that for the "system" jars, it just uses those for the target platform). If you're going to compile for either, remove the one from the 64-bit target.
-
5 minutes ago, Anna Blanca said:I need to launch so-library not at once, but after any time. Maybe, my app will download library from the Internet, it new version will be released....
If your app itself is downloading it, it won't need to go in a shared folder (which is what /storage/emulated/0/Documents is). The app could download it to a subfolder of the internal documents folder, e.g. a folder like this:
LLibFolder := TPath.Combine(TPath.GetDocumentsPath, 'Lib'); ForceDirectories(LLibFolder); LLibFileName := TPath.Combine(LLibFolder, 'libTestLibrary.so');
Your download routine could then download the file to the filename specified by LLibFileName, and call LoadLibrary using the same path.
11 minutes ago, Anna Blanca said:In actualy, is Android a new iOS?
Android and iOS are two very different operating systems.
-
Just now, Anna Blanca said:Nothing not happens....Even i writed wrong library name, app not fired out with error.
I expect there will be a permissions error in the system logs (which you can view using a log viewer), unless you are using an earlier version of Android and have requested the relevant permissions. On Android 11 or higher, I doubt you'll make LoadLibrary work at all using that path. Is there some reason you are not deploying libTestLibrary.so with the application?
-
59 minutes ago, ToddFrankson said:It Seems the 64 bit version doesn't compile. I have tried to add the dw-kastri-base-3.0.0.jar to the 64 bit version but it doesn't "Add"
If you're using Delphi 12.2, you won't need to add it to the 64-bit target if you have already added it to the 32-bit target - it will still be compiled in.
1 hour ago, ToddFrankson said:I get the following errors when I try to run it:
[PAClient Error] Error: E7688 Error in .\Android64\Debug\ForegroundService-dexed.jar:classes.dex:
[PAClient Error] Error: E7688 Type com.embarcadero.services.ForegroundService$LocalBinder is defined multiple times: .\Android64\Debug\ForegroundService-dexed.jar:classes.dex, .\Android64\Debug\ForegroundService-dexed.jar:classes.dex
[PAClient Error] Error: E7688 com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: .\Android64\Debug\ForegroundService-dexed.jar:classes.dexIt appears you have somehow added the .jar that contains the service, twice. Can you detail what you have in the libraries nodes for both Android 32-bit and Android 64-bit in Project Manager? Just the entries under the last of the "system" jars, which would be: work-runtime-2.7.0.dex.jar, if you have Delphi 12.2. Selecting a jar should show the full path to it, in the status bar of Project Manager.
-
9 hours ago, FreeDelphiPascal said:Do you think it is still too slow?
Most likely. The only bearable way I have found of using an Android emulator is to have a Mac with a silicon chip (e.g. M1, M2 etc), and run Arm64 emulators on it. Delphi can communicate with them using the relevant adb commands, along with a secure shell client such as PuTTY, all of which I describe in this video.
-
3
-
-
Just now, FreeDelphiPascal said:Under Delphi 11 (SDK-2525-22.0.48361) that program is not there anymore.
Those executables have been removed from the SDK - now you need to use either the command line tool, or install Android Studio and use the Virtual Device Manager.
Note that running emulators on Windows can be horrendously slow. You're way better off using a real device.
-
1
-
-
Just now, Remy Lebeau said:Do you mean SafeLoadLibrary()?
The OP asked about LoadLibrary, so I referred to LoadLibrary. The documentation does not list it, but it's there.
-
7 hours ago, Anna Blanca said:How i can use LoadLibrary in FMX, on the not-Windows platforms?
For Posix systems (Android, iOS, macOS, Linux) use LoadLibrary from System.SysUtils - it wraps dlopen, which Remy mentioned.
-
1
-
-
You already asked on StackOverflow, where I commented on it.
i.e. "WearOS is just a subset of Android (but also includes its own functionality). You can write apps for it with Delphi, but need to bear in mind the differences" (Comment has a correction because I erroneously referred to WatchOS)
One of the major differences being the screen size is a lot smaller.
3 minutes ago, Gabriell said:What do I need?
I have Delphi 12.2 Professional with Mobile.
You could do it with that. I've created WearOS apps with Delphi, including 12.2. I'd need to seek permission to make the code public.
-
3 hours ago, Manuel S. said:Hi, I have also tested demo on android 11, 12 and 14 but in any version consent is translated in any language. Have you some idea?
In google document I have found that form is automacally translated but seems to be different.
Please refer to this documentation.
-
18 minutes ago, JeanCremers said:Trying to register online gives license.embarcadero.com refused to connect.
It appears to be up at the moment - can you try again?
-
5 hours ago, grantful said:i get Selected filename : = nothing
What does GetFilePathFromUri return? I expect it's nothing as well.
Check the Android section of the readme for information on how to access the file -
34 minutes ago, Vincent Parrett said:No formatter I have tried can cope with that.
None of them have a: "Don't touch my assignment alignments" option? 🙂
-
1
-
-
On 2/20/2025 at 12:54 AM, Fernando Farah said:I have the error below...
That's not even an error - it's a command issued by PAServer as part of the process to discover what certificates/profiles are available on your Mac.
What is the actual issue you are having? It would be helpful if you provided: what version of Delphi you have and what version of Xcode is on the Mac.
Given the cut-off part of the messages in the screenshot, it appears you are using a version of Delphi earlier than 12.2. Note that earlier versions of Delphi will not work with Xcode 16 (or later), since there was a change to the location of the provisioning profiles in Xcode 16. If you are using Delphi 12.1 or earlier, and Xcode 16 (or later), you'd need to either upgrade to Delphi 12.2, or revert to the last version of Xcode 15 (which is 15.4)
-
6 hours ago, Anto90 said:From google play console i get this detail:
You have not answered this part:
23 hours ago, Dave Nottage said:Also, which version of Delphi are you using?
Meaning which version was used to compile the app where the problem is happening.
Regardless, are you able to reproduce the issue (RSP-23962) using the same steps as in the report? If so, please indicate what device(s) this is happening on.
12.2 and 12.3 on same machine
in General Help
Posted
No. Why would you want to?