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



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. hello guys... plz help me in j2me i want to learn
View Tutorial          By: bishnu prakash at 2011-07-11 13:18:39

2. this article is very good for the beginners. I am
View Tutorial          By: manoj kumar palbabu at 2009-12-02 10:44:04

3. Re: Inner Classes
Aside from allowing acces

View Tutorial          By: lee smith at 2010-01-17 10:59:23

4. Hii,,,i have a java server socket program and i wa
View Tutorial          By: prawinmasthan at 2012-01-13 08:38:35

5. Thanks for this article.
View Tutorial          By: Arindam Dey at 2011-06-16 05:23:17

6. thanku very much. it is a good examples for abstr
View Tutorial          By: rajesh at 2010-12-17 10:57:42

7. Wow, damn nice. It does everything, and the script
View Tutorial          By: Ethan Windsor at 2012-06-14 13:47:39

8. it is very good website for IT students
View Tutorial          By: jeecee at 2013-03-21 12:23:46

9. Dear All...................,
I have run the

View Tutorial          By: Ashraf Abu Aisheh at 2008-12-01 13:52:42

10. I will try
View Tutorial          By: bridges at 2009-09-06 22:09:46