在三星Galaxy Android的SD卡特点 [英] Android SD Card Characteristics on Samsung Galaxy

查看:117
本文介绍了在三星Galaxy Android的SD卡特点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序需要使用手动从他们的PC的文件复制到SD卡在我的应用程序创建的有(或者我会寻找它的根目录)的子目录。到目前为止,一切都很好(大多数人没有,除非当他们尝试运行我的应用程序,而手机仍处于连接状态,然后问,为什么它会告诉他们:-)未安装SD卡的问题)。

My app requires that the use manually copy a file from their PC to the SD card in a subdirectory that my app creates there (or I will look for it in the root directory). So far, so good (most people not having a problem except when they try to run my app while the phone is still connected and then ask why it tells them "SD card not mounted" :-) ).

不管怎样,我想知道的三星Galaxy手机是如何工作的,因为我的理解是,他们有一个外部的和内部的SD卡。我的应用程序目前所谓的Environment.getExternalStorageDirectory();这是否返回外部卡的根?

Anyway, I'm wondering how the Samsung Galaxy phones work since my understanding is that they have an external AND internal SD card. My app currently calls "Environment.getExternalStorageDirectory()"; does this return the root of the EXTERNAL card?

此外,当用户安装设备到个人电脑,这是什么样子的?难道他们看到两个安装的驱动器,或仅外部卡作为一个驱动器,还是其他什么东西?

Also, when the user mounts the device to their PC, what does it look like? Do they see two mounted drives, or only the external card as a drive, or something else?

推荐答案

要补充安迪的回答。我与三星Galaxy Tab的调查结果一直是:

To supplement Andy's answer. My findings with the Samsung Galaxy Tab have been that:

Environment.getExternalStorageDirectory()也返回内部存储器/ SD卡/。然而不同的是Galaxy S的,实际的SD卡出现在/ SD卡/ external_sd /".

Environment.getExternalStorageDirectory() also returns the internal memory "/sdcard/". However unlike the Galaxy S, the actual SD card appears at "/sdcard/external_sd/".

在安装有外部的SD卡,我可以报告两个额外的驱动器出现在窗口,一个用于内部,另一个用于外部SD卡。

When mounted with an 'external' SD card, I can report two extra drives appear in Windows, one for the internal and one for the external sd card.

这篇关于在三星Galaxy Android的SD卡特点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆