-
Content Count
1335 -
Joined
-
Last visited
-
Days Won
29
Posts posted by Dave Nottage
-
-
9 hours ago, vedat said:A music player app that plays music in a foreground service. The notification might show the current song that is being played
This does not say that the app absolutely has to have a foreground service. The notification can be created without one:
-
11 hours ago, Felix. said:Yes, you're correct
You still have not explained what are you aiming to do specifically. It may be that whatever it is, can be done some other way.
11 hours ago, Felix. said:Even Delphi comes with a huge number of demos,examples and snippets
Yes - they're part of a commercial product, i.e. people are paid to write them.
-
1 hour ago, Felix. said:is there an example of how to use DW.Androidapi.JNI.Lang.pas ?
If you don't know how to use the imported classes, I'm curious as to what exactly you're aiming to do.
-
2 hours ago, Felix. said:Is there such analog in Delphi?
Not "out of the box". Here's a link that includes the Java equivalent:
https://stackoverflow.com/a/5642593/3164070
..and an import for the Process and Runtime classes:
https://github.com/DelphiWorlds/Kastri/blob/master/API/DW.Androidapi.JNI.Lang.pas
That should at least give you a start
-
1
-
-
16 hours ago, vedat said:here is the link
That's information about foreground services. How does "a persistent menu on the status bar for next/play/pause musics" relate to it?
-
6 hours ago, Chris Pim said:They solved it by adding the legacy BILLING permission back in, so maybe that's something. I've successfully uploaded a new build to Production with this permission turned on along with the meta-tag and activity, and it was accepted no problem.
I thought that's something that what was causing problems before? Weird. Anyway, good to know, and thanks for the update
-
7 hours ago, vedat said:As I understand from the research I must use foreground service to make a persistent menu on the status bar for next/play/pause musics
Can you provide links to the research that shows that is what is required?
-
12 hours ago, CHackbart said:I managed to get it working
That's very cool!
-
14 minutes ago, Lars Fosdal said:What defines an image here?
I suspect Ken is referring to icons and launch images.
57 minutes ago, KenR said:I ask because I have written one and am considering making it freely available.
I'd be interested in seeing it
-
13 hours ago, Hans♫ said:Anyone having found a way to deploy a large Delphi app to Play Store?
Yes:
https://github.com/DelphiWorlds/Kastri/tree/master/Demos/AssetDelivery
-
2
-
2
-
-
-
8 hours ago, vedat said:here is the link for demo : https://www.dropbox.com/s/qs1hoa92nx5hdsx/DemoTest.rar
You have FMX.Types in the uses clause of Unit2 in your service. Not sure why, since it does not even need to be there. Regardless, that is why your service is failing. Please see this report:
-
1
-
-
14 minutes ago, Alisson said:Eu também tenho esse problema com rad studio 10.4.2 , consegue me enviar o link para ter acesso as correções?
Links to Installers for Codex 1.5.1 and Mosco 1.2.1. Includes workaround for App Store builds with Xcode 13. Requires at least Mosco to be installed, however the Codex tool adds a convenient way of applying the workaround. Workaround steps:
- Build/Deploy your app using App Store config (which will "fail" with Xcode 13)
- If using the workaround in Delphi itself, in Project Manager, right click the root node of the project and click "Build IPA"
- If using the workaround in Mosco, click the Mosco icon in the system bar to bring up the menu, click Fixes > Build App Store IPA. Select the app from the ~/PAServer/scratch-dir/[username]-[profile]/ folder and click Build
https://github.com/DelphiWorlds/Codex/blob/master/Bin/CodexSetup_1.5.1.exe
https://github.com/DelphiWorlds/Mosco/blob/master/Bin/Mosco.1.2.1.pkg
Use o Google Translate se quiser as instruções em português: https://translate.google.com -
7 hours ago, pcplayer99 said:Repeat modify "AndroidManifest.template.xml" again and again, I'm sure if I set targetSDKVersion=29, it can install in my phone successed, if I changed it to targetSDKVersion=30, it install in my phone will be failed and the error message is: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES].
It's because Delphi 10.4.2 is using Jarsigner instead of APKSigner, which is required for APKs with a target SDK of 30 or higher. There are ways around it, however you are just delaying the inevitable. The bottom line is: If you want to stay current with Android development (or iOS, especially if deploying to the app stores), stay current with Delphi.
-
There's a couple of problems with your deployment to Google Play:
One of them suggests you're using a older project in Delphi 11, and have not performed "Revert System Files to Default" for at least Android 64-bit (my device is 64-bit so it only installs an .apk for 64-bit), in the Libraries node for the target platform, in Project Manager
The other suggests the deployment information is incorrect for at least 64-bit. Once you have deployed, go into Deployment Manager, and select Android 64-bit target. Make sure there aren't any greyed out items that shouldn't be. You may have to use the Revert button (looks like an Undo icon) to make sure the entries are correct, then rebuild and redeploy.
-
3 minutes ago, Levente said:Link from the Google Play - Internal Test page
https://play.google.com/apps/internaltest/4698830303559152996
Sorry, I thought you meant it was public. You'd need to invite me to the test group 🙂
-
7 hours ago, Levente said:I uploaded the * .aab file to Google Play, it was accepted by Google without error, after downloading the app from Google Play, it crashes after the splash screen.
Can you provide a link to the app on Google Play, or at least the name of it?
-
On 1/29/2021 at 12:40 AM, Leo Lui said:Is there a function to detect the iOS location service is on or off ?
uses iOSapi.CoreLocation; if TCLLocationManager.Create.locationServicesEnabled then // Location services are enabled
-
1
-
-
On 1/29/2021 at 12:40 AM, Leo Lui said:Is there a function to detect the iOS location service is on or off ?
uses iOSapi.CoreLocation; if TCLLocationManager.Create.locationServicesEnabled then // Location services are enabled
-
-
4 hours ago, Francisco said:Any fix is available?
Please refer to this comment, and the other comments in the same post:
-
1
-
-
9 hours ago, Eric Bonilha said:It will be interesting to understand why ShowModal only doesn't work on iPhone 12 and 13, while previous like 11 will work just fine with the same OS version
I wasn't able to ascertain what the cause is - I can only suggest filing a report on QP for it.
-
11 hours ago, corneliusdavid said:I can't debug it because it gets an error: "tcp:64311: cannot resolve name: No address associated with hostname"
What version of Android is on the device? If it's 8.0, you'll need to upgrade it to 8.1, if possible. Otherwise, it could be an issue with which NDK is being used: https://stackoverflow.com/questions/69238129/delphi-11-tcp64311-cannot-resolve-name-no-address-associated-with-hostname
-
I have a client who is using JEDI VCS and would like to use the add-in for Delphi, however there is as yet no version for Delphi 11. They have attempted to contact Uwe Schuster, however there has been no response.
Does anyone know whether anyone has access to the source that can build the add-in for Delphi 11?
Deploy Delphi 11 iOS 15 XCode 13
in FMX
Posted
In future, please report issues regarding Mosco here: https://github.com/DelphiWorlds/Mosco/issues
Also, please provide full error messages, and not images that have parts of the messages cut off.
From the little information that is available, it may be you not have followed the required steps, i.e. select App Store build type and do a Deploy (which will fail, but is a necessary step), then use the Build IPA menu item.