Where is the sdcard location in Android Device Manager for the Samsung NOTE 5

android android-device-monitor

173 просмотра

1 ответ

4138 Репутация автора

I installed a database on a Samsung Note 5 programmatically in this directory:

public static String dataPath = "/mnt/sdcard/mycompany/sms2email/data/";

I am using the Android Device Manager to go pull out the database file from my device and I cannot find the directory in ADM. On a Nexus 7, the location seemed to be:


Where is this directory for the sdcard?

Автор: Kristy Welsh Источник Размещён: 22.08.2016 08:45

Ответы (1)

0 плюса

72519 Репутация автора

Never hardcode the sd directory. Use Environment.getExternalStorageDirectory() instead. The location of the sdcard will differ between models extensively.

Автор: Gabe Sechan Размещён: 22.08.2016 08:47
Вопросы из категории :