android 11, accessing csentry files from other apps
Posted: October 2nd, 2021, 1:08 pm
Hi folks,
My application, which is still working with android 5.1.1, calls an external application to take some photos of the vaccine annotations of each children.
In order to do that, and to facilitate the interviewers, the first time the out application is called, it installs the photo application, by
string apk = pathconcat(Application, "..\..\..\foto.apk");
ret = execsystem(maketext("view:%s", apk), wait);
it prompts a screen asking the interviewer to install the photo app.
Then, during the interview, this photo app is called from our csentry application, storing some information in a file "identificador.txt" that the photo app has to read to get the identification that should be attached to the photo filename.
In the android 5.5 it works fine, both steps, the installation and the calling to the photo.
But, in android 11 both steps do no work. First, when doing the execsystem in the first step, nothing happens, and the photo app is not installed.
Then, after installing the photo.apk by hand, and trying to call it from the csentry app, the system shows a message that there is no permission to open the "identificador.txt" file (see attached the figure with the message)
It seems that the photo app cannot have access to this file that is stored inside the csentry realm.
The million dollar question? What can we do in both cases?
Best
Ari
My application, which is still working with android 5.1.1, calls an external application to take some photos of the vaccine annotations of each children.
In order to do that, and to facilitate the interviewers, the first time the out application is called, it installs the photo application, by
string apk = pathconcat(Application, "..\..\..\foto.apk");
ret = execsystem(maketext("view:%s", apk), wait);
it prompts a screen asking the interviewer to install the photo app.
Then, during the interview, this photo app is called from our csentry application, storing some information in a file "identificador.txt" that the photo app has to read to get the identification that should be attached to the photo filename.
In the android 5.5 it works fine, both steps, the installation and the calling to the photo.
But, in android 11 both steps do no work. First, when doing the execsystem in the first step, nothing happens, and the photo app is not installed.
Then, after installing the photo.apk by hand, and trying to call it from the csentry app, the system shows a message that there is no permission to open the "identificador.txt" file (see attached the figure with the message)
It seems that the photo app cannot have access to this file that is stored inside the csentry realm.
The million dollar question? What can we do in both cases?
Best
Ari