Syamiban Q&A (1)

1> 如何判断文件是否存在
有3个函数可以使用
  1. ConeUtils::FileExists
  2. BaflUtils::FileExists
  3. RFs::Entry
第一个比第二个要方便些

2> 创建随机数
    Math::Rand

3> symbian应用程序如何获得命令行参数
  1. TBuf<KCommandLen> command; // You determine the value of KCommandLen
  2. User::GetCommand(command); // got it
对于eka2来说,这个是非常简单的

Comments

Popular posts from this blog

在symbian上随心控制红外线(7) ------ 答疑篇

[FW] Philips RC-MM Protocol

listbox中使用svg图片