Page 1 of 1

starting CSEntry application from another Android application

Posted: July 21st, 2023, 2:14 pm
by mauri
Hi cspro community,

As I could found in the forum, it is possible to start csentry from an other application:

forum/viewtopic.php?t=2899

But I want to know if it is possible to set the ftp url as intent extra, then I want csentry to start downloading the data from the ftp server using the url provided by the intent instead of using the camera to scan the url qrcode?

Re: starting CSEntry application from another Android application

Posted: August 7th, 2023, 12:08 pm
by Gregory Martin
Take a look at the CSEntryAndroidLauncher example: https://github.com/CSProDevelopment/CSE ... lback-demo

You can pass the FTP URL as part of the Intent:

Code: Select all

intent.putExtra("ftpUrl", "............");
Then you can use the sysparm function in CSPro logic to get that URL: https://www.csprousers.org/help/CSPro/s ... ction.html
string ftpUrl = sysparm("ftpUrl");