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



Ask a Question

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. hi , sending of sms is failing. Please help me in
View Tutorial          By: sudhakar at 2009-06-19 09:39:55

2. I want to use the same code in c++,
Can a

View Tutorial          By: vijay at 2009-09-26 00:47:02

3. programs are making the concept easy.its a nice pr
View Tutorial          By: veeru at 2010-05-12 22:10:25

4. Hi, I need the complete working code for sending a
View Tutorial          By: Balaji Srikaanth at 2007-03-10 01:22:35

5. Hi everyone.

Does anyone hir knows

View Tutorial          By: Tomy at 2009-06-24 02:59:57

6. After a great struggle I am able to successfully c
View Tutorial          By: raghu at 2012-01-04 15:10:07

7. please am in Nigeria, i need to know how to send a
View Tutorial          By: kay at 2009-10-15 03:06:10

8. You are using "this" to start to the thr
View Tutorial          By: sumit at 2014-10-30 08:14:55

9. i am looking for c programs in written
View Tutorial          By: ziyauddin at 2011-02-13 06:21:09

10. yes. Client needs to use printwriter, especially w
View Tutorial          By: Aksh at 2011-07-06 03:30:46