-
Content Count
1626 -
Joined
-
Last visited
-
Days Won
37
Everything posted by Dave Nottage
-
Precisely timed display output on Android
Dave Nottage replied to TurboMagic's topic in Cross-platform
There's a Delphi implementation of Choreographer in Alcinoe: https://github.com/Zeus64/alcinoe/blob/master/source/ALFmxAni.pas If I were doing development where timing of display output is crucial (such as a game), I'd do something similar -
FMX.Android Intents Sample missing procedure
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Not sure that there's anything in it to solve his issue, but thanks for the plug 🙂 I have a feeling it's a simple entry in the manifest. Added to my already huge to-do list. -
Wanted: Experienced lead-developer and architect with a musical passion
Dave Nottage replied to Hans♫'s topic in Job Opportunities / Coder for Hire
Apparently Arbejdsglæde will 🙂 -
Via a phone device, apparently? https://developer.samsung.com/galaxy-watch-design/studio/tutorial/connect.html
-
[Firemonkey ]Change iOS screen rotation at runtime
Dave Nottage replied to gioma's topic in Cross-platform
In my case, it's not about advising the user how to set up anything: Application.FormFactor.Orientations takes care of which orientations the app will support. The issue is with re-orienting the app once Application.FormFactor.Orientations has been changed at runtime. Currently, the user has to rotate the device themselves.- 10 replies
-
- ios 13
- firemonkey
-
(and 1 more)
Tagged with:
-
[Firemonkey ]Change iOS screen rotation at runtime
Dave Nottage replied to gioma's topic in Cross-platform
@Rollo62Did you manage to come up with a solution for this? I'm looking for one, and it is proving to be elusive 🙂- 10 replies
-
- ios 13
- firemonkey
-
(and 1 more)
Tagged with:
-
Audio recording rises access violation on IOS 13.5.1
Dave Nottage replied to OldyCoder's topic in Cross-platform
Is there a value for NSMicrophoneUsageDescription in the Project Options, like this? If not, you'll need to add it, by right-clicking on the grid, click Add Key, enter NSMicrophoneUsageDescription as the name, click OK, then provide a value for it. -
Still "down" here down under
-
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Your extension was not compiled for iOS (arm64), it was compiled for macOS (x86_64). To determine this, I ran this command on the Mac: file yashare For which the result was: yashare: Mach-O 64-bit executable x86_64 When you created the extension, were you adding a Target from an iOS project? It should have looked like this: The target properties would then look like this:- 31 replies
-
Patch 2 for RAD Studio 10.4 now available
Dave Nottage replied to Marco Cantu's topic in General Help
Primoz is psychic 😉 -
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Can you show what the remote paths are? Just a guess, but perhaps make sure you haven't enabled the Generate iOS universal binary file (armv7 + arm64) option in the compiler options. Otherwise I'd need to see an example project- 31 replies
-
Help, I'm trying to move an application to Rio.
Dave Nottage replied to Gary Wardell's topic in General Help
Does "other question" refer to your first post in this thread, or something else? If it's "something else", you don't appear to have provided any details as to what the errors are. -
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
It's not my article; it's Grijjy's. Allen Drennan visits here some times, and he is part of their group. Might be an issue with the provisioning profile. Are you building for Ad-Hoc or App Store?- 31 replies
-
Android permissions with Bluetooth LE and Location not recognized immediately
Dave Nottage replied to Rollo62's topic in Cross-platform
I'm assuming that was meant to say: "under Rx10.3.3: works fine, under Rx10.4 has above issues"? If you haven't resolved it before the weekend, I'll take a look- 15 replies
-
- android 10
- ble
-
(and 1 more)
Tagged with:
-
https://delphiworlds.com/2020/01/cross-platform-location-monitoring/ If you're just doing Android, disregard the parts about iOS
-
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
It appears you need to create a share extension: https://stackoverflow.com/a/38037060/3164070 This needs to be done in Xcode, although according to this article: https://blog.grijjy.com/2018/11/15/ios-and-macos-app-extensions-with-delphi/ You can exchange data between a Delphi app and the extension. Incidentally, I believe the schemes in your info.plist should not include the :// part, and apparently you cannot use http and https anyway: https://stackoverflow.com/a/37401487/3164070- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
I meant the final info.plist that ends up being deployed with your app, i.e. not the info.plist.TemplateiOS.xml. This is in case it is different somehow.- 31 replies
-
share extensin IOS App receive shared web link from Safari and Other apps
Dave Nottage replied to Massimiliano S's topic in Cross-platform
Can you show your info.plist?- 31 replies
-
Android permissions with Bluetooth LE and Location not recognized immediately
Dave Nottage replied to Rollo62's topic in Cross-platform
Is that not what this is saying? If it doesn't discover when the app is in the foreground, it sounds like a bug; either in the system or documentation. You don't happen to have a basic test project, do you?- 15 replies
-
- android 10
- ble
-
(and 1 more)
Tagged with:
-
Delphi equivalent: if JStringToString(intent.getComponent.getClassName).EndsWith('.Queue') then
-
Delete the info.plist.TemplateiOS.xml file and rebuild. Alternatively, make it look like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <%VersionInfoPListKeys%> <%ExtraInfoPListKeys%> <%StoryboardInfoPListKey%> </dict> </plist>
-
You can distinguish between intent filters by the action, e.g: if Data.getAction.equals(TJIntent.JavaClass.ACTION_SEND) then Probably because you cannot have 2 filters working with the same action. I suggest reading: https://developer.android.com/training/basics/intents/filters
-
Does calling registerIntentAction with another action not work?
-
RAD 10.4 Android KeyboardType NumbersAndPunctuation not working
Dave Nottage replied to Bert-Jan's topic in FMX
The FMX Java code has: NUMBER_AND_PUNCTUATION(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_SIGNED | InputType.TYPE_NUMBER_FLAG_DECIMAL), NUMBER_DECIMAL(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL | InputType.TYPE_NUMBER_FLAG_SIGNED); So they are the same (just or'd in a different order). I doubt whether there's an exact equivalent to iOS, on Android. -
Cannot run sample programs on Android
Dave Nottage replied to A.M. Hoornweg's topic in Cross-platform
Tools|Options, Deployment > SDK Manager: