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. I am getting the error below.

Tue J

View Tutorial          By: ganesh at 2008-07-01 05:35:31

2. Good day. I managed to get the application to work
View Tutorial          By: thabiso at 2011-06-03 09:21:32

3. hi.t.join();
wat would make the hi thread

View Tutorial          By: preeti at 2011-07-19 05:28:11

4. thanks a lot fo the help offered.
View Tutorial          By: Douglas Olupotdolupot@cit.mak.ac.ug at 2012-10-31 05:37:04

5. A very nice example for abstract classes, simple b
View Tutorial          By: Rahul at 2010-06-16 20:45:24

6. Protip: you could add some inline assembly with th
View Tutorial          By: Robin Degen at 2011-08-16 23:47:04

7. Thanks a lot for that excellent explanation. It ha
View Tutorial          By: Gregory at 2014-12-30 05:49:21

8. How to return values when there may be muliple row
View Tutorial          By: asd at 2013-11-22 01:24:47

9. Hello,

Could you please include all

View Tutorial          By: John at 2007-12-19 04:35:54

10. thanks!
View Tutorial          By: leny at 2014-12-09 04:00:44