installing csentry in a different folder

Discussions about creating CAPI applications to run on Android devices
Post Reply
AriSilva
Posts: 498
Joined: July 22nd, 2016, 3:55 pm

installing csentry in a different folder

Post by AriSilva » December 1st, 2020, 10:02 am

csentry was supposed to be installed in a folder at the same level of the android folder, under the Internal Storage folder.
But some of my interviewers had csentry installed in a folder named DATA below the Android folder, as in the attached picture.
Under these folders, apparently, csentry works well, but when trying to connect to other apps they do not find some files that were written by csentry, because these external applications will seek the files in the csentry "normal" locaiton.
How can we fix that?
Attachments
CSEntry_Under_Android.jpeg
CSEntry_Under_Android.jpeg (36.72 KiB) Viewed 793 times
Best
Ari

aaronw
Posts: 458
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: installing csentry in a different folder

Post by aaronw » December 4th, 2020, 10:38 am

With CSEntry 7.5 new installations will be located "/Android/data/gov.census.cspro.csentry/files/csentry." If you're upgrading from an earlier version of CSEntry the location will be "/csentry." The change was made to support evolving Android security requirements.

https://www.csprousers.org/help/CSPro/w ... o_7_5.html

mathur_rakesh
Posts: 15
Joined: January 29th, 2019, 7:04 am

Re: installing csentry in a different folder

Post by mathur_rakesh » March 26th, 2021, 2:41 am

Is there any way to fix the installation path into all devices, either we upgrade the application or install a new one?

Regards,

khurshid.arshad
Posts: 491
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: installing csentry in a different folder

Post by khurshid.arshad » March 26th, 2021, 2:18 pm

I don't it will serve your purpose or not.

To perform some activities in my application, it is import to know that where is the application installed. So what i am doing is:
PROC LISTING_QUEST_APP



Preproc



{******************************************}
{   Check Application Path                 }
{******************************************}

   
SDPath=pathname(CSEntry);

   
if length(strip(SDPath))<= 35 then
       
PathFlag="Old";//Old Path
   
else
       
PathFlag="New";//New Path

   
endif;

PROC L_Q5

    If PathFlag="Old" then  //application is istalled on the old location
       
if dirlist(filelisting, "..\..\..\..\Android\data\dummyfiles\dummyfiles.txt")>0 then;
            {do some activity}
       
else
            {do some activity}

       
endif;

   
elseif PathFlag="New" then//application is istalled on the new location

       
if dirlist(filelisting, "..\..\..\..\..\..\..\data\dummyfiles\dummyfiles.m4a")>0 then;

            {do some activity}

           
RecordingFlag=0;
       
else
            {do some activity}
       
endif;


   
endif;



a.

Post Reply