-
Content Count
1609 -
Joined
-
Last visited
-
Days Won
37
Posts posted by Dave Nottage
-
-
4 minutes ago, KimHJ said:I search all forums, but only found Xcode developer with same problem.
A very quick Google revealed this for me:
I suggest checking that you have not accidentally disabled items from the deployment (from the main menu - Project > Deployment)
-
46 minutes ago, CoeurdeLeon said:I have tried this and cannot see a preview of the file. What am I doing wrong?
Set the fdoForcePreviewPaneOn flag on in the Options property. It should be noted however, that this will work only where preview of the selected file type is supported.
-
23 hours ago, Maichal said:I think the solution will be useful for everyone
Since I was curious, I had a bit of a play around and came up with the demo at this link. I recommend reading the readme
-
2 hours ago, Maichal said:@Dave Nottage Were you able to remove the splash ?
I haven't done any more about it since then
-
3 hours ago, Christen Blom-Dahl said:Has this issue been solved in Delphi 12.2?
No.
-
47 minutes ago, Lars Fosdal said:although FMXLinux was absent in GetIt?
Apparently they're working on a new agreement (presumably with Eugene's estate?) to include it. Marco/Ian mentioned this in the webinar.
-
51 minutes ago, bzwirs said:Can anybody please help with what I need to do to display the PDF properly.
I can replicate the behaviour using the original demo, adding a TabControl with 2 tabs. Reversing the calls fixes it for me, i.e.
TabControl1.SetActiveTabWithTransition(TabItem17, TTabTransition.Slide, TTabTransitionDirection.Normal); FPDFControl.LoadPDF(sFile);
..however I can look into why the original way around is not working like it should.
-
3 hours ago, EugeneK said:I'm unable to access this one.
-
2
-
-
27 minutes ago, David Schwartz said:..it makes up lots of stuff
Absolutely. Depending on which engines you use, it can recognise this if you "call it out" - why it doesn't realise this from the start is a mystery.
28 minutes ago, David Schwartz said:I'm curious what sorts of things others are successfully using some AI tools for that help with Delphi code?
I'm having loads of success discovering how to do things that I would otherwise have little or no clue about. Asking the right questions (including follow-up questions), and being able to recognise flaws in the answers, is the key.
-
2
-
-
On 8/28/2024 at 6:41 PM, JordanJ1 said:I fall upon the Kasti implementation, yet by some reason I dont receiving the token.
If you're using the Kastri implementation a token is not being received, the most likely cause is that FMX.PushNotification.FCM.iOS has not been patched correctly. See this section of the readme.
-
2 minutes ago, dmitrybv said:[PAClient Error] Error: E7688 java.nio.file.NoSuchFileException: c:\radstudio\22.0\lib\android\Debug\activity-1.7.2.dex.jar
This file is associated with Delphi 12. If you're using project that was created in Delphi 12, but in compiling it in Delphi 11.3, you should follow this procedure.
-
1
-
-
1 minute ago, FabDev said:Some says that : Move the .app folder into a new folder named "Payload," then compress it into a zip file and change the file extension from .zip to .ipa.
Wherever that information comes from, it's totally wrong.
-
5 hours ago, FabDev said:Or does .API is only avalaible for "Application Store" and "Ad Hoc" Configuration ?
Yes, .IPA (not .API) files are built with this configuration. You'll need a Distribution Certificate and a Provisioning Profile to match. Please read here: https://docwiki.embarcadero.com/RADStudio/Athens/en/Deploying_Your_iOS_Application_for_Submission_to_the_App_Store
-
1
-
-
8 minutes ago, JohnLM said:Make me wish there was a Windows Phone.
There were Windows Phones. If you want an environment where the development requirements are not going to change, that's probably your best option.
-
1
-
-
7 hours ago, JohnLM said:...and when I compile/deploy to Android, it stops at this part:
Once again, it is telling you the problem, i.e. that it is attempting to install the app with a different signature, and even suggests a solution, i.e. uninstall the original app.
-
2 hours ago, JohnLM said:I've edited the "AndroidManifest.template.xml" file and changed the value in the %targetSdkVersion% field from 11 to 31
Most likely you did not edit AndroidManifest.template.xml then, because it does not have a value for targetSdkVersion, it looks like this:
<uses-sdk android:minSdkVersion="%minSdkVersion%" android:targetSdkVersion="%targetSdkVersion%" />
More likely you edited AndroidManifest.xml which is generated in the project output folder. AndroidManifest.template.xml is in the root of the project source.
-
2 hours ago, JohnLM said:I get that above message and then it closes on its own, and the app (this time) does not get installed.
The info at that link literally tells you what the problem is, i.e:
"Reason for this notification: These Play Protect warnings will show only if the app's targetSdkVersion is more than 2 versions lower than the current Android API level. For example, a user with a device running Android 13 (current API = 33) will be warned when installing any APK that targets API level lower than 31. Android Versions and corresponding API levels can be reviewed on the API level page."You would need to change %targetSdkVersion% in AndroidManifest.template.xml to a value less than 2 versions than the target device, i.e. in your case 29 (Android 10), 30 (Android 11), or 31 (Android 12). Not sure if this will work with XE7 - you might need to upgrade, preferably to Delphi 12.
-
2 hours ago, JohnLM said:How can I resolve this?
It might help to provide the exact message. Is it one of these at this link?
-
3 hours ago, alejandro.sawers said:I would like to know if somebody found another way to achieve this.
You can achieve this by writing code that uses CLLocationManager. Create an instance of it, and examine the value of accuracyAuthorization. If it is CLAccuracyAuthorizationReducedAccuracy and your app needs full accuracy, inform the user to:
-
Go to Settings > Privacy & Security > Location Services.
-
Select your app
-
Toggle the Precise Location switch on
Example code:
uses iOSapi.CoreLocation; procedure TForm1.Button1Click(Sender: TObject); var LManager: CLLocationManager; begin LManager := TCLLocationManager.Create; if LManager.accuracyAuthorization = CLAccuracyAuthorizationReducedAccuracy then // Inform the user end;
-
1
-
-
1 minute ago, dlucic said:Now, I have another problem. Please, can you halp me to resolve this
I didn't notice before - you have the SDK API level set to android-30 (your first SDK Manager screenshot) - it should be android-34
-
2 hours ago, dlucic said:Can someone please help me and point me to where I am going wrong
Delphi 12.1 (no XE in its title) requires the Eclipse Temurin OpenJDK. You can install it via the Delphi menu - Tools | Manage Features - on the right side, scroll the scrollbox all the way to the bottom, check the checkbox for the OpenJDK and click Apply. Once installed, go to the Java tab of the Android SDK settings and configure keytool.exe and jarsigner.exe options to use the OpenJDK (installs by default under C:\Program Files\Eclipse Adoptium.
-
28 minutes ago, Rollo62 said:Especially, this is throwing an exception: Just saying, that nothing is required.
Seems to me that the info is contradictory - the uses-permission is stating that permission to use the camera may be requested (on Android 6 or higher), but the uses-feature entries are stating that the app doesn't require a device with a camera?
EDIT: Even so, having those entries in the manifest works fine for me. -
15 minutes ago, Rollo62 said:So why is INTERNET always there, is this because of "Mobile" app is kindof "Internet", or what?
Is this a BUG or a FEATURE?A bit of speculation on my part, but it's possibly a hangover from when Delphi required gdbserver for debugging. The Internet permission is a bit of a misnomer, since it "Allows applications to open network sockets". This part I know from when debugging was broken in Android 8: There is a private IP network between the IDE and gdbserver
-
1
-
-
On 8/4/2024 at 9:11 PM, kobygold said:Any idea what's missing?
I expect your install of Delphi 12.1 is misconfigured. Try creating a blank app and deploy it to a device.
clear a tjsonobject
in Network, Cloud and Web
Posted
Not "out of the box". You could perhaps do this: