Stay Hungry. Stay Foolish.
Sina Weibo:
http://weibo.com/cxt728
QQ Weibo:
http://t.qq.com/Cxt_programmer
For the fans of Visual studio, the IDE can use be used together with Visual Assist X. A developer just recommended to modify some settings to make the VA to recognize some of the file types:
共享一个自己验证过的通过VS+VA定位RSS等资源文件中符号的方法:
在Visual Studio中如何让VA解析自定义扩展名文件?
答:对于Vs.net2005/2008,比如要让VA把.rss当.cpp来解析,同时把.hrh当.cpp来解析,则可按以下操作:
(1)关闭所有IDE,打开注册表编辑器,找到:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Languages\File Extensions\
添加自己的扩展名支持,可以参考.cpp项。
(2)找到注册表以下位置:
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet8
根据扩展名的类型将其放入到下面对应的子项中:
ExtSource -- 源文件
ExtResource -- 资源文件
ExtHeader -- 头文件
...
(3)打开Vs.net2005->VAssistX->Visual Assist X Options->Performance,在右边点击Rebuild,然后重启IDE。
注:(1)有人说首先需要在Vs.net->Tools->Options->Text Editor->File Extension中添加需要设置的扩展名,但我怎么发现添加了反而不行?对于不需要使用VA的类型,这种添加还是可以用的。
使用VC6+Visual Assist X开发Symbian 程序,相信是很多人的标准配置,但是由于Visual Assist X是为标准C++设计的,所以并不支持Symbian的自定义类型,这里介绍一种官方的方法可以使Visual Assist X识别.hrh和.rss等类型的文件。
这种方法可以使你的Visual Assist X识别不同类型扩展名的C/C++文件。
(2)注意添加扩展名时需要带分号,最后一个也不例外。
对于VC++ 6.0:
退出你的开发环境,然后使用regedit将扩展名增加到:
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++\FileExtensions.
如果你的扩展名表示一个文件头,使用regedit增加扩展名到以下位置的ExtHeader.注意包括点和分号。
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VA6
如果你的扩展名表示一个源文件,使用regedit增加扩展名到以下位置的ExtSource.注意包括点和分号。
HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VA6
其它步骤同Vs.net 2005。
Liuxg
Forum Nokia Qt Application Development Resources
Forum Nokia just published a new S60 5th Edition SDK. It has the following features:
http://www.forum.nokia.com/info/sw.n..._One_SDKs.html
The full version of the S60 5th Edition SDK is now available. This release offers the following new features:
The standard three softkeys in the emulator’s keypad-off display.
Support for the Chinese, Arabic, and Urdu languages. (Support for the Arabic and Urdu languages is provided by SDK plug-ins.)
Start-up progress indicator, which is visible when the emulator is minimised.
A number of issues have been resolved and deficiencies removed (see release notes for details).
Supported runtimes
The all-in-one S60 SDKs support development of applications for the following runtimes:
Symbian C++.
Open C/C++.
Java™ technology.
Web Runtime (WRT).
Python (using the Python for S60 SDK plug-in).
Supported editions and feature packs
All-in-one S60 SDKs are available for the following editions and feature packs:
S60 5th Edition.
S60 3rd Edition, Feature Pack 2.
Liuxg
Forum Nokia Qt Application Development Resources
I just found back a very old thread posted by my ex-colleague. He created a sample code on supper distribution. Today, I still find that it could be very useful to some of the developers.
By using supper distribution, a user is able to share his/her application over the bluetooth. The link could be found at:
http://discussion.forum.nokia.com/fo...d.php?t=138248
Liuxg
Forum Nokia Qt Application Development Resources
For some of the preinstalled applications, it is normally put "E:" drive letter in the .pkg file to make the "PA" sis file. However, due to incoming of some new phones like N96, N97 etc, the phones also have the "F:" drive available for use (memory card). The internal memory disk letter could be "E:". In order to make the preinstalled application work for both "E:" and "F:" drive at the same time. It is recommend using "!:" to take care of the both cases in the .pkg file. The reason for this is that the PA sis file could be used in both "E:" and "F:" drive depending on the scenarios used!
Liuxg
Forum Nokia Qt Application Development Resources
I just found a translation website from one language to another. Thanks for a developer's finding. The website is at:
http://translate.google.com/translate_t?hl=en#
Liuxg
Forum Nokia Qt Application Development Resources
The Developer edition in version 2.0 does not install a license file. Some users who installed Developer are receiving error messages that no license file exists. To avoid this problem, you can install the time locked Pro license included in this post.
More detailed information can found at:
http://discussion.forum.nokia.com/fo...d.php?t=152459
Liuxg
Forum Nokia Qt Application Development Resources
When we are finalizing our project, it is the time for us to add the context help to our application, and this is also a requirement for Symbian signing. WORD is normally a tool for editing the rtf help file. The exact example code can be found in your SDK installation:
\Symbian\S60_3rd_FP2_SDK\S60CppExamples\HelpExample
I got the following error during my compilation after I had changed my .rtf file using WORD 2003:
ERROR: RCMake failed: (Help) cshlpcmp failed with code 255 while compiling file C:\myproject\help\myproject.cshlp. (Reason: Unknown error)
I wa frustrated many times by this error. It used to be working well when I used WORD 2000.
A workaround solution to the problem is to to remove the "{\*\wgrffmtfilter 013f}” string after opening it using Notepad. The detailed decription can be found at:
http://casper1314.spaces.live.com/
Liuxg
Forum Nokia Qt Application Development Resources
This e-learning consists of six hands-on modules that help you get started with the development of mobile applications in Qt, Web Runtime, and Flash Lite. The modules explain the development environment and the key aspects of the language. Each module has a hands-on section with step-by-step instructions on how create an application. The modules also contain links pointing to relevant information:
http://www.forum.nokia.com/info/sw.n...s-on_Labs.html
Liuxg
Forum Nokia Qt Application Development Resources
There is cross table for Code snippets for common use cases:
http://wiki.forum.nokia.com/index.ph...mmon_use_cases
It is really very useful table for developers.
Liuxg
Forum Nokia Qt Application Development Resources
hello people, i am think in develop a small aplication for nokia 5800 xpress music to turn on flash.
my idea is the phone function as flashlight.I know that there is this application but I do it to achieve and in Code snippets table, i can't find the header of functions which work with flash of camera.
somebody knows it? thanks
Hi,
你给得那个发送中文短信的例子还是不好用,我测试环境是3rd fp2,当我发送数字或字母的时候,显示正常,但是当我发送中文的时候接收方的内容是空。使用的测试工具是ncf。
PS:我修改了一下serviceSettings.SetCharacterSet( TSmsDataCodingScheme::ESmsAlphabetUCS2 ),把这个方法放到了 sendOptions->CopyL(serviceSettings)之后,要不然的话发送数字,接受方的内容都是空。
Best Regard!
Zhou
Stay Hungry. Stay Foolish.
Sina Weibo:
http://weibo.com/cxt728
QQ Weibo:
http://t.qq.com/Cxt_programmer