Jump to content

Doug Rudd

Members
  • Content Count

    15
  • Joined

  • Last visited

Posts posted by Doug Rudd


  1. On 11/19/2023 at 12:02 PM, okoca said:

    This application will run as a background process without a desktop visible form.

    1. if its its not visible then why do you need to capture an image of it?
    2. If you want an invisible app you can make a Console App. And send messages to it to do stuff you want to do.

     

    It sounds like you want to do something sneaky, like steal Bitcoins or something.
     


  2. 16 hours ago, lefjucabro said:

    In my AndroidManifest, minSdkVersion is 23 and targetSdkVersion is 29, that should be OK.

    Any Android app doesn't necessarily run on all devices and all android versions. It all depends on Android version and SDK version.

    You can safely use minSdkVersion="19" in Manifest in Delphi Sydney and it will run on more devices. From my tests the app will run on Android 11 to Android 7


  3. Normally, when you have your Delphi macOS Configuration set to "Developer ID" and compile it makes a "apname.zip" file on the Mac. This file is automatically signed and notarized. You just give it to people and they can run it. You can put the file on your website and they can download it.

    The customer downloads it and drags it to the desktop (or wherever). MacOS understands that it is an application and its ready to run.
     

    Normally, if you have other data files that you want to include with your app you use the Delphi "Deployment" settings. They get automatically included in the app and are automatically copied to the user directory where your app can read them.

    As for 1000 data files, I don't know. I have to add each one. I haven't seen any way to deploy whole directories. Maybe you could change so all that data is in one file like a database.


  4. Testing on my Samsung S6 All the apps in the left key app list start new with the splash screen. Delphi apps and non-Delphi apps.

     

    If you are in an app and press the middle home screen button and then go to the left key app list and choose it, it starts up where you left off.

     

    I think the right key is always supposed to totally shut down an app.  The apps in the left key list are not necessarily  still running.


  5. PHP has commands to execute a native console program. Including:

     

    exec() - Execute an external program
    system() - Execute an external program and display the output
    passthru() - Execute an external program and display raw output
    escapeshellcmd() - Escape shell metacharacters
    pcntl_exec() - Executes specified program in current process space

     

    Make a console application that does what you want, or outputs HTML. In Delphi you can now make it for Windows or Linux.
    You can then use it anywhere on a PHP page:

     

    <?php
    echo exec("myconsoleprog.exe myparameters");
    ?>

×