-
Content Count
1608 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
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)
-
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.
-
Delphi 12 Android - White background at start
Dave Nottage replied to Juande's topic in Cross-platform
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 -
Delphi 12 Android - White background at start
Dave Nottage replied to Juande's topic in Cross-platform
I haven't done any more about it since then -
Delphi 12.2 available for download
Dave Nottage replied to pyscripter's topic in Delphi IDE and APIs
Apparently they're working on a new agreement (presumably with Eugene's estate?) to include it. Marco/Ian mentioned this in the webinar. -
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.
-
Delphi bug reports or feature requests to "vote"/comment for (important, fatal etc)/
Dave Nottage replied to Tommi Prami's topic in Delphi IDE and APIs
I'm unable to access this one. -
What are you using AI code-gen tools for that's working well?
Dave Nottage replied to David Schwartz's topic in General Help
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. 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. -
Kasti for iOS + Firebase Cloud Messaging issue
Dave Nottage replied to JordanJ1's topic in General Help
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. -
[PAClient Error] Error: E7688 Error in c:\...activity-1.7.2.dex.jar:
Dave Nottage replied to dmitrybv's topic in Cross-platform
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. -
IOS Application to Test Flight and Transporter
Dave Nottage replied to FabDev's topic in Cross-platform
Wherever that information comes from, it's totally wrong. -
IOS Application to Test Flight and Transporter
Dave Nottage replied to FabDev's topic in Cross-platform
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 -
There were Windows Phones. If you want an environment where the development requirements are not going to change, that's probably your best option.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
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.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
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.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
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.
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
It might help to provide the exact message. Is it one of these at this link?
- 14 replies
-
- delphi xe7
- fmx
-
(and 2 more)
Tagged with:
-
iOS: Check granted accuracy authorization level
Dave Nottage replied to alejandro.sawers's topic in Cross-platform
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; -
java problem starting the blank android application
Dave Nottage replied to dlucic's topic in Cross-platform
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- 4 replies
-
- android
- delphi xe12
-
(and 1 more)
Tagged with:
-
java problem starting the blank android application
Dave Nottage replied to dlucic's topic in Cross-platform
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.- 4 replies
-
- android
- delphi xe12
-
(and 1 more)
Tagged with:
-
Android: Minimal app throws exception 10, when adding certain uses-features (CAMERA). (never used or linked in code yet)
Dave Nottage replied to Rollo62's topic in Cross-platform
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. -
Android: Minimal app seems to require: "android.permission.INTERNET"
Dave Nottage replied to Rollo62's topic in Cross-platform
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 -
I expect your install of Delphi 12.1 is misconfigured. Try creating a blank app and deploy it to a device.
-
That issue was fixed before the release of Delphi 12. You may be experiencing this issue.