Generic Command Line Parser for Delphi 10.3.x

You know the feeling. You need a specific input from your command line, but you can’t find something lightweight that does the job. Hence, the FDC.CommandLine was born.

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You can use – / or + as a switch, and use : or = as a flag for parameters.
/option:parameter

You can use single and double quotes to be able to parse parameters that contain spaces and quotes.
/quoteoftheday:”This is a ‘quoted’ parameter”

It also supports lists of parameters.
/inputfiles:(file1.txt , “file with space.txt”)

Take a look at the TestFDCCommandLine.dpr for more examples of how it works.

Continue reading “Generic Command Line Parser for Delphi 10.3.x”

Demo shows an Android application using an Android Service to download an image from the Internet.

Originally shared by Delphi

Demo shows an Android application using an Android Service to download an image from the Internet. The Android Service works as a background task, even if the main application is not running. When the image file is downloaded to the device, a notification is presented. Handling the notification loads the image previously downloaded. The service stops itself after performing the download process.

.

http://embt.co/2qXZwAH

.

#Delphi #Android #developer