Page 1 of 1

How to run another CSPro application on the same android device

Posted: June 7th, 2017, 6:37 am
by Marc-Olivier Z
Hi everyone
I'm in the situation that I have to deal whith 2 surveys
Then, I would like to start another CSPro application on divice when some condition is met in the first application.
I used the execPFF function as I saw in the help of CSPro, but it doesn't work.
This is code I wrote
if $ > 0 then
execPFF("app:/Storage/emulated/0/csentry/APP TEST OUT PUT 2/APP_TEST_2.pff");
endif;
I don't know where the matter is
Please, hepl me. what did I miss?

Re: How to run another CSPro application on the same android device

Posted: June 7th, 2017, 8:28 am
by josh
Don't add the "app:". Just use the path to the pff file.

execPFF("/Storage/emulated/0/csentry/APP TEST OUT PUT 2/APP_TEST_2.pff");

Better yet instead of using "/Storage/emulated/0/csentry" either use a relative path from the application that is calling execpff or use the pathname() function to get the CSEntry directory. Check out the "Synchronization in Logic" example from the examples folder for an example that does this.