Comment on Tutorial - Reading and Writing a file to SD card sample program in Android By Ashley



Comment Added by : Spijker

Comment Added at : 2015-10-14 12:27:47

Comment on Tutorial : Reading and Writing a file to SD card sample program in Android By Ashley
I have altered the code as described (xml addition) but I still get a write error on writing the file. I have added the mount check and also placed a toast message which shows de path of the SDcard on my testdevice /storage/sdcard so I'm pretty shore it's mounted.
EACCESS (permission denied)

Then I looked again and saw I placed the lines in the manifest within the application tags... they have to be placed outside. This changed things for the better... thanks for the fine example.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Nice example. Thank you very much.
View Tutorial          By: vinod at 2012-06-19 11:19:53

2. Thanks a lot...I've been trying to fix my apache f
View Tutorial          By: L├ízaro at 2010-01-20 03:32:07

3. Hi there, what a nice example, very useful for me
View Tutorial          By: Yanny at 2009-12-10 12:34:26

4. well written hog .good going
View Tutorial          By: Rajesh at 2010-08-17 03:38:05

5. This is an old method although it works. The bette
View Tutorial          By: Emiley at 2013-01-11 03:56:02

6. it's amazing intro for me. and i think it will b
View Tutorial          By: amar smarty at 2010-05-25 03:26:39

7. It works great,
my code looks like this:
View Tutorial          By: Anonymous at 2009-04-11 04:19:28

8. FilenameFilter only = new OnlyExt("html"
View Tutorial          By: joyes at 2009-08-25 11:34:13

9. I want more example of bufferedReader.
View Tutorial          By: Romulado Bacor at 2011-11-25 01:18:57

10. Its a nice article obviously. Can you put somethin
View Tutorial          By: kowser at 2009-10-06 23:44:52