Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Rollo62 last won the day on October 13 2019

Rollo62 had the most liked content!

Community Reputation

67 Excellent

Technical Information

  • Delphi-Version
    Delphi 10.2 Tokyo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Rollo62

    iOS Firebase Push Notifications

    I have no FireDAC.inc on hand right now, what did you change there ? Is there a link to libibtogo, or is it possible that you have added libibtogo. to the deployment somehow ?
  2. Rollo62

    In-App Clipboard

    Not sure what exactly you are looking for, but wouldn't it be an option to register a custom, "secret" clipboard format, maybe with encrypted data ? https://blog.dummzeuch.de/2018/12/18/register-an-use-a-custom-clipboard-format-in-delphi/
  3. Thanks Dave, that looks like the "explanation". Very good to know this note from Android. Makes not much sense to me either, so we have to believe that this is an important step in security. Unfortunately I cannot explain such info to my customers, so I stick to my own version: that BLE might span up its own "location" network via Beacons. At least my customers could follow and understand such explanation as reason for location permission.
  4. Yes, but location "permisson" is different to location "permission + location really enabled". When the user starts with location permission, and then switch off after location, BLE will stop. There are several ways to retrieve location: via GPS sensor, via WiFi triangulation, via Bluetooth Beacon, etc. So why should Bluetooth require GPS sensor ? I must check my permission system, maybe I requested coarse AND fine location, I will check if thast makes the difference. Probably I mixed up some configurations from different projects.
  5. Yes, permission is required, that is clear. But it seems that additionally location in the phone (GPS sensor) must be also enabled to use Bluetooth, thats my point. I just checked with more modern Phones. Yes, Location needs permission AND location needs to be enabled in the Galaxy S9+ phone (Android 9). Thats strange, because I remember that it was not always needed to enable location, to use Bluetooth, anyway I'm not 100% sure about that. So I have to check with different phones how things behave.
  6. Hi there, I took some time to check with 32/64-Bit on older devices, and found that Bluetooth was not running on my old Nexus 7. The Nexus 7 (on Android 6.0.1) is a real 32-Bit device, so I searched into the wrong direction. The real reason was that Location was not enabled (while location permission was granted, as it should). I didn't find much useful answer, only this note. The rule seems to be: you have to set at least coarse location permission on Android 6.0.1 (32-Bit) you have to enable location sensor additionally How about behaviour in other versions < or > Android 6.0.1 ? This is a little disturbing fact to me, since I always considered that Bluetooth need the coarse Location permission only because of BLE is able to retrieve its own location info in its own network, like Beacon technology (my personal assumption). Now it seems that really physically location sensor must be running in the Phone/Tablet too (why). Usually I have this active anyway in my test devices, so I never been falling into such trap before, so I learned something new today. I wonder if this is caused by the old Android 6.0.1 only, which had many BLE issues, or if this is a general requirement in any OS version ? Maybe there is some deeper documentation what explains this odd behaviour.
  7. Rollo62

    Best practices for handling a Stalled thread

    Do you have sources of 3rd party, to find out if there is an endless loop somewhere. I would always try to find that root cause first, before trying to kill running threads. To kill a thread is also not a good idea IMHO.
  8. Rollo62

    New section for native apps

    Probably this is true for simple apps, but howto compare more complex apps. Do you have a good source for larger examples, which includes all possible aspects, like DB, networking, styling, using native sensors, location, etc. ? I often find even native programmers struggling with these (same) stuff in XCode and Android Studio, as we do in FMX.
  9. Rollo62

    BLE cannot get service

    You may need to give Android a little time after setting one command, before it will be able to give back a result. Also you should always ensure to touch such commands and results into the UI thread, as these responses came from extenral devices, and may drop in at any (asynchronous) time. The whole Bluetooth system is quite tricky, and has various smaller or larger pitfalls on different platforms.
  10. Rollo62

    Develop with IOS emulator

    TLDR; Thats probably a little outdated. I meant the official docwiki, which is showing all necessary steps. http://docwiki.embarcadero.com/RADStudio/Rio/en/IOS_Mobile_Application_Development Edit: Especially interesting for the mobile development is the platform status, regarding OS versions and simulators http://docwiki.embarcadero.com/PlatformStatus/en/Main_Page
  11. Rollo62

    Develop with IOS emulator

    You need a Mac or MacInCLoud, as said above, as well as an Apple developer account, etc. See the descriptions in the DocWiki, this is very good to start with. Because XCode needs to compile and sign the package, there is no other way (or maybe by Hackintosh, but I would not trust that this is reliable).
  12. Rollo62

    Develop with IOS emulator

    @Sherlock You typed a ms faster @limelect There should be also an option to get used phones for testing, at quite reasonable prices. iPhone 6S is a good one, still quite current.
  13. Rollo62

    Develop with IOS emulator

    Depends what you want to do, I would recommend to have at least >= iOS11, don't know what phone that is right now (maybe iPhone 5).