×

Discussion Board

Page 5 of 11 FirstFirst 1234567891011 LastLast
Results 61 to 75 of 159
  1. #61
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    Thanks for your comments. The links have been added to the post.
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  2. #62
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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 <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  3. #63
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  4. #64
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  5. #65
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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 <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  6. #66
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  7. #67
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    537

    Re: 3rd Edition application development

    欲善其事,先利其器,这里简单减少一下使用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

  8. #68
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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 <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  9. #69
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    Please download my Symbiansigned webinar at:

    http://wiki.forum.nokia.com/index.ph..._-_Webinar.pdf
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  10. #70
    Regular Contributor
    Join Date
    Jun 2007
    Posts
    59

    Smile Re: 3rd Edition application development

    In the first post, "greate" seems to be a typo.
    Since this thread is so popular, is it possible to remove that typo?

  11. #71
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  12. #72
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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
    Attached Files Attached Files
    Last edited by liuxg; 2008-04-03 at 07:23.
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  13. #73
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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 <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  14. #74
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

  15. #75
    Super Contributor
    Join Date
    Mar 2003
    Location
    Beijing
    Posts
    3,609

    Re: 3rd Edition application development

    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.
    Attached Files Attached Files
    Liuxg
    Forum Nokia <a href="http://wiki.forum.nokia.com/index.php/Qt_开发"><font color="red">Qt Application Development Resources</font></a>

Similar Threads

  1. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39
  2. Replies: 0
    Last Post: 2009-01-07, 11:49
  3. Replies: 1
    Last Post: 2008-11-21, 12:12
  4. Who to start UI development in Series 60 5th edition??
    By rohanwaugh in forum Symbian User Interface
    Replies: 3
    Last Post: 2008-11-03, 06:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×