-
Content Count
1424 -
Joined
-
Last visited
-
Days Won
32
Everything posted by Dave Nottage
-
Any tips to speed up Android linking and deployment?
Dave Nottage replied to John Kouraklis's topic in Cross-platform
With that issue, usually restarting the device resolves it, for me. -
I have ADB log capture in Codex: https://www.delphiworlds.com/codex/ Sorely needs updating because there's a few quirks.
-
Between then and now? Yes. Entirely dead? No.
-
Yes: some reproducible code
-
It's not just you. My guess is whatever feed it is, is down
-
Increasing registration count not possible without active maintenance support
Dave Nottage replied to Leif Uneus's topic in Delphi IDE and APIs
From Atanas' message: "We realize this is a change to previous operations and to reduce the impact to development projects, we issued a one-time registration limit increase for all customers who are close to hitting their registration count limit. This should address issues with re-installs of your licensed software on existing or new machines. Further, we will continue to look for options to make this more seamless through automation." That means you should have received a bump. If you haven't received one, please contact EMBT. Unfortunately I don't have a direct contact point at the moment for this issue. -
I've been successfully (up until now) using the .NET COM interop: https://raw.githubusercontent.com/project-jedi/jcl/master/jcl/source/windows/mscorlib_TLB.pas (as part of JCL) however I'm having trouble invoking a method that is declared with a number of overloads in an assembly. It raises an error "Method xxxx not found", and I'm assuming it is because it does not know which method to use. Regardless, I'd like to be able to use one of the GetMethod calls to find the right overloaded method, probably using GetMethod_5, since I just want to find the method by the name and the parameter types. The question is: how do I go about passing the correct values for the types parameter? If it were using reflection in C#, it would use typeof, so what might be the equivalent in Delphi?
-
Using GetMethod functions in the .NET COM interop
Dave Nottage replied to Dave Nottage's topic in Windows API
I think I've found the way: using the GetType_2 method of _Assembly. -
SourceTree, on Mac
-
The Android 64bit deadline warnings have started
Dave Nottage replied to Yaron's topic in Cross-platform
Existing apps will not be not removed until 2021: https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html The August 1, 2019 requirement is for updates and new apps. -
Using GetMethod functions in the .NET COM interop
Dave Nottage replied to Dave Nottage's topic in Windows API
Can you clarify what this means? Correct. -
Using GetMethod functions in the .NET COM interop
Dave Nottage replied to Dave Nottage's topic in Windows API
How does one do that from Delphi? -
Tools Api: how to detect a key has been pressed in the editor window?
Dave Nottage replied to santiago's topic in Delphi IDE and APIs
If you don't have it already, I recommend downloading the GExperts source: https://sourceforge.net/p/gexperts/code/HEAD/tree/trunk/ Then have a look at the GX_EditorChangeServices unit -
You followed the instructions, however you followed them literally, i.e. you added the CoreBluetooth framework instead of the SystemConfiguration framework.
-
I suspect it's because the SystemConfiguration framework is not listed in the iPhoneOS 12.2 SDK in Delphi's SDK Manager, so you'll need to add it, as per these (though a little old) instructions: https://www.delphiworlds.com/2013/10/adding-other-ios-frameworks-to-the-sdk-manager/
-
[Fmx, iOS] Vibration, which Framework for which devices ?
Dave Nottage replied to Rollo62's topic in Cross-platform
I see one comment about it not working on iOS 7.1.2, which I supposed might have had a bug? Which comments are you referring to? -
Should we assume that the ServiceStop event is fired?
-
Constructors + Destructors in class helpers?
Dave Nottage replied to David Schwartz's topic in RTL and Delphi Object Pascal
Probably because that's the sum total of what you can do with class helpers. If you specify what you actually want to achieve, there might be a different solution. -
Autocompletion for TEdits revisited
Dave Nottage replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Not sure what I'm doing differently, however I never need to disable it. Unlike Clippy, it never intrudes unless I ask it to; at least I'm assuming that's case, because so far it has been never. -
Looking for someone to fix TardsPlaya (A program that buffers Twitch Streams to an external media player)
Dave Nottage replied to Zero3K's topic in General Help
I think you'd need to sell it better than that. Why would those people be glad? e.g.: what advantages (if any) does TardsPlaya give over other players? How many people are using it now, and give reasons (other than being "glad") as to why people might want to shift to, or start using, TardsPlaya? -
TCameraComponent Crash Occasionally While In Capturing Mode
Dave Nottage replied to stacker_liew's topic in FMX
Make a copy of (bds)\source\fmx\FMX.Media.Android.pas, and put it in your project folder. Modify this routine: function CreateJBitmapFromYuvBuffer: JBitmap; var Image: JYuvImage; Rect: JRect; Stream: JByteArrayOutputStream; LoadOptions: JBitmapFactory_Options; begin SurfaceSection.Acquire; try Image := TJYuvImage.JavaClass.init(SharedBuffer, SharedBufferFormat, PreviewBufferSize.X, PreviewBufferSize.Y, nil); finally SurfaceSection.Release; end; Replacing the SurfaceSection references with QueueSection -
TCameraComponent Crash Occasionally While In Capturing Mode
Dave Nottage replied to stacker_liew's topic in FMX
There's a workaround in the report. -
TCameraComponent Crash Occasionally While In Capturing Mode
Dave Nottage replied to stacker_liew's topic in FMX
If you mean on Android, this report relates to the issue: https://quality.embarcadero.com/browse/RSP-23791 -
Most likely "Gerald", after Gerald Nunn: the original author
-
You cannot do that part in Delphi; it needs to be done in Java, then you can consume it from your Delphi code.