Thanks for your comments. The links have been added to the post.
Thanks for your comments. The links have been added to the post.
Liuxg
Forum Nokia Qt Application Development Resources
I think for most of the developers, it is a headache to get some SVG pictures during development phase. On S60 3rd edition onwards, SVG is used widely. For most of the developers, they are more familar with BMP and JPG files.
I just found a website, which can easily convert a picture to SVG format. I tested it, and it worked beautifully.
http://www.enetzwerk.de/svg/index2.html
Once you get the converted picture, please use the tool from our SDK installation:
\Symbian\9.1\S60_3rd\S60Tools\svg2svgt\installer
to convert the SVG picture to SVG-T, which is usable by S60 programming. Another useful free tool "Inkscape" can be used to edit and SVG picture:
http://www.inkscape.org/
Liuxg
Forum Nokia Qt Application Development Resources
Attached please find my sample code for retrieving profile information. This is a very low level approach to get the information interested although some of the SDK plug-in APIs are provided:
http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in
The profile engine "CPhoneProfileInfo" has been designed, and it can be extended to have more functions.
Liuxg
Forum Nokia Qt Application Development Resources
Although it is good to use IDE to build our S60 applications, sometimes, it is still very good to build our applications in MS-DOS box since it is much faster and cleaner when releasing our applications.
Please refer to the tool "epocswitch.zip" in my previous post in this thread. It provides a good way to set up the correct environment for each SDk in your computer. Carbide.c++ has a command "Config environment for WINSCW Command line" in its windows group. You may start it by following the steps:
"Start"==>"Programs" ==> "Carbide.c++ v1.3" ==> "Config environment for WINSCW command line"
As we know, it is very tedious to typing the command again and again during compilation. I would strong recommend to write a few script to ease the effort. For example, I created a "b.bat" file into my publich folder called "c:\tools". Its content is as follows:
bldmake bldfiles
In the future, when I build my project, I just go to my folder directory:
\Symbian\9.1\S60_3rd\S60Ex\helloworldbasic\group
Then following by a command "b" without typing the full command "bldmake bldfiles".
Attached please find a few of my commonly used scripts to speed up our build process. A developer is free to use them and modify them.
Liuxg
Forum Nokia Qt Application Development Resources
As we know, finding the meaning of a panic code is very tedious and hard. Now a new tool called "Paniclookup" has been seamlessly integrated into Nokia Carbide.c++ 1.2/1.3 tool. "PanicLookup" is a cool plugin for Carbide.c++(1.2 and 1.3).
Description:
Quote:
When developing for Symbian OS you might have experienced numeric error codes or panics of some sort. Usually you would have to look up the description by manually searching the Symbian documentation, which can be cumbersome and time consuming.
This time is over! Now you will automatically get the panic description to any panic that occurred in the emulator displayed right within Carbide.c++. You simply have to add the PanicLookup plug-in to Carbide.c++ and it will automatically detect any panic that occurs. There are no compromises; you will see exactly the same description that is available in the Symbian OS 9.3 System Panic Reference.
Download it here:
http://www.symbianresources.com/proj...aniclookup.php
or
http://www.symbianresources.com/proj...anicLookup.zip
Liuxg
Forum Nokia Qt Application Development Resources
Sometimes, to find the library coresponding to certain API is very hard when developing an S60 application. Attached please find the class names and libraries cross references for S60 3rd Edtion FP2. For the previous releases, please download in my previous posts in this thread.
Liuxg
Forum Nokia Qt Application Development Resources
欲善其事,先利其器,这里简单减少一下使用carbide.c++进行开发的方法:
1、为项目建立索引(index)
选中项目,鼠标右键->Index->Rebuild
2、建立索引后,使用F3(Open Declaration)可以了解类,函数,变量等的定义
3、建立索引后,使用F4(Open Type Hierarchy)可以了解类(接口)的继承关系
4、建立索引后,使用Ctr+Alt+H(Open Call Hierarchy)可以了解函数之间的调用关系
5、选中项目,鼠标右键->Run CodeScanner检查代码的完整性
6、选中MMP文件,鼠标右键->Run Capabilty Scanner on Project MMP检查项目的Capability
了解以上方法,基本上就可以充分利用carbide.c++工具了
Last edited by green_lu; 2008-03-13 at 04:18.
Gening
IMPOSSIBLE IS NOTHING
Please download the latest error codes from Symbian at the following link:
http://wiki.forum.nokia.com/index.ph...odesLatest.zip
The error codes sometimes are very useful to the developers since they provide some hints when an error happens.
Liuxg
Forum Nokia Qt Application Development Resources
Please download my Symbiansigned webinar at:
http://wiki.forum.nokia.com/index.ph..._-_Webinar.pdf
Liuxg
Forum Nokia Qt Application Development Resources
In the first post, "greate" seems to be a typo.
Since this thread is so popular, is it possible to remove that typo?
Attached please find my sample code for viewing the available fonts in the phone. "TTypefaceSupport" class is used to retrieve all of the fonts. By modifying the sample code, a developer may get more useful information regarding the fonts.
Liuxg
Forum Nokia Qt Application Development Resources
Thanks for Davey's contribution some time ago. Based on his sample code, I have modified his sample code "MyListBox". Attached please find the updated sample code, which has a few fixes, and it can be deployed onto a real device. From this sample, a developer may customize a list control on S60 platform or Symbian OS.
The detailed description of the sample code can be found at:
http://wiki.forum.nokia.com/index.ph...8%28LISTBOX%29
http://www.newlc.com/Subclassing-Lis...n-Symbian.html
http://www.newlc.com/article.php3?id_article=136
Last edited by liuxg; 2008-04-03 at 07:23.
Liuxg
Forum Nokia Qt Application Development Resources
Recently some developers did have the problem in getting their S60 3rd Edition FP2 SDK enabled in their Visual studio tools (2003/2005). Please further read the following wiki article to fix the problem:
http://wiki.forum.nokia.com/index.ph...ds_and_Updates
It is also detailed in my wiki article: S60 3rd Edition application development for dummies.
Liuxg
Forum Nokia Qt Application Development Resources
Attached please find my new sample code "Alr.zip" for "Application level roaming" (ALR). ALR is a new feature on the S60 3rd Edition FP2, and the code can only be compiled on the S60 3rd Edition FP2 SDK.
Basically, on S60 3rd Edition FP2, "Destination" or "SNAP" (Service Network Access Point) should be recommended for connecting a network instead of "IAP" (Internet Access Point) due to the more and more kinds of wireless carriers supported on S60 3rd Edition, especially more WLAN wireless carriers.
In order to ease the smooth transition from one carrier to another, ALR is recommended to be implemented by the S60 3rd Edition application in the application level.
In the sample code, "CAlrEngine" is created, and the following APIs are used:
Connection Settings API
Connection Settings UI API
Classes "RCmManager", "CActiveCommsMobilityApiExt", "RCmDestination" and "CCmApplicationSettingsUi" are used in the sample code to demonstrate the use cases of the APIs.
Liuxg
Forum Nokia Qt Application Development Resources
Attached please find my sample code for retrieving the platform major and minor number. Please be noted the method one "DoGetVersion1L()" only works on the S60 3rd Editin FP2 SDK since "VersionInfo" is a brand new API on S60 3rd Edition SDK FP2. The other method "DoGetVersion2L()" works on all of the releases.
By using the API, a developer can know what platform it is running, and sometimes, the solution is very useful to enable or disable some parts of the code at run-time.
Liuxg
Forum Nokia Qt Application Development Resources