-
Content Count
1613 -
Joined
-
Last visited
-
Days Won
37
Posts posted by Dave Nottage
-
-
4 hours ago, skinnypanda said:The release 11.3 says IOS 16 SDK is not supported with C++ builder
Which document, and what does it state, exactly?
-
3 minutes ago, TazKy said:what is the designation in the deployment manager for the "Remote Path" for OBB
There is none, since they're stored in external storage, i.e. external to the app. Normally you would deploy files to the OBB folder using APK Expansion, however this method is deprecated and Play Store apps must use Play Feature Delivery or Play Asset Delivery. If you're interested in delivering files this way with Delphi, I have an implementation/demo here. Warning: it's not for the faint of heart 🙂
-
On 12/14/2021 at 2:14 AM, Hans♫ said:Any chance that this could find it way into your demo project?
Whilst searching for something else, I came across this reply. If you haven't implemented this yet, I'll take a look.
-
As long as the font file is deployed to ./assets/internal and that file has the same name as the font name, with the extension .otf or .ttf, then it should work without changing FMX.FontGlyphs.android
-
1
-
-
10 hours ago, JohnLM said:Is there a way that I can save them? How would I do that?
See this demo: https://github.com/DelphiWorlds/HowTo/tree/main/Demos/AndroidContent
You could add code to persist the results to a file (or files) somewhere. -
6 hours ago, Igor1qq2 said:This is an empty project
It cannot be empty if it has a TMapView. Please post a reproducible example
-
45 minutes ago, Igor1qq2 said:How to fix it.
Without code that reproduces the issue, it'd be hard to tell.
-
On 6/4/2023 at 5:12 AM, houssam1984 said:'C:\Users\houss\AppData\Roaming\Embarcadero\BDS\22.0\AndroidManifest.xml' est introuvable.
Did you restart Delphi, as per my reply?
-
1
-
-
14 minutes ago, stacker_liew said:it seems have error, can anyone check for it.
You can check for the compile errors (of which there are several) yourself by using Error Insight or by compiling.
-
10 minutes ago, 357mag said:But I have seen a third end
That one has nothing after the keyword
The semicolon is optional after an end in some circumstances. Please see this. I know it's not after an "end" but the principle is still the same.
-
27 minutes ago, jiyiwan said:What is the problem?
You cannot deploy a file using Deployment Manager to a folder outside of the application. It might help to know why you actually want to, as there are issues inherent with dealing with "public" folders, especially on later versions of Android.
-
1
-
-
1 minute ago, limelect said:My problem has nothing to do with the kind of software
as the program does not even start on the phone
It has to do with d11 compilation.
I have projects from earlier versions of Delphi that I've successfully migrated to Delphi 11.x, mainly because I've been aware of any changes that may be necessary. It has everything to do with what is being used in the application, and zero to do with compilation. Since you appear to be unwilling to share anything about your app, it's extremely difficult to know what the issue is.
-
3
-
-
3 minutes ago, limelect said:1. I did try to install it by moving... etc
None of that information is going to help resolve the issue. Detail about what is in the application may go part way to solving it. Ideally, provide a reproducible test case, which will go a much longer way.
-
1 minute ago, TazKy said:However, I have to support some old circa 2016 Zebra scanners (Android v4.4.4) devices which means Tokyo development environment.
I'm supporting these kinds of devices with Delphi 11.3. Please see:
https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLowerVersions
-
47 minutes ago, TazKy said:It appears that your code works fine in Alexandria, but not Tokyo. There is no TChannel.
Correct. It was introduced in Delphi 10.3 in order to support changes in Android. If you're doing mobile development with Delphi, it pays to stay current.
-
13 minutes ago, TazKy said:What needs is the accompanying text message
If you mean that the banner does not show, when an app is in the foreground, by default you do not see the banner. If you want the banner to show when the app is in the foreground you need to use a channel with the Importance set to High, and set the notifications ChannelId property, e.g. (extending your code):
procedure SetNotification(const aTitle, aMessage: string); begin var vNotifiCenter:= TNotificationCenter.Create(nil); try if vNotifiCenter.Supported then begin var LChannel := vNotifiCenter.CreateChannel('MyChannel', 'MyChannel', 'My Channel'); try LChannel.Importance := TImportance.High; vNotifiCenter.CreateOrUpdateChannel(LChannel); finally LChannel.Free; end; var vNotification := vNotifiCenter.CreateNotification; try vNotification.AlertBody := aMessage; vNotification.Title := aTitle; vNotification.EnableSound := true; vNotification.ChannelId = 'MyChannel'; vNotifiCenter.PresentNotification(vNotification); finally vNotification.Free; end; end; finally vNotifiCenter.Free; end; end;
-
17 minutes ago, TazKy said:push notifications
What you're showing is a local notification.
18 minutes ago, TazKy said:The problem is that I cannot set the text message to show. You have to set it manually in the settings ("Show as pop-up") if you can find it.
Not sure what you mean - is the text in AMessage not showing in the notification? Which platform(s) is this an issue on?
-
10 minutes ago, Patrick PREMARTIN said:Does the program starts when you compile it in DEBUG mode and start it with (or without) the debugger from the IDE ?
Sometimes, due to a shortcoming with the IDE, the application gets "stuck" or crashes before the debugger has a chance to attach to the process. This can happen when a library required at initialization time is not present, or is not the right version. Without detail about the project (of which none at all so far has been provided), it'll be very difficult to diagnose.
-
1
-
-
5 minutes ago, chol0p said:I already tried this with "Intent" but I keep getting the error " exposed beyond app through intent.getdata() "
Please show your code
-
12 minutes ago, hackbrew said:it named the platform Android SDK 26.1.1 when doing both 32 and 64-bit
Because it's the version of the SDK. When referring to API level being 33, it means just that: API level, not SDK version. Unfortunately Google decided to use names in the manifest like minSdkVersion and targetSdkVersion, when they actually refer to API level.
16 minutes ago, hackbrew said:exited with code 9009 error
9009 means the executable was not found. One of your paths in the SDK settings may still be wrong.
-
5 hours ago, hackbrew said:I'm running Delphi 10.4.2 and trying to add in Android 13 (API level 33) via SDK Manager. When I go to Tools-->Options-->Deployment-SDK Manager and attempt to modify the path for SDK Base Path to point to the new Android (API level 33) SDK I get an Invalid Path.
You should not need to modify the base path. You should only need to ensure API 33 level and Build Tools 33.x are installed, and change the paths for the Build Tools related locations, and the SDK API Level location.
5 hours ago, hackbrew said:I did read that Delphi 10.4.2 is using Jarsigner instead of APKSigner
APKSigner is part of the Android SDK, not Java SDK.
See this post, and the replies that follow: -
3 hours ago, programmerdelphi2k said:you need this to "work"
Incorrect. USE_BIOMETRIC needs to be included in the permissions, but only dangerous permissions need to be explicitly requested at runtime.
7 hours ago, stacker_liew said:This is the new one without third party components.
You're also missing the Use Biometric permission in the Permissions section of Project Options. Sorry, I should have checked for that earlier.
-
1
-
-
1 minute ago, stacker_liew said:It should display the request permission dialog
No error messages? Can you provide a reproducible example that does not have dependencies on TFrameStand or other 3rd party code?
-
1 minute ago, stacker_liew said:still won't work.
You'll need to me more specific about what "won't work" means. Please also note that only Android 10 or higher is supported
IOS 16 SDK support?
in General Help
Posted
Ouch. I'm hoping that's an error...