Replies: 1 comment
-
I ran the app in that repo and used Device Lens to check the callstack for when the error occurs, which reveals this: I have highlighted the cause, which is that the networking call is being performed in the main thread, and Android is objecting to it. Not sure how the app could work in XE8, since it's an Android restriction, not something to do with Delphi. The answer would likely be to execute the relevant calls inside a thread, and synchronize to the main thread with the results |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There was a need to implement support for connecting from an Android application to a shared resource in Windows. I was surprised to find that this is far from a trivial task and I did not find any working solutions anywhere. There is one library here that the author abandoned (https://github.com/LongDirtyAnimAlf/Delphi-Android-SMB/)
Users write that everything works on Delphi XE8, but on newer ones an initialization error pops up. Tell me what changes have occurred in Delphi, maybe there is a way to somehow run it on Delphi 12. A very useful thing when you need to have access to large amounts of data stored on a PC.
Beta Was this translation helpful? Give feedback.
All reactions