Question

This works just fine :

FileHandle handle = Gdx.files.internal("data/data.txt");
String dataFile = handle.readString();

But when I do this, nothing happens to the file and no error happens either :

FileHandle handle = Gdx.files.local("data/data.txt");
handle.writeString( "Hello world", false );

I've added this to the manifest file :

<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />

No correct solution

OTHER TIPS

Could you try to use the permission: WRITE_EXTERNAL_STORAGE?

It seems that the permission you are trying to use: WRITE_INTERNAL_STORAGE does not exist. Please check on this list: http://developer.android.com/reference/android/Manifest.permission.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top