Reading csv file from sdcard

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Reading csv file from sdcard

Postby Radzell » Sat Jun 12, 2010 7:49 pm

I push a csv file to sdcard on my emulator now emulator is telling me i don't have permission does anyone know how to fix this.
Radzell
Developer
Developer
 
Posts: 45
Joined: Thu Aug 20, 2009 8:14 am

Top

Re: Reading csv file from sdcard

Postby Radzell » Sat Jul 10, 2010 7:06 am

Just to answer my owner question i used the class from here its easy to use http://www.csvreader.com/java_csv_samples.php
Radzell
Developer
Developer
 
Posts: 45
Joined: Thu Aug 20, 2009 8:14 am

Re: Reading csv file from sdcard

Postby nuisanceValue » Mon Jul 12, 2010 3:10 pm

Do you mean that you don't have permission to read the file?

If so have you added the permission to your manifest file?

I think the one for sd card access is:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
nuisanceValue
Freshman
Freshman
 
Posts: 7
Joined: Thu Jun 24, 2010 12:40 am

Re: Reading csv file from sdcard

Postby Radzell » Mon Jul 12, 2010 7:32 pm

I only used csvreader so i didn't need permission
Radzell
Developer
Developer
 
Posts: 45
Joined: Thu Aug 20, 2009 8:14 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 6 guests