How to run another CSPro application on the same android device

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

How to run another CSPro application on the same android device

Post 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?
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

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

Post 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.
Post Reply