Jump to content

Andrzej Miechowicz

Members
  • Content Count

    10
  • Joined

  • Last visited

Everything posted by Andrzej Miechowicz

  1. Andrzej Miechowicz

    Windows 11 Speech Recognition

    Hi, From Windows 11 it is available following functionality: If a cursor is placed inside of text edit field, user can press Windows logo key and H key and start talk to computer. Windows will convert a speech to text. It is very useful functionality. I would like to call it from Delphi application, but I do not know how to do it. Any advices? Thanks in advance!
  2. My Datasnap server is installed on one of the computers in my local network. I do not know how to share it. I want to access it from the program located on remote server. Is it possible to simply share it without installing Apache or another web tools? Thanks in advance!
  3. Thank you - my question started from this problem and thank you for the explaining it. I have no access to the router setup and I would not like to have it. I just want to display in Android app some data stored in local network. Without dynamic DNS and changing network configuration (one exception in Firewall for the service, which will share data). Today I think the callbacks from the server are the solution.
  4. Thank you! I think this is what I am looking for. Probably I should redesign my DataSnap server from TCP/IP to REST technology and finally use callbacks.
  5. Well, Android app communicates with DataSnap Server using PC1 and RSA encryption via TCP/IP (it is not REST Server). You are right: exposing Firebird database online it is not a good idea (I was rather thinking about separate service, which would provide the handle to connect it and care about encrypted and safe communication). But the main point is to send request from server (DataSnap server) to client (service on then computer with Firebird database) 1) Android sends a request to DataSnap server to get customer list. 2) DataSnap informs a "Firebird-similar-service", that it should send him back the customer list. But Firebird-similar-service is client - not server. It is not listening, but it is sending requests to the server. How to inform it, that is should prepare same data and send it to the server?
  6. Thank you for your advice. I would not like to use vpn. I want to create service (client service for DataSnap server), install it in local network and use it to connect to remote DataSNAP server. The problem appears, when Android application needs for example to get a list of customers from local computer. Android Application sends a request to DataSnap server, but how to retrieve them from local database? I can prepare local service (client side), but how to inform it, that the server needs data? I can force local service to check every second if the server has new request, but is it a good solution?
  7. Thank you for response. I have written DataSnap server (Delphi Rio, Firedac) as an exe file. It is located on the cloud server and works ok. I call it from Android Firemonkey application. Application needs to display some data from database. My DataSnap connects easily to SQL server database located on another cloud server: I specify IP, port, database, username, password. But now I need to connect DataSnap to Firebird, which is installed on the computer in another local network. I know external IP of this local network, I know internal IP of the local computer. But I do not know, if it is possible to connect it from outside of local network. How can I share it? What should I put into connection params? I was thinking about installing another Datasnap server - on the local computer. And connect it instead of Firebird. I prepared an image - I hope it better shows my connection problem.
  8. Andrzej Miechowicz

    Problem with Linking Android application

    I changed computer to the newer one and Delphi 10.3.2 to 10.3.3 When I try to create my android apk file, I receive the linking error: [DCC Error] E2597 C:\Users\Public\Documents\Embarcadero\Studio\20.0\CatalogRepository\AndroidNDK-17b_20.0.36039.7899\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: cannot find -lTMSCPLib I downloaded Android Studio and Android SDK environment and I tried many more steps to fix it, but I did not find the solution.
  9. Andrzej Miechowicz

    Problem with Linking Android application

    Yes, it was that! Thank you for quick answer! Obviously it was connected to TMS and I should have found it much earlier. But you have saved me many hours of searching - thanks again!
  10. Andrzej Miechowicz

    Problem with Linking Android application

    Thank you - it was helpful. I changed paths, I downloaded Android tools in SDK Manager etc. - step by step. After all these changes I receive again the same error message (the path to AndroidNDK has been changed): [DCC Error] E2597 C:\Users\Public\Documents\Embarcadero\Studio\AndroidNDK\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: cannot find -lTMSCPLib
×