如何在Windows Phone 8中使用C ++读取sdcard文件 [英] How to read sdcard file with C++ in windows phone 8

查看:85
本文介绍了如何在Windows Phone 8中使用C ++读取sdcard文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在纯Windows Phone 8本机应用程序中读取sdcard文件(C ++).

1. Windows Phone 8上sdcard文件的绝对文件路径(例如F:\ sdcard \"等)是什么

2.任何本机API(C/C ++)均可获取sdcard的绝对路径.

例如,getSdcardRootPath(),返回F:\ sdcard \或F:\

谢谢

解决方案

您好,我不确定是否存在本机等效项,但存在GetExternalStorageDevicesAsync调用:

外部存储类

-马克


I need read sdcard files (C++) in a pure windows phone 8 native application.

1. What is the absoluted file path (eg, F:\sdcard\" etc) for sdcard file on windows phone 8

2. Any native API(C/C++) to get the sdcard absoluted path.

eg, getSdcardRootPath() , returns F:\sdcard\ or F:\

Thanks

解决方案

Hi, I am not sure if there is a native equivalent but there is the GetExternalStorageDevicesAsync call:

ExternalStorage Class

-Mark


这篇关于如何在Windows Phone 8中使用C ++读取sdcard文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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