移动平台

symbian alpha blending的问题

symbian系统api中对alpha混合的实现不是很好,至少不是很灵活,比如必须配合256级灰度mask图等,如果只是想填充半透明的矩形区域的话这样显然比较浪费内存。比较好的方法是自己实现类似矩形半透明填充等的算法,也就是那个src*alpha+(1-alpha)*dst的alpha混合算法,通过一些多项式合并以及用整数运算代替浮点运算的方法,可以对其执行效率有一定的优化,在内存允许的情况下,使用查表的方式可以对速度有更进一步的提高。另一个问题是,对于N95类ARMv6架构的CPU来说,如何在生成exe的时候使编译器支持armv6指令从而使用simd对alpha混合等大量像素级的数据运算进行并行优化?目前研究了一段时间也没发现carbide上能启用armv6的方式,我想是由于需要对N73类同为3rd的机型的兼容吧。

[ZT]S60 3rd FP1 SDK编译的SDK自带的例子在N73上无法正确显示程序图标

基本原因是Nokia的mifconf变了。

方法1:
找到S60 3rd MR SDK中的mifconv.exe, 用其替换3rd FP1以及之后的SDK的mifconv.exe应该可以解决图
标消失问题。
3rd FP1以及之后的SDK的mifconv.exe生成的mif文件尺寸明显小于早期版本生成的mif文件,也许Nokia修改了mif的压缩算法导致图标不能兼容。

自己琢磨出方法1后,在网络上找到了另外一种方法。
方法2:
Issue with SVG icon display on 3rd edition
From Forum Nokia Wiki

SVG(scalable vector graphics) icons sometimes do not show up on S60
3rd edition devices when built with S60 3rd edition SDK.

This problem is because of the fact that mifconv.exe compresses the
icons which the devices are unable to read.

To fix this issue,disable the SVG compression option by specifying
‘/X’ option in mifconv.exe.
Retrieved from “http://wiki.forum.nokia.com/index.php/Issue_with_SVG_icon_display_on_3rd_edition”

RGA app in symbian tasks list

As far as I checked RGA example applications don’t appear in Symbian tasks list.
Am I missing something or it’s not supported?
Does anyone know how to fix it?

Well, N-Gage applications don’t show in the task list. Generally I think only S60 GUI applications show up there.

To hide an app:
CApaWindowGroupName has a SetHidden() method which you call with ETrue.

To make one visible you could try SetHidden(EFalse)…

I am wondering if the system considers an RGA application as a non-gui app, or whether they’re just deliberately hidden for N-Gage.

Sorcery

nS60_jme_sdk_3rd_e_FP1与EclipseME配合不能调试midlet的问题

运行时,提示类似这样的错误:Jar file could not be initialized
And, an exception: java.util.zip.ZipException: invalid entry compressed size (expected 552 but got 555 bytes)…

解决办法(来自forum nokia):

Go to the properties page of your project, “J2ME”, “Manage Devices”, edit all or your favourite “Emulator” entries and remove the ‘[%classpath%|-classpath “%classpath%”]’ entry from the Launch Command Table.

证书系统破解成功.

基本上是按照http://www.dospy.com/bbs/thread-1463143-4-1.html的教程顺序一步一步下来的,开始卡在了sending message number 00…的地方,参考了一下其他论坛上的信息,好像是因为pc suite或software update manager的版本过高导致,因为刚升级完系统到国行的最新版本,所以2个软件的版本的确都是最高的,最后折腾了半天,该卸的卸该重装的重装,成功的状态是:没装software update manager,pc suite版本是6.83的样子。后面的步骤都比较顺利,替换根证书什么的,最后a4终于在最高权限下运行了,记事本什么的都可以用了,目前没发现任何不良反应,继续实验中……

S60 3rd的签名证书系统被破解了!

昨天打算试验一下5月份的a4输入法时,发现自己在symbiansigned上的developer licenese的key找不到了,网站上只能取到颁发后的cer文件,记得以前是可以取到key文件的,而且现在的symbiansigned不对没有publisher id的用户提供证书申请服务了,比较恶心。如果想用最高权限的a4的话就得有相应的证书文件来签名,查看别人讨论时发现60 3版的证书系统被破解了,方法也不是很复杂,好像是用了nokia给开发人员提供的trk真机调试程序改变了系统的某些东西,这样就可以让普通签名的sis包得到最高的执行权限,回来有空试下,希望不要变砖~_~