监控摄像头
作者:sailor_arno 日期:2008-12-29 13:33:03
很简单,看下面的代码
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是文件夹路径。
看到一个网友写的。
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 条评论
- 共有 1 条评论
发表评论
订阅
上一篇
|

文章来自:
标签: 





par wow dans GameSavor, vous obtiendrez une grande surprise!
chez GameSavor, 20% de bonus wow gold sont waitting pour vous!