I have created a named pipe in Native Android code.
char * logcatsocfile = "/sdcard/myfifo";
//setup NAMED pipe
int freturn = -1;
freturn = mkfifo(logcatsocfile, 0666);
if(freturn<0){
LOGE("mkfifo failed");
return 0;
}
mkfifo.txt - file is created
I am using execv( ) call to write logs into this pipe.
Can I read the contents of this mkfifo.txt( named pipe) from Java Android application?