Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Environment.getExternalStorageDirectory();

Environment.getExternalStorageDirectory();

Put your problem here if it does not fit any of the other categories.

Environment.getExternalStorageDirectory();

Postby errandum » Fri Apr 15, 2011 11:16 pm

First of all, hi! :)

I searched for that expression, and although I found some code snipets, I didn't see this particular problem!

I'm currently developing an application on my Desire, and it uses the "File X = Environment.getExternalStorageDirectory();" to get the SD card directory (that I need to use to save some BIG log files).

But in the end this application should be able to run in a multitude of devices, like the Samsung Galaxy S (that has internal memory, mass storage and the possibility of using an SD card).

My question is this: Does that command return the Mass storage (the phone's internal one) or the SD card path?

If it does access the SD card, how do I get the path for the Mass storage? And how do I differentiate between the two (so that it choses the right place for my log files depending on what's available on different handsets?

I didn't know if I should post here or on the database forum, but I'm logging directly to a text file and not using sqlite, so...

Thanks in advance!
errandum
Freshman
Freshman
 
Posts: 2
Joined: Fri Apr 15, 2011 11:05 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 18 guests