Simultaneously write and read a file from NDK in android
问题 I am writing into a file using android-ndk . So writing in file is taking place using native c code. It contains some kind of readings that i am putting in using ndk. On click of a button the writing into a file start. And simultaneously i want to read contents of file and use them into another thread for showing up the values as writing operation might continue for 15 sec and user will have to wait for that much time to see the result so i want to show result one by one as soon as i get it