订阅所有JSP/Servlet的日志 订阅 | 这是最新一篇日志 上一篇 | 下一篇日志 下一篇 ]
Symbian

监控摄像头

很简单,看下面的代码
TFileName PhoneIamgePath ;
TFileName MemoryIamgePath ;
TFileName PhoneVideoPath ;
TFileName MemoryVideoPath;

PhoneIamgePath.Append(PathInfo::PhoneMemoryRootPath()) ;
PhoneIamgePath.Append(PathInfo::ImagesPath());
MemoryIamgePath.Append(PathInfo::MemoryCardRootPath()) ;
MemoryIamgePath.Append(PathInfo::ImagesPath()) ;

PhoneVideoPath.Append(PathInfo::PhoneMemoryRootPath()) ;
PhoneVideoPath.Append(PathInfo::VideosPath()) ;
MemoryVideoPath.Append(PathInfo::MemoryCardRootPath()) ;
MemoryVideoPath.Append(PathInfo::VideosPath()) ;

上面是获得手机的存储相片和视频的路径。

你要设置活动对象,对这四个文件夹进行监控,
要用到 RFs.NotifyChange(ENotifyFile, iStatus, iFilePath);
其中iFilePath是文件夹路径。
看到一个网友写的。

平均得分
(0 次评分)





评论: 1 | 查看次数: 1663
  • 共有 1 条评论
xiaoxue00 [2010-06-07 14:18:30]
Bienvenue à GameSavor d'acheter wow
par wow dans GameSavor, vous obtiendrez une grande surprise!
chez GameSavor, 20% de bonus wow gold sont waitting pour vous!
  • 共有 1 条评论
发表评论
昵 称:  登录
内 容:
选 项:
字数限制 1000 字 | UBB代码 开启 | [img]标签 开启