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



Comment Added by : amithooda

Comment Added at : 2012-06-11 06:43:00

Comment on Tutorial : Reading and Writing a file to SD card sample program in Android By Ashley
gud tutorial but the permission denied is because of two things,,
1 in android manifest file user havnt added write external storage permisison

2 sdcard is not mounted so user can check it
if(!Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())){
Toast.makeText(this, "External SD card not mounted", Toast.LENGTH_LONG).show();
}

so first mount sdcard :)


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. it is very easy to understand to the learners.
View Tutorial          By: venkat at 2010-06-19 02:37:36

2. i want some brief realtime examples
View Tutorial          By: SURYA.C at 2015-08-20 05:06:18

3. Superb article
View Tutorial          By: Raj at 2015-01-29 11:18:22

4. I can't get it untill now. I need further explaina
View Tutorial          By: johnlie at 2011-01-19 20:31:09

5. No use of this example.
I was searching oth

View Tutorial          By: Karan at 2010-04-10 05:41:47

6. Good ,I like here! I send gmail with j
View Tutorial          By: jackhexl at 2009-04-02 03:29:44

7. Hello , How could i Run java.comm on eclipse

View Tutorial          By: Fiars at 2011-04-11 04:53:45

8. hai,
i want to know how the connect

View Tutorial          By: V.Selvi at 2010-02-28 21:01:33

9. I just copied this example to my app. It's not wor
View Tutorial          By: Praveen Kumar at 2011-11-17 12:59:40

10. very helpful.
View Tutorial          By: arjun at 2011-07-19 03:19:44