-
Content Count
1323 -
Joined
-
Last visited
-
Days Won
29
Posts posted by Dave Nottage
-
-
14 hours ago, MikeMon said:3 years old. Is there a newer way of using the Facebook API in Firemonkey (iOS and Android)?
I'm sure there is, since there's been a number of changes in the last 3 years. Check the changelog for v5, for example:
https://github.com/facebook/facebook-ios-sdk/blob/master/CHANGELOG.md
-
15 hours ago, microtronx said:will that tLocation use a lot of energy/battery or will it only be active each x minutes as defined in this line:
That's just the timer. Battery life will be affected by the settings used with the actual location services, as determined by MonitoringDistance and MonitoringInterval. There's some information here about the best strategies to use:
https://developer.android.com/guide/topics/location/strategies
-
1
-
-
The ActiveMobileDevice tag in the .dproj.local file has info about connected devices. Whether it retains "old" devices I don't know.
-
You don't have Read Call Log and Read Phone Numbers permissions set in the Project Options for Android 64-bit.
-
2
-
-
On 11/13/2019 at 6:13 PM, Hans♫ said:No, I still have to use the very old Facebook SDK 4.15
If you're still having trouble, please look at line 175 here:
https://github.com/DelphiWorlds/KastriFree/blob/master/API/DW.iOSapi.Firebase.pas
Basically forces the linker to link to libclang_rt.ios.a, which has the "missing" symbol
-
2
-
-
11 hours ago, Hans♫ said:Our iOS app, EarMaster, made with Delphi is now featured in App Store, in the "Best of the month - New apps we love".
That is awesome! Great news
-
53 minutes ago, microtronx said:Thank you DelphiWorlds! This is helping me more than everything else for debugging my Android-Apps
Glad to hear it's helping you! 🙂
-
1
-
1
-
-
8 hours ago, microtronx said:Will try to create a Demo based on https://github.com/DelphiWorlds/KastriFree/tree/master/Demos/CrossPlatformLocation asap.
I've just checked in changes to this demo that include posting the location updates to a SQLite database. Service starts OK in it, at least for me.
-
1
-
-
5 hours ago, microtronx said:it is crazy but possible it has to do with Android 9?
I doubt it, since my device is Android 10. I'll have a play around tomorrow to see what I can deduce.
-
Nice, thanks!
-
On 1/23/2020 at 10:41 PM, microtronx said:it seems if we use Data.DB
Mine works OK with that unit in it.
-
5 hours ago, Remy Lebeau said:Data was attempted to be read/sent over a socket after the socket was closed
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 🙂
-
3 hours ago, Remy Lebeau said:What about it?
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.
-
1
-
1
-
-
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
20 hours ago, Hans-Wolfgang said:Since my Leica Typ240 equipment is not in this list, I'm assuming that is the cause of the errors I'm encountering when trying to open one of these files
I doubt it, since the camera make and model is in text form, not an index to different models
20 hours ago, Hans-Wolfgang said:Wondering, however, if a descendent of one of the methods within CCR.Exif [or a simple, new one] can easily be written [and at what cost] to extract just the description and title [nothing more at present]
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.
-
3 hours ago, MikeMon said:Copying the FireDAC.inc file to the project folder and altering it didn't work
Whoops! Yeah, I actually discovered that after my comment on the report. I've now updated it.
1 hour ago, Rollo62 said:I have no FireDAC.inc on hand right now, what did you change there ?
Please refer to my comments on the report: https://quality.embarcadero.com/browse/RSP-18329
-
2
-
-
On 1/14/2020 at 11:06 AM, Dave Nottage said: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.
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.
-
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.
-
6 hours ago, MikeMon said:I'm attaching the log from the XCode Console.
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.
-
41 minutes ago, ertank said:I am uncertain why. Registry search did not find me anything that I think is relevant. There is no "javac" location setting in SDK settings
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:
-
32 minutes ago, PeterPanettone said:Do you also have an unusual WAITING TIME of about 2 - 3 seconds when restoring the IDE window from minimized state?
Nothing so unusual: it takes less than a second.
-
10 minutes ago, PeterPanettone said:What is your screen resolution?
Mine is currently 1920x1074, but changing it does not make any difference for me; the behaviour is still the same.
Delphi Rio 10.3.3 crashes on big multiline constants.
in Delphi IDE and APIs
Posted
You should consider compiling the text into the app and loading it as a resource. See here:
https://stackoverflow.com/a/8943364/3164070