Hi,
I am porting a c++ library code into android(which was initially written for linux).
The library is built and is used by a java application.
In the previous linux code, library used to create and update a log file in /tmp folder of the system... But unfortunately, there is no such temp dir in android.
Seems I cannot use use applications cache to save the file due to a few reasons.
1. User need to view the file after exiting the app
2. The library need to be reused by different applications in future.
3. The log file is created by the native library(and not the java app)
(pls correct me if some/all of my understanding is wrong)
Also I found most of the directories are write protected in the default setting..
How can i tackle the issue, without 'rooting' the os? Pls help..