starting CSEntry application from another Android application

Discussions about creating CAPI applications to run on Android devices
Post Reply
mauri
Posts: 1
Joined: July 21st, 2023, 2:00 pm

starting CSEntry application from another Android application

Post 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?
Gregory Martin
Posts: 1796
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: starting CSEntry application from another Android application

Post 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");
Post Reply