Symbian, Blog, Innovation

About Viewsrv 11 panic

They occur when the Viewsrv active object in your, or any other, application does not respond to the view server in time. Typically 10-20 seconds is the maximum allowed response time.

Guidelines for avoiding common causes of this problem:

1, Do not have long running synchronous operations.  e.g. “while (1) { GameStep(); }”.

2, Ensure that your active objects don’t swamp the scheduler. The active scheduler processes active objects strictly in priority order, and for those of the same priority, active objects added first have priority. Active objects that run often and use a lot of processing time should run at low priority. The Viewsrv active object runs at CActive::EPriorityStandard, so busy active objects should run at a lower priority. One note of warning: if you use EPriorityLow, ensure it is scoped as CActive::EPriorityLow, otherwise you may get thread priority EPriorityLow, which is actually a very high priority value for an active object!

3) Allow some CPU time for other applications.

4) Do not use User::WaitForRequest();

5) On some platforms, be aware that launching waiting dialogs (or performing other blocking actions) from ViewActivatedL(); or ViewDeactivatedL(); can also cause Viewsrv 11 panics.

Assesmbled from here: http://www3.symbian.com/faq.nsf/0/894657c7845917a380256d98005baff7?OpenDocument

Popularity: 10% [?]

Add comment 04月 23rd, 2008

ShakeSMS has been officially Symbian Signed!

Just now, I got the email from FLANDER notifying me that ShakeSMS is accepted and it has been officially Symbian Signed!

This is my first app get SymbianSigned! I have to thank Valtteri from Nokia who offered to get my freeware apps symbian signed with no cost for me ;-)
“We have noticed that your applications are one of the most popular freeware applications available for S60 3rd Edition. I’m offering you to get FlipSilent and ShakeSMS Symbian Signed certified with no cost for you. ”

You can now download the symbiansigned version from here:
http://flipsilent.com/tongren/?q=node/31

Popularity: 10% [?]

1 comment 04月 22nd, 2008

Tips for Symbian Express Signed!

Today, I got my new application VibrateCall Symbian Express Signed!
Here are some tips to be careful with when you do it the first time!

1, You need to get a publisherID (200$) and a Content ID (20$)
2, Login to www.symbiansigned.com
3, The file you submit must be in ZIP format
4, The ZIP file must contain three files: pkg, readme.txt, sis (Can’t be sisx)
5, The sis file must be signed with the TCT Publisher ID (Not the cer file generated with the DevCert Tool)
6, The sis file in the zip can’t contain Manufacture proved capabilities, I suggest that you use the minimal set of capabilities used by your program — when you are coding, you had better write down what capabilities you used, for which API and the reason for it.

I tried four times before finally succeed, hope my experience can help you when you are Express sign your sis files the first time ;-)

Popularity: 19% [?]

2 comments 04月 1st, 2008

ShakeSMS V1.01 — More Control Over SMS!

Shake to Read SMS as V1.00, when you are reading an SMS,
in V1.01 you can use the Extended Functionality:
(if you set the Extended Functionality to NO, you can shake again to go back, just like V1.00)

Phones Supported: Nokia N82, N95, N95 8GB

Action           ——      How to remember
Lean Left        –      Leave (delete) SMS
Lean Right     –      Write (Reply SMS)
Lean Up         –      Up to the SMS Folder In
Lean Down    –      Done (Back to Previous Screen and Lock keypad)

ShakeSMS V1.01 Video Tutorial (NEW!!!):

screenshot0006.jpg   screenshot0007.jpg

Download here: http://flipsilent.com/tongren/?q=node/31

Popularity: 24% [?]

4 comments 03月 19th, 2008

如何设定应用程序安装到特定手机中

最近开发了几款基于传感器的应用(FlipSilent, ShakeSMS), 但是有些手机并没有传感器(如N73),所以如果在安装过程中可以区分一下可以使User Experience更好一点,N73用户也不用白白安装后试了半天才发现根本没有用。

一个比较简单的方法是在pkg文件根据手机型号(Product ID)中作判断,可以加上如下几行:
;Supports Series 60 v 3.0 //屏蔽掉原来的Platform ID
;[0×101F7961], 0, 0, 0, {”Series60ProductID”}
[0×20002D85], 0, 0, 0, {”Nokia N82 ID”} 
[0×2000060B], 0, 0, 0, {”Nokia N95 ID”}
[0×20002D84], 0, 0, 0, {”Nokia N95 8GB ID”}
更多的ProductID和PlatformID参考这里

这样,当N73安装过程中就会显示:
screenshot0001.jpg

Popularity: 24% [?]

Add comment 03月 13th, 2008

State Machine of phone calls

1, Outgoing Call
a, Dialing and hangup immediatly
EStatusDialing -> EStatusDisconnecting -> EStatusIdle
b, Dialing, ringing, ended
EStatusDialing -> EStatusConnecting -> EStatusDisconnecting -> EStatusIdle
c, Call Answered by the other one,
EStatusDialing -> EStatusConnecting -> EStatusConnected -> EStatusDisconnecting -> EStatusIdle

2, Incoming Call
a, Ringing, Hangup yourself / the other one
EStatusRinging -> EStatusDisconnecting -> EStatusIdle
b, Ringing, Answering, Hungup yourself / the other one
EStatusRinging -> EStatusAnswering -> EStatusDisconnecting -> EStatusIdle

Popularity: 24% [?]

Add comment 03月 10th, 2008

ShakeSMS V1.00 Beta out for donators!

ShakeSMS  will  be availabe soon for all the donators to do Beta testing!
摇一摇,读短信,马上会发送给所有捐赠者做Beta测试!
http://flipsilent.com/tongren/?q=node/31

ShakeSMS-ZH  ShakeSMS-En

Popularity: 40% [?]

7 comments 02月 23rd, 2008

FlipSilent V1.04免费下载(FREE download)

主要功能 (Improvements):
1,向下滑盖(看到多媒体键),自动打开扬声器接听电话
(Slider down (See multimedia keys), Answer a call with Loudspeaker.)
2,滑回滑盖(只能看到屏幕,看不到键盘或多媒体键),自动挂断电话
(Slider back (Only See screen, no keypad or multimedia key), hangup the call)
3,开机自动从task list隐藏
(Hide from the task list after phone boot)

下载:http://flipsilent.com

Popularity: 59% [?]

13 comments 02月 1st, 2008

Accredited Symbian & S60 Developer

今天终于拿到证书了,做工非常好!
我居然是全球第44个拿到AS60D证书的人?
下面签字的又是Lee Epting,真有缘!
as60d

asd

Popularity: 50% [?]

3 comments 01月 26th, 2008

如何使用加速度传感器(Sensor)API

N95硬件中隐藏了一个加速度传感器(Accelerometers),该硬件来自STMicroelectronics,型号为LIS302DL。加速度传感器用于将重力或者运动加速度变换为电信号,Accelerometers很可能是继GPS之后的下一个重量级的硬件。Forum Nokia Wiki上有最权威的描述:http://wiki.forum.nokia.com/index.php/N95_sensor

Accelerometers API首先在NokiaResearchCenter(http://research.nokia.com/projects/activity_monitor)发布,目前可以支持N95,N95 8GB,N93i,N82等手机.该plug-in只能用于研究和开发用途,并含有如下Capabilities,根据Symbian安全性规则,你的应用程序不能含有比他更多的Capabilities:
    LocalServices ,Location ,NetworkServices ,ReadDeviceData ,ReadUserData
    SurroundingsDD ,SwEvent ,UserEnvironment ,WriteDeviceData ,WriteUserData

如何使用Accelerometers plug-in API开发应用程序。
首先下载:N95_RD_Accelerometer(http://research.nokia.com/files/N95_RD_Accelerometer.zip)
1,安装配置:
需要将N95AccelerometerPlugin.sis安装到你的手机(目前可以支持N95,N95 8GB,N93i,N82)
在开发环境中,将RDAccelerometer.h和RDAccelerometerObserver.h头文件放到SDK的\epoc32\include目录中,将*.dso和*.lib文件复制到SDK的\epoc32\release\armv5\LIB目录中

2,具体使用:
  - 将库文件RDAccelerometer.lib添加到你应用程序的工程中
  - 在你需要的类中继承MRDAccelerometerObserver接口,并实现HandleAccelerationL()函数接收来自加速度传感器的数据
  - 创建一个CRDAccelerometer实例,并将上面提到的类作为参数传入
  - 当实例创建完成后,加速度传感器数据会自动通过HandleAccelerationL()方法发送到应用程序中。
 参数含义如下(参考RDAccelerometerObserver.h 获取更多信息):
     - 1G加速度等于64
     - 0G加速度等于0
     - (-1G)加速度等于(-63)
  - 删除CRDAccelerometer实例就可以停止接收来自传感器的数据

3,开发经验:
  - 即使你将手机放在桌上不动,通过HandleAccelerationL()得到的数据还是略为有所改变。
  - 每秒钟会有30帧的数据传入到HandleAccelerationL()中,非常耗电。
  - 应用程序中尽量早地关闭传感器,在需要的时候再开启。

附上显示加速度传感器数据的例子TestSensorCode

Popularity: 47% [?]

6 comments 01月 21st, 2008

Older Posts


Categories

Links

Feeds

标签