-
Content Count
1560 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
Mine works OK with that unit in it.
-
Stable remote control using Indy TCP/IP
Dave Nottage replied to Yaron's topic in Network, Cloud and Web
OK, for some reason I was under the impression that it was being raised when the socket was closed without an attempted read/write. I'll have to revisit that, thanks π -
Stable remote control using Indy TCP/IP
Dave Nottage replied to Yaron's topic in Network, Cloud and Web
It's the most annoying exception, ever. It's a permanent "ignore" in my exception tracking code. It'd be great if it was just removed, permanently. -
Compiles OK here.
-
Why i can't use TDSRestConnection in Rio and Android Service ... not starting any more
Dave Nottage replied to microtronx's topic in FMX
I'm able to use FireDAC with SQLite OK in the demo you refer to. Can you provide a test project for the TDSRestConnection issue? -
There's an image here with EXIF data: http://orchids.enwphotos.com/2013-1/310.html Which includes the camera make etc. I use a Chrome plugin to view the data: https://chrome.google.com/webstore/detail/exif-viewer/mmbhfeiddhndihdjeganjggkmjapkffm I doubt it, since the camera make and model is in text form, not an index to different models Are you referring to Delphi code? Also, description and title are not known tags - perhaps you're referring to ImageDescription? There's a list here: https://www.exiv2.org/tags.html. Note that not all images will have anything in this tag. There's an answer on SO that suggests a simpler method of extracting EXIF at least in relation to JPEGs: https://stackoverflow.com/a/18624442/3164070 There's also a couple of alternatives to CCR-EXIF, here: https://torry.net/pages.php?id=104
-
I suspect that attaching an image file here strips the metadata, since the one you attached appears to have none, or at least the EXIF data is gone.
-
Whoops! Yeah, I actually discovered that after my comment on the report. I've now updated it. Please refer to my comments on the report: https://quality.embarcadero.com/browse/RSP-18329
-
Segmentation fault while trying to receive UDP broadcast messages on Android
Dave Nottage replied to ertank's topic in Indy
Incidentally, I suspect that leaving it "acquired" can consume a lot of battery (due to what happened to my device), so it might pay to check when the screen locks and do a release. -
Segmentation fault while trying to receive UDP broadcast messages on Android
Dave Nottage replied to ertank's topic in Indy
As far as the MulticastLock goes, you should call acquire when your app needs to listen (i.e. when your TIdUPDServer is active), and release when it does not. That said, I've given up on Indy for multicast because there have been too many hoops to jump through, including for Android. -
There does not appear to be anything in the log that gives any clues as to why it hangs. This why it's important to also use the debugger and/or refine the code into a reproducible test case.
-
As far as the SDK settings go, I believe it derives the JDKPath from one or either of the JDK settings: You can check this in the registry:
-
Strange behavior when restoring Delphi v10.3.3 IDE window from MINIMIZED window state
Dave Nottage replied to PeterPanettone's topic in Delphi IDE and APIs
Nothing so unusual: it takes less than a second. -
Strange behavior when restoring Delphi v10.3.3 IDE window from MINIMIZED window state
Dave Nottage replied to PeterPanettone's topic in Delphi IDE and APIs
Mine is currently 1920x1074, but changing it does not make any difference for me; the behaviour is still the same. -
The Output tab of the Messages window usually has the details of the compile error.
-
Strange behavior when restoring Delphi v10.3.3 IDE window from MINIMIZED window state
Dave Nottage replied to PeterPanettone's topic in Delphi IDE and APIs
Reported this a couple of months ago: https://quality.embarcadero.com/browse/RSP-26998 -
Have you tried tracing the code via the debugger? Can you provide a reproducible example?
-
Yes, I have that issue too. I've been meaning to report the problem. It presents the prompt every time you run it? Which app is this?
-
Reading caller number at the same time phone is ringing
Dave Nottage replied to ertank's topic in FMX
Thanks for the tip! I wasn't aware of tags here, and they're a bit small but at least now I know to look π -
Squint and read: CreateFormFromStings
Dave Nottage replied to Darian Miller's topic in RTL and Delphi Object Pascal
Not that it would affect many users (if any), but in FMX.Edit.Style: protected FNeedChange: Boolean; procedure Change; virtual; { Messages From Model} procedure MMSelLenghtChanged(var AMessage: TDispatchMessageWithValue<Integer>); message MM_EDIT_SELLENGTH_CHANGED; procedure MMSelStartChanged(var AMessage: TDispatchMessageWithValue<Integer>); message MM_EDIT_SELSTART_CHANGED; procedure MMCheckSpellingChanged(var AMessage: TDispatchMessageWithValue<Boolean>); message MM_EDIT_CHECKSPELLING_CHANGED; Spot the typo. The last method name pictured is ironic. Someone should whip up a "spell checker" (of sorts) to see how many of these there are π -
If by "setup" you're referring to how to set up a project in Firebase Console, you should start here: ..and watch until the 4:52 mark (the rest is not relevant to Delphi) For Delphi code to implement FCM on iOS, you could refer to this article: https://www.delphiworlds.com/2020/01/expanding-embarcaderos-fcm-implementation-revisited/
-
Reading caller number at the same time phone is ringing
Dave Nottage replied to ertank's topic in FMX
It would help to specify which platform(s) you want to achieve this on. If it's iOS/Android, then using the OnCallStateChanged method of IFMXPhoneDialerService is supposed to allow you to know when an incoming call starts, and using the GetCurrentCalls method should contain the number. That said, iOS now restricts being able to access the actual number. Also, I know others have had problems with making IFMXPhoneDialerService work at all on Android. I don't know whether that's the case now, however I use my own (non-public) code for it anyway. -
This person seems to have it working in 64-bit: https://forums.embarcadero.com/message.jspa?messageID=671467&tstart=0
-
Remove the [Weak] attribute from FIAPService. Might still be a bug, though.
-
[Android, 32/64] BluetoothLE requires location enabled
Dave Nottage replied to Rollo62's topic in Cross-platform
Apparently this is the reason: https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-hardware-id I nearly fell off my chair when I read that: essentially give up your location privacy so no-one can steal your Bluetooth Mac address? Perhaps someone else can explain why that's a good thing.