brew平台手机,无法访问文件夹下的文件,急呀!麻烦各位哥哥姐姐弟弟弟妹妹指导指导

nardo 2008-01-29 07:40:12
我是BREW的新手,想请教大家如何在中国的BREW平台的手机上连接到这个路径shared path。 我所使用的手机支持BREW 3.x 版本或更高级别的版本。我尝试了以下的路径,但是没有成功。

fs:/shared/picture
fs:/~0x0102382c/
fs:/~0x0102e5fc/

我通过根目录下面的所有文件夹来查找JPG格式的图片,但是在文件夹中找不到任何图片。想请教大家,是不是有一个API可以查找Unicode文件,如果有这样一个API,那我该如何创建这个API呢?另外一个问题是,中国的BREW平台的手机的根目录是什么?

诚挚的感谢您的帮助和解答!谢谢!
小柯
电话15801460326
msn kechunlin525@hotmail.com
...全文
1300 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
发现心流 2009-01-03
  • 打赏
  • 举报
回复
MIF 属性
walk_stop_walk 2008-11-17
  • 打赏
  • 举报
回复
需要在MIF文件加入相应的权限吧
zxzyzw 2008-07-21
  • 打赏
  • 举报
回复
mif~文件使用权限吧~~
knowledge_Is_Life 2008-05-01
  • 打赏
  • 举报
回复
不会,帮顶
UltraBejing 2008-04-30
  • 打赏
  • 举报
回复
不会,帮顶
meiZiNick 2008-04-30
  • 打赏
  • 举报
回复
不会,帮顶
sunjunlishi 2008-04-21
  • 打赏
  • 举报
回复
IFILEMGR_EnumInit ( pIFileMgr, "fs:/",TRUE);
可以自动枚举 手机下的所有文件;
例如c580的系统的 手机图片路经为:fs:/root/mydata/photo
nmgmlf 2008-03-28
  • 打赏
  • 举报
回复
同意sharetop兄的看法,我以前移植过很多3.0手机,基本都是fs:/~0x0102382c这个目录,屡试不爽啊,很少有例外的,
你还是看一下mif文件中的权限有没有打开吧
hhygcy 2008-03-17
  • 打赏
  • 举报
回复
这个文件夹的路径对于不同手机都不一样的
而且每个手机的DataSheet里面都有描述说是否支持程序去访问这个文件夹
你可以到Qualcomm去看设备列表, 里面很多手机都可以看到这些信心
jax2006 2008-03-17
  • 打赏
  • 举报
回复
应该是需要高通的 KDDI_DATA_FOLDER 扩展文件,加入mif应该就行了
sharetop 2008-01-30
  • 打赏
  • 举报
回复
如果你确定代码没问题,也许是权限没有打开,请查看一下你的MIF文件中的权限配置。
sharetop 2008-01-30
  • 打赏
  • 举报
回复
"fs:/" (AEEFS_ROOT_DIR): the root of the BREW file namespace. Prefacing
a path with this string tells BREW to interpret the filename
according to the new namespace rules.
"fs:/~/" (AEEFS_HOME_DIR): this is a shortcut that denotes the
currently running application's directory. It is mapped
to "fs:/mod/<modid>" where <modid> is the module ID of
the currently running application.
"fs:/sys/" (AEEFS_SYS_DIR): this is the location of BREW's "system"
files. Access to this directory is restricted, See
IFILEMGR_CheckPathAccess() for more information.
"fs:/mod/" (AEEFS_MOD_DIR): the location of all the module directories
"fs:/mif/" (AEEFS_MIF_DIR): the location of all of BREW's MIF files.
"fs:/shared/" (AEEFS_SHARED_DIR): the new name for "Shared". This
name can be used to share files with other applications
using case-sensitive names
"fs:/address/" (AEEFS_ADDRESS_DIR): the location of the address book
directory. This directory is only present when the
address book for the device is implemented using the default
BREW address book implementation. It is mapped mostly for
backwards compatibility with the old BREW file
namespace AEE_ADDRBOOK_DIR ("addrbk") in AEE.h
"fs:/ringers/" (AEEFS_RINGERS_DIR): the location of the device's ringer
directory. An application must have PL_RINGER_WRITE (Write
Access to Ringer Directory) to access files in this
directory.
"fs:/card0/" (AEEFS_CARD0_DIR): New for BREW 3.1, if a device supports
a removable media card format, this path maps to the first
instance of such a device. An application must list
AEECLSID_CARD0_ACCESS in its MIF in the "Dependencies"
section to access files in this directory.
"fs:/~<clsid>/": New for BREW 3.1, an application may access files
in another application's directory. <clsid> must be a
valid class id of an application or extension. These
paths map to "fs:/mod/<modid>" where <modid> is the
module id of the module that exports <clsid>. The target
module must export this path via a module ACL. See
IFILEMGR_CheckPathAccess() for more information.
nardo 2008-01-30
  • 打赏
  • 举报
回复
谢谢,我去试试!谢谢

948

社区成员

发帖
与我相关
我的任务
社区描述
为开发者提供高通丰富的解决方案及全面技术下载内容。本版以AI人工智能、WoS移动笔记本、XR、IoT 物联网、Auto 汽车、生成式AI等核心板块组成,为开发者提供一个便捷及高效的学习交流平台。
人工智能物联网机器学习 企业社区 北京·东城区
社区管理员
  • Qualcomm开发
  • csdnsqst0050
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧