-
Content Count
1490 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
I can understand that async dialogs are a concept that can be a challenge to embrace. Some time in the future we'll all be wondering why 😉
-
There's a good reason for that - implementing modal dialogs on Android the same way as on Windows is practically impossible. The workaround is to use async dialogs. Developers do this on Windows all the time - from one form, show another. When the user takes some action on the secondary form, do something based on that action, and close the form. The primary form will still be there when they get back 🙂 If the primary form needs to "know" what happened on the secondary form, you could expose a property or event handler on the secondary form which the primary form can examine, or handle.
-
For Android, this is the only way I've found that will quit completely and remove the task from the "recent items" list: https://github.com/DelphiWorlds/Kastri/blob/64a5600e0845862f3e3991cd1708dee82a65ff45/Core/DW.Android.Helpers.pas#L561 For iOS, it's bound to have your app rejected if it is on the App Store, otherwise: https://developer.apple.com/library/archive/qa/qa1561/_index.html
-
This might apply to you: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries
-
10.4 android permissions works... 11.0 same code results in "Java type Jcontent_ContextCompat could not be found" used to workruns fine. 11.0
Dave Nottage replied to toneusc's topic in Cross-platform
Please see: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries -
I've just added a new demo: https://github.com/DelphiWorlds/Playground/tree/main/Demos/Advertising to the Playground repo
-
On Android, it's not meant to be written to by the app. What is the reason why you're using that folder to write to?
-
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
I don't know of any option for df that means it needs to wait for input -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
You said you are running apps that result in: Process terminated with exit code: 0. Stockfish just locked up on me - regardless of whether or not it's waiting for input, that's not what you described -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
Which libraries are they? Have you read their documentation to see if they actually wait for input while they're running? -
How do you acquire "Pictures" to be used in your project?
Dave Nottage replied to TimCruise's topic in Tips / Blogs / Tutorials / Videos
https://www.google.com/search?q=movie+format+compatible+across+platforms -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
Use the IsRunning property -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
I had originally planned on having a commercial version, however those plans changed. Now Kastri is driven mostly by sponsorship and one-off donations. Kastri Free is deprecated and developers should use Kastri instead. -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
if you're planning on deploying to the Play Store, staying current is a better option. -
Is there analog of C#'s in Firemonkey?
Dave Nottage replied to Felix.'s topic in RTL and Delphi Object Pascal
It runs on my Android 11 device when I build it with Delphi 11. If you're using 10.4.1, you should go to the Libraries node under the Android platform in Project Manager, right click it and click Revert System Files To Default. Like this, but you're going back a version: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries -
Where I can find all implemented services documentation
Dave Nottage replied to William23668's topic in FMX
There may not be one, although this link (from the one you gave) might help: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Mobile_Tutorials:_Mobile_Application_Development_(iOS_and_Android) It might be easier to ask here if there is an implementation of what you want to use, or scan the Delphi source. -
3rd party Android app or Apple app stores
Dave Nottage replied to TimCruise's topic in Cross-platform
Yes. They're called Custom Apps: https://developer.apple.com/custom-apps/ Yes, that would be. It seems they're hard to find. -
3rd party Android app or Apple app stores
Dave Nottage replied to TimCruise's topic in Cross-platform
Play Store has a restriction on the target SDK level (30), but does not have a restriction on the minimum SDK level set for an app, so you can support users that have lower versions of Android. The iOS App Store apparently has a restriction of a minimum version of iOS 9.0. That might work if you find a viable alternative for Play Store. If you wish to target app stores, you need to stay current with Delphi. -
ALFmxVideoPlayer uses ExoPlayer (which supports DRM) for Android: https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxVideoPlayer.pas You might be able to at least learn from the code.
-
Move current entity to another unit?
Dave Nottage replied to PeterPanettone's topic in MMX Code Explorer
No, it doesn't: https://gist.github.com/wojteklu/73c6914cc446146b8b533c0988cf8d29 -
Online examples of Android & iOS apps programmed by RAD Studio
Dave Nottage replied to TimCruise's topic in Cross-platform
There's a list of minimum requirements for Big Sur here: https://support.apple.com/en-au/HT211238. Note that includes late 2014 Mac Mini. There are legal virtual solutions available online, such as MacInCloud: https://www.macincloud.com/ and MacStadium: https://www.macstadium.com -
Are you able to use either of the workarounds described here?: https://quality.embarcadero.com/browse/RSP-35365
-
Online examples of Android & iOS apps programmed by RAD Studio
Dave Nottage replied to TimCruise's topic in Cross-platform
If you're planning on deploying iOS apps to the App Store, you will need at least macOS 10.15 so that you can use Xcode 12, the minimum required for deploying apps to the App Store. From April next year, this will change to Xcode 13, which requires Big Sur 11.3. -
How to use Java functions inside Delphi FMX apps ?
Dave Nottage replied to William23668's topic in FMX
If you're just starting in this area, I recommend watching Brian Long's video. You can also use the Delphi source for hints as to what to do, as well as some of the features implemented in Kastri. If you know which Java libraries/functions you want to use, I could possibly give some hints. -
Sending Email via GMail Using OAuth 2.0 via Indy
Dave Nottage replied to Ugochukwu Mmaduekwe's topic in Indy
The docs for send say that the body (what you are passing in the content when you Post) should be an instance of Message, i.e. the JSON that is specified at that link. TIdMessage.SaveToStream does not create JSON in this format. You will need to either create code to do this, or find existing code that does.