i have a rooted android phone, on which i run native c executables through the adb shell. I am not using neither Java nor the Java NDK-apps, since i want to do low-level work with this app and no form of interaction with the user. While everything runs fine, when i try to write a file (i.e. using std::ofstream of fprintf etc), the file is created but it is empty.
For Apps development i know you need to add a line in the Manifest.XML, so that you have write permissions.
Any suggestions for the native executable?