Archive for 09月 18th, 2007

时钟屏保开发手记

本文参考NewLC的Tutorial,并通过自己创建一个dll工程实现

类需要继承CScreensaverPluginInterfaceDefinition,
并实现MScreensaverPlugin接口的一些虚函数
class CClockScreenSaver :
       public CScreensaverPluginInterfaceDefinition
  virtual TInt InitializeL(MScreensaverPluginHost *aHost);
  virtual TInt Draw(CWindowGc& aGc);
  virtual const TDesC16& Name() const;
  virtual TInt HandleScreensaverEventL(TScreensaverEvent aEvent,
					TAny* aData);
 
需要一个RSS文件,告诉ECom框架所需要的信息
需要一个ImplementationProxy.cpp文件,
Helps the ECom framework locating the interface implementations
MMP中,TARGETTYPE是PLUGIN  UID 是:0×10009D8D 0×06EF7F58
需要很多Capabilities,所以只能用开发者证书来sign
 
pkg文件中dll的位置应该放到sysbin下面
“C:Symbian9.2S60_3rd_FP1Epoc32releaseGCCEURELClockScreenSaver.dll”
-“!:sysbinClockScreenSaver.dll 
基本上就这些,总体感觉还是比较简单的。

模拟时钟的关键代码都在Draw函数中。
我这里用到了画圆,画线,TTimeTDateTime,字符串转换等。
 
最后show一下效果:

N73运行效果

Popularity: 5% [?]

Add comment 09月 18th, 2007

网上下载的Symbian第三版软件过期问题

网上下载的软件已经过期了,怎么办?

1,首先移除它的证书:
signsis -u sisname.sisx sisname.sis
2,用自己的dev证书sign:
signsis sisname.sis sisname.sisx mycer.cer mykey.key mypassword

Popularity: 3% [?]

Add comment 09月 18th, 2007

Symbian Smartphone Show

将于2007年10月16-17日在伦敦举行。

那时候正好也在英国伦敦附近,希望有机会去看看。

http://www.symbiansmartphoneshow.com

Don’t miss the biggest smartphone event of the year with the opportunity to experience the future of mobile direct from the industry’s most forward-thinking players.

The world’s biggest brands are going mobile and they’re doing it first on smartphones. Consumer electronics, Internet, entertainment, commerce and publishing are all going mobile and they need your help to get there.

Popularity: 5% [?]

Add comment 09月 18th, 2007

SymbianBlog开张

注册了symbianblog的域名。

在自己服务器上用XAMPP搭建了WordPress。

Symbian开发3年了,应该留下点东西,就从这个Blog开始吧!

Popularity: 4% [?]

Add comment 09月 18th, 2007


标签

Calendar

09月 2007
    Oct »
 12
3456789
10111213141516
17181920212223
24252627282930

Posts by Month

Posts by Category