Page 2 of 2

Re: deploying with an external app

Posted: November 30th, 2020, 4:12 pm
by AriSilva
The program is very big, but you see a snipet below.

string dummy = pathconcat(Application, "..\..\..\Producao\30_Apoio\VACINAL_00_Dummy.zzz");

if fileexist(dummy) then

string apk = pathconcat(Application, "..\..\..\foto.apk");

ret = execsystem(maketext("view:%s", apk), wait);

filedelete(dummy);

endif;

This file is copied to the tablet when installing the csentry program, via deploy.

Re: deploying with an external app

Posted: December 3rd, 2020, 3:05 pm
by AriSilva
The program is a little bit huge but the code snipet is

string dummy = pathconcat(Application, "..\..\..\Producao\30_Apoio\VACINAL_00_Dummy.zzz");
if fileexist(dummy) then

string apk = pathconcat(Application, "..\..\..\foto.apk");

ret = execsystem(maketext("view:%s", apk), wait);

filedelete(dummy);

endif;

The dummy file is loaded in the deploy, and it is deleted the very first time the control program is executed