Comment on Tutorial - Reading and Writing a file to SD card sample program in Android By Ashley
Comment Added by : Göktuğ ÖZEL
Comment Added at : 2013-03-13 22:44:55
Comment on Tutorial : Reading and Writing a file to SD card sample program in Android By Ashley
Hi i changed some codes in that and i gave internet permission to manifest. But I have a problem. when I click the write button I cannot change my xml file on my host with this sample. could u help me please. Error is: open failed: EROFS(Read-only file system)
I changes so:
try {
URL url = new URL("http://22net.edirnesaglik.gov.tr/deneme/data.xml");
File myFile = new File("url.openStream()");
myFile.createNewFile();
FileOutputStream fOut = new FileOutputStream(myFile);
Thank You =)
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. What about object bean with view scope?
View Tutorial By: Awo at 2012-02-11 12:17:36
2. like
View Tutorial By: po!X!on at 2011-05-05 01:30:51
3. your code error
because i try to ru
View Tutorial By: Nasser at 2013-01-09 10:33:34
4. Whe I compiled the above code, it sends me to the
View Tutorial By: Koo Larbi at 2014-08-02 22:32:05
5. can i use PrintWriter to save to a word document o
View Tutorial By: philip at 2013-03-20 10:21:01
6. I am using my NOKIA 2700 via blutooth connection.
View Tutorial By: Rahi at 2010-05-11 04:39:33
7. to get out of time out at step 2 error i used to
View Tutorial By: Niluk at 2014-06-04 05:58:03
8. Dude,
Atleast indent and try to make sense
View Tutorial By: Phani at 2015-03-19 16:51:57
9. dummy piece
View Tutorial By: Dummy at 2011-07-29 09:40:11
10. This is an old method although it works. The bette
View Tutorial By: Emiley at 2013-01-11 03:56:02