You Are Here:

Community: Wiki

This page was last modified on 26 October 2009, at 09:33.

如何获得图片文件夹的根路径

From Forum Nokia Wiki

头文件和链接库

LIBRARY  PlatformEnv.lib
#include <PathInfo.h>


获得手机内存中图片文件夹的路径

TBuf<256> cDrivePath;
// phone memory root
cDrivePath.Copy(PathInfo::PhoneMemoryRootPath());
// Images path on c drive
cDrivePath.Append(PathInfo::ImagesPath());


获得存储卡中图片文件夹的路径

TBuf<256> eDrivePath;
/* next, the MMC gallery if one exists */
//Memory Card root
eDrivePath.Copy(PathInfo::MemoryCardRootPath());
//Images path in e drive
eDrivePath.Append(PathInfo::ImagesPath());

更多相关信息请参考:-

PathInfo Class Reference

Related Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia