Jump to content

Patrick PREMARTIN

Members
  • Content Count

    184
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Patrick PREMARTIN

  1. It's a normal security feature on Android : we can't replace an existing app when it's from an other source than previous one. The compiler add a key in the program, if you compile with an other you have to remove the app on your phone before.
  2. Could you try this sample project ? The server listen on port 8080 for all IP by default on the PC. The firewall should ask if you want to open the port on public or private network (private should be the one clicked by default if your computer has the good parameters). You can specify an IP address in the client project and compile it for Windows and for Android. Check the IP with "ipconfig" or in the network parameters in a terminal window. (just download a ZIP of the repository to compile this sample : no need of any dependance https://github.com/DeveloppeurPascal/Socket-Messaging-Library or you can use Git, of course)
  3. Does your laptop have a fixed IP address or does it change sometimes ?
  4. Did you check you firewall or antivirus on both side ? If you have Bluetooth enable, you can try AppTethering with Bluetooth instead of ethernet, I never tried it but perhaps it could solve your problem ? https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_App_Tethering
  5. Patrick PREMARTIN

    Some REST help please.

    Hi Delphi has TNetHTTPClient/TNetHTTPRequest components and THTTPClient/THTPRequest classes to work with http(s) requests. You can use them to POST something if you want. Look at btnSendFileClick method in https://github.com/DeveloppeurPascal/Des-solutions-de-synchronisations-de-donnees/blob/master/04-Internet/Client/Unit1.pas or how I use POST request in the DeepL4Delphi library at https://github.com/DeveloppeurPascal/DeepL4Delphi And if you want to use TRESTClient/TRESTRequest, you can use the REST Debugger available in "tools" menu of the IDE to do a sample request and export the components from it.
  6. I'm agree, cleaning sockets instances have to be done when they disconnect. I have to add it to my sample program and in other tools, but no real impact for a little program with little volume of users. For a big server it has to be fixed.
  7. Patrick PREMARTIN

    No Android Platform in Delphi 11.3

    Ok, try to uninstall the Android compiler, reboot and reinstall it, but if it doesn't work contact Embarcadero support https://www.embarcadero.com/support
  8. Patrick PREMARTIN

    No Android Platform in Delphi 11.3

    If you open a project made for iOS/Android, does it compile or show Android platform as available ? You can try https://github.com/DeveloppeurPascal/LearnToCodeSummerCamp2021/tree/main/Day-3 or a mobile snippets (permission or camera) for Embarcadero samples to check.
  9. I added a sample for send/receive strings over a Socket here : https://github.com/DeveloppeurPascal/Delphi-samples/tree/main/Network-Samples/01-TSocket it could inspire you. 😉
  10. Perhaps check the AppTethering here : https://github.com/DeveloppeurPascal/Des-solutions-de-synchronisations-de-donnees You also can embed a web server in your desktop app and use GET/POST http commands. And if you want to do something really free, use a TSocket and a TSocketStream to send and receive texts. This unit will help to write/read a string over a stream : https://github.com/DeveloppeurPascal/librairies/blob/master/Olf.RTL.Streams.pas
  11. Patrick PREMARTIN

    No Android Platform in Delphi 11.3

    In the installer, did you have android platform (on main menu), JDK and SDK (on options) installed ? Do you have Android in the contextual menu when you clic on the project and "add new platform" or just nothing ? Check your license in the license manager to verify if mobile is available on it. Some old licenses had a problem (Embarcadero support can fix it).
  12. Patrick PREMARTIN

    Google Sign-In

    and a link to Grijjy solution 🙂 https://github.com/grijjy/DelphiGoogleSignIn
  13. Patrick PREMARTIN

    Google Sign-In

    Hi You'll find the solution for google sing-in in https://github.com/DelphiWorlds/Kastri
  14. Patrick PREMARTIN

    Can one run delphi (32 bit) apps on Windows 11 ARM?

    They work, but sometimes Windows 11 ARM / Intel interpreter have problems. It's more a Microsoft bug than other. If you can try to compile your program with 11.3 Alexandria to check if the compiler does something different and perhaps Microsoft understand it better. But don't forget ARM/Intel converters are not a 100% success feature (except for Apple).
  15. Patrick PREMARTIN

    Apple Transporter Error

    do you have an other info.plist in deployment wizard files list?
  16. Patrick PREMARTIN

    Apple Transporter Error

    Perhaps a filed in project / Application / version info / iOS or something missing in the 10.4 project the 11.3 adds with missing contents ? If 10.4 can't push it in the Info.plist, add the key/value pair in the template file.
  17. Patrick PREMARTIN

    Apple Transporter Error

    To check the differences, you can open the IPA file on your Mac and compare the Info.plist of the two. Perhaps something is wrong in the "app name" when it is generated from 10.4 and has been changed in 11.x release ? Try to disconnect and reconnect from the Transporter app in case it's a problem with the developper account.
  18. Hi If you installed the samples from RAD Studio / Delphi, you have a "mobile snippets" folder where you'll find pieces of code to do what you want. And if you want only code, look at this simple sample I've made for the Learn to code Summer Camp 2021 : https://github.com/DeveloppeurPascal/LearnToCodeSummerCamp2021/tree/main/Day-3 Just notice you have to add some permissions for Android devices in Project / Options. In SelfieCam sample I used the TCameraComponent instead of calling the camera SDK/instant (iOS/Android). In this case we need to manage the "lost focus" of the app to free the handle to the device. If you need to call the embed camera app, you can do it with an action list (even by code) or the platform service (if available). Some explanations are available on this page : https://developpeur-pascal.fr/utiliser-l-action-standard-takephotofromcamera-pour-les-applications-android-9-et-plus.html (in english with Google Translate).
  19. Patrick PREMARTIN

    Paste image from clipboard : RGB becomes BGR on IOS 64 bits ?

    Thanks for having opened an issue, it will be easier to follow at https://quality.embarcadero.com/browse/RSP-41896
  20. Patrick PREMARTIN

    macOS Ventura 13.4.1, any comments ?

    I have a MacBook Pro from this year too, in Catalina, and each time I restore the OS, I add manually the old Xcode release pour macOS Catalina SDK, but it can't be used for iOS development. Xcode 15 is a beta software available only for latest macOS beta release. Don't use it for publishing Delphi projects until it's final release.
  21. Patrick PREMARTIN

    Where does Delphi store the list of command line parameters?

    If it's a bug and you still have it, you can tell it as a comment to the opened ticket. If it's a new feature request for the IDE, an external plugin has perhaps the feature or it wasn't visible enough or interesting enough to work on it in priority. It's also the reason of the "vote" link. And you can add a comment to explain why it's needed to your point of view.
  22. Patrick PREMARTIN

    IOS 16 SDK support?

    The platform status page specify that iOS 16 is only supported in Delphi. https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page Perhaps @Dave Millington (personal) can explain what are the limitations and how you can deal with the AppStore if it's possible ?
  23. They don't have the same approach : TMS Web Core generates the front as HTML/CSS/JS from the Pascal code. UniGUI and IntraWeb générale a server program with create a dynamic web site : each page (or cal) is done to the server. You need to host it on Windows (IntraWeb/UniGUI) or Linux (UniGUI). The three solutions allow to draw your client pages/forms in Delphi. (aka "the front end") UniGUI / IntraWeb manage the server part. (aka "the back end") If you want only server part, you have many Delphi project templates, components or libraries to work with, starting with WebBroker (included for all Delphi edition since many years). Other samples : RAD Server (Enterprise/Architect editions), Delphi MVC Framework (open source from Daniele Teri), MARS (open source from Andrea Magni), ...
  24. Hi Can you give us more info for your project or do you talk in general (which can really have an generic answer) ?
  25. Patrick PREMARTIN

    Where does Delphi store the list of command line parameters?

    Hi Do we have some QP issues to follow or check for those demands ?
×