Posts with the tag 'Symbian'
AutoSisInstaller can help install your favourite applications silently and automatically when you bought a new phone or have a firmware update — just copy everything you need to install to E:\ThinkChange\!

Why to use AutoSisInstaller ?
1, Have many favourite applications to install after a firmware update?
2, Want to try many innovative apps after bought a new phone?
3, Get bored to press many keys to install an applicaton?
How to use:
1, copy all the applications to “E:\ThinkChange\”
2, press “StartInstall” in the AutoInstaller application.
3, there will be a summary after the process is finished.
Another cool usage:
Share with your friend your favourite applications.
Install AutoSisInstaller to the memory card, and just plug your memory card into your friend’s device, all your favourite applications in the E:\ThinkChange\ folder will be automatically installed to his device!
Popularity: 10% [?]
Tags: application, AutoSisInstaller, Silently, Symbian
07月 14th, 2008
From the very first version of FlipSilent on Jan,20, 2008, it has attracted users from 177 countries and got 330K page views, today , it finally get SIGNED!

The main functionality of FlipSilent is to mute the call or alarm when you flip your phone over (by utilizing the accrocelemeters to detect the movement), also it can change the profile based on the position of the phone.The idea of FlipSilent comes from a Video on the S60 site (http://cn.s60.com/main/experience_touchUI_video.html). And Nokia high end phones such as Arte 8800 has preinstalled the same functionality, called “TurnToMute”, also, to the most recent news, Nokia 6210 will also have the same functionality.
Currently, it supports N95, N95 8GB and N82. Welcome to comments on how to improve, a thank you would be good motivation for my future work
The signed version will be available on my new site soon: http://thinkchange.cn !
Popularity: 12% [?]
Tags: FlipSilent, Signed, Symbian
07月 13th, 2008
When using a setting list, if you change to small font, the text will be displayed incorrectly! (Menu -> Tools -> Settings -> General -> Personalization -> Display -> Font size ).
This problem appears only on the Numbered Style Setting list, (EAknSettingItemNumberedStyle). The only way to make it look right should be not using this style…

Popularity: 14% [?]
Tags: landscape, setting list, small font, Symbian
06月 25th, 2008
Normally you should write a server to run in the background.
Anyway, with a normal app, you can do this by adding one line to your <appname>_reg.rss file.
RESOURCE APP_REGISTRATION_INFO
{
app_file=”hello_0xE67432E1″;
localisable_resource_file = qtn_loc_resource_file_1;
localisable_resource_id = R_LOCALISABLE_APP_INFO;
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
hidden=KAppIsHidden;
}
Popularity: 15% [?]
Tags: app icon, hide, menu, Symbian
06月 15th, 2008
Got the following code snippet from forum nokia wiki , one thing to take care of is that you need the SwEvent capability when there is a browser already running!
void CBrowserAppUi::LaunchBrowserL(const TDesC& aUrl)
{
const TInt KBrowserUid = 0×10008D39;
TUid id( TUid::Uid( KBrowserUid ) );
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() )
{
HBufC8* param = HBufC8::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
//Need the WsEvent Capability
task.SendMessage( TUid::Uid( 0 ), *param ); // Uid is not used
CleanupStack::PopAndDestroy(param);
}
else
{
HBufC16* param = HBufC16::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect());
TThreadId id;
appArcSession.StartDocument( *param, TUid::Uid( KBrowserUid), id );
appArcSession.Close();
CleanupStack::PopAndDestroy(param);
}
}
Popularity: 15% [?]
Tags: api, browser, SwEvent, Symbian
06月 14th, 2008
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: 25% [?]
Tags: Active Object, CActive, Panic, Symbian, ViewSrv 11
04月 23rd, 2008
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: 32% [?]
Tags: Express, Signed, Symbian, tips, VibrateCall
04月 1st, 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安装过程中就会显示:

Popularity: 28% [?]
Tags: pkg, product id, specific device, Symbian
03月 13th, 2008
主要有两个步骤:
1,使用Startup List Management API实现开机自启动
2,重载AppUI中的ProcessCommandParametersL()函数确定是否关闭(自启动后关闭==不启动)
1.1 在data目录下创建一个boot resource file,名字为XXXX.rss, 其中XXXX为UID3。
#include <startupitem.rh>
RESOURCE STARTUP_ITEM_INFO startexe
{
executable_name = \\sys\\bin\\programToStart.exe; //换成你程序名字
recovery = EStartupItemExPolicyNone;
}
1.2更新你的MMP文件
SOURCEPATH ..\data
START RESOURCE XXXX.rss
END
1.3更新你的PKG文件,中括号不要丢了!
“\epoc32\data\yyyy.rsc”- “c:\private\101f875a\import\[yyyy].rsc”
有以下几点限制:必须装在c盘,必须用开发者证书。
如果一切顺利,程序可以自己随着手机开机而自己启动了,但是如何让用户可以在程序中设置让程序不要随机启动呢?
2.1修改程序的注册文件YourAppName_reg.rss:
#include <appinfo.rh>
#include <uikon.rh>
RESOURCE APP_REGISTRATION_INFO
{
//其他原有代码
opaque_data = r_startup_detect;
}
RESOURCE NUMBER_INT8 r_startup_detect
{value = 1;}
2.2 重载AppUI中的ProcessCommandParametersL()函数
Bool CMyAppUi::ProcessCommandParametersL( CApaCommandLine &aCommandLine )
{
if(aCommandLine.OpaqueData().Length() > 0)
{
// 用户手动启动,存在OpaqueData
}
else
{
// 程序自动启动,存在OpaqueData。
// 可以在这里判断是否设置为不自动启动, 调用Exit()函数退出
}
return CEikAppUi::ProcessCommandParametersL( aCommandLine );
}
Popularity: 23% [?]
Tags: Symbian, 开机, 程序, 自启动, 设置
01月 4th, 2008
今天浏览ASD Member Area的时候偶然发现,wiley买书可以打6.5折。随便浏览了一下,无意中发现一本好书:
《Smartphone Operating System Concepts with Symbian OS: A Tutorial Guide》

This book is written as an introduction to operating systems, with a focus on mobile phones and, specifically, Symbian OS. In
addition to simply presenting and discussing operating system concepts, this book is accompanied by exercises that can be performed in the context of laboratory or experimental assignments.
国外的书就是好,注重实践!有空一定要仔细读一下。所有的例子和代码可以从这里下载:http://www.wiley.com/legacy/wileychi/jipping/
Popularity: 17% [?]
Tags: book, Symbian
01月 2nd, 2008