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

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

Java program to check if user input is an even number

Archived Comments

1. I do not understand this line:
Map.Entry me

View Tutorial          By: hap Og at 2011-11-03 01:42:33

2. Hi, i am newly in java,please send me on sample pr
View Tutorial          By: aruna.k at 2012-12-13 06:05:44

3. hi...i have done a project based on spinners..the
View Tutorial          By: Nagini at 2015-04-11 05:01:43

4. nice tutorial man !
View Tutorial          By: yash at 2012-11-10 05:08:31

5. it is good
View Tutorial          By: kamal at 2009-11-01 19:58:54

6. Apache was failing to deliver php pages that were
View Tutorial          By: Ted at 2010-11-13 08:13:29

7. I'm using BSNL broadband modem,,from that how can
View Tutorial          By: souvik at 2011-12-22 08:12:50

8. It's very easy to learn try / catch functionality.
View Tutorial          By: Ponraj at 2013-01-31 04:21:06

9. Thanks alot ,,, it is really more the excellent n
View Tutorial          By: SaraFaqera at 2013-12-16 16:00:07

10. Can please send me codes to pass strings or text f
View Tutorial          By: bryan at 2009-12-29 05:59:21