1 Attachment(s)
Re: 3rd Edition application development
Attached please find a revised version of "VRex" sample (Video recording and playing), which was published on Forum Nokia website. Unfortunately, the code does not work on N93/N93i devices due to not enough capability.
In order to make the sample working, a developer needs to get a developer certificate with "MultimediaDD" capability, which is classified as of of the manufacture capabilities. A developer needs to have a justifiable business reason in order to apply for "MultiMediaDD" capabilty. More information can be found at:
[url]www.symbiansigned.com[/url]
1 Attachment(s)
Re: 3rd Edition application development
Attached please find a environment switch tool available in previous SDK installations. Unfortunately, the tool is not available in the latest SDK installations.
By using the tool, a developer may easily switch to different SDK environment (MS-DOS box). Sometimes, this is very useful to make a clean build or do a release build in MS-DOS box although some IDE tools already have build function built-in.
Re: 3rd Edition application development
My wiki articles: S60 3rd edition application development basics:
[url]http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development[/url]
[url]http://wiki.forum.nokia.com/index.php/%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91_S60_3rd_Edition[/url]
How to find out the missing capabilities for an application:
[url]http://wiki.forum.nokia.com/index.php/How_to_troubleshoot_Platform_Security_issues[/url]
S60 platform: S60 platform Basics:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/bceaffad-1807-43b6-9cd9-8519b4794b5c/S60_Platform_Basics_v1_0_en.pdf.html[/url]
S60 Common API design guidelines:
[url]http://s60wiki.nokia.com/S60Wiki/Common_API_design_guidelines[/url]
Please find the latest Symbian error code at the following website:
[url]http://developer.symbian.com/main/downloads/papers/error_codes/ErrorCodesLatest.zip[/url]
Forum Nokia technical library can be found at:
[url]http://forum.nokia.com/document/Forum_Nokia_Technical_Library/contents/FNTL/fn_technical_library.htm[/url]
Forum Nokia C++ developer's library:
[url]http://www.forum.nokia.com/document/Cpp_Developers_Library/[/url]
Sample codes from "Developing Series 60 Applications" book:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/3e056686-128a-447e-9b4d-20c621d25fa6/EMCCSoft_S60_2x.zip.html[/url]
"Code and Examples" from Forum Nokia website:
[url]http://www.forum.nokia.com/main/resources/technologies/symbian/code_and_examples.html[/url]
Forum Nokia eLearning coursewares:
[url]http://www.forum.nokia.com/main/technical_services/training/elearning_curriculum.html[/url]
Forum Nokia eLearning webinars:
[url]http://www.forum.nokia.com/main/technical_services/training/webinar.html[/url]
Forum Nokia eLearning screencasts:
[url]http://www.forum.nokia.com/main/technical_services/training/screencasts.html[/url]
Forum Nokia Chinese eLearning curriculum:
[url]http://www.forum.nokia.com/main/technical_services/training/Chinese_elearning_curriculum.html[/url]
Symbian/S60 code examples on Wiki website:
[url]http://wiki.forum.nokia.com/index.php/Portal:Symbian_C%2B%2B_Code_Examples[/url]
Symbian/S60 code examples in Chinese language on Wiki website:
[url]http://wiki.forum.nokia.com/index.php/Portal:%E4%B8%AD%E6%96%87_Wiki[/url]
Freeware Hex editor XVI32, which is useful for removing the first 3 unusable bytes in the Chinese resoure file (UTF-8):
[url]http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm[/url]
Symbian phone information can be found at:
[url]http://www.symbian.com/phones/index.html[/url]
Nokia S60 devices informtion can be found at:
[url]http://www.forum.nokia.com/devices/matrix_all_1.html[/url]
Symbian developer tools:
[url]http://developer.symbian.com/main/tools/devtools/index.jsp[/url]
[url]http://developer.symbian.com/main/tools/devtools/code/index.jsp[/url]
Symbian developer home:
[url]http://developer.symbian.com/main/index.jsp[/url]
UIQ Forum:
[url]http://developer.uiq.com/forum/[/url]
S60 website:
[url]www.s60.com[/url]
Symbian website:
[url]www.symbian.com[/url]
Symbian developer Forum:
[url]http://www.symbiandevnet.com/forum/index.jspa[/url]
Developer Forum:
[url]www.newlc.com[/url]
Chinese developer Forum:
[url]http://www.sf.org.cn/[/url]
[url]http://www.devdiv.net/[/url]
Forum Nokia Champion Beover1984's home
[url]http://blog.csdn.net/beover1984/archive/2007/08/28/1761757.aspx[/url]
Forum Nokia Chanpion antonypranata's home page
[url]http://antonypranata.com/[/url]
Porting from S60 2nd edition to S60 3rd edition:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/6190aad6-3b3b-4a6a-a53a-221e61c94248/S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf.html[/url]
Symbian signed:
[url]www.symbiansigned.com[/url]
S60 Nokia testing:
[url]http://www.forum.nokia.com/main/technical_services/testing/index.html[/url]
Nokia open source codes from developers:
[url]http://opensource.nokia.com/[/url]
Nokia remote device access:
[url]http://www.forum.nokia.com/main/technical_services/testing/rda_introduction.html[/url]
=============== Porting =====================================
Open C plug-in:
[url]http://www.forum.nokia.com/main/resources/technologies/open_c/index.html[/url]
Using C code in Symbian:
[url]http://www.newlc.com/Using-C-code-in-symbian.html[/url]
S60 platform: Porting from Windows mobile:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/09405259-61de-482f-8245-529ae6fa7bd4/S60_Platform_Porting_from_Windows_Mobile_with_Example_v2_0_en.zip.html[/url]
Series 80 platform: porting to S60 (with example)
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/73553835-8078-4f48-bd7a-1382411ed840/Series_80_Platform_Porting_To_Series_60_(with_example)_v1_0_en.zip.html[/url]
S60 platform: Porting from Palm OS v1.1
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/1b1edbb1-180e-4631-8ac0-b7157d00fd57/Series_60_Platform_Porting_From_Palm_OS_v1_1_en.pdf.html[/url]
S60 platform: Porting from 2nd to 3rd Edition v1.1
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/6190aad6-3b3b-4a6a-a53a-221e61c94248/S60_Platform_Porting_from_2nd_to_3rd_Edition_v1_1_en.pdf.html[/url]
S60 platform: Porting from UIQ (with example)
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/8b1d2ca4-1550-49d2-89d0-28159f6118d1/Series_60_Developer_Platform_Porting_From_UIQ_With_Examples_v1_1_en.zip.html[/url]
S60 platform: Comparison of ANSI C++ and Symbian C++ v2.0
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/36f953bf-59eb-4f41-9e60-f51f494c5d14/S60_Platform_Comparison_of_ANSI_Cpp_and_Symbian_Cpp_v2_0_en.pdf.html[/url]
Porting the positive experience v1.0
[url]http://www.forum.nokia.com/main/html_readers/porting_the_positive_experience.html[/url]
S60 platform: Source and binary compatibility v1.6
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/4ead12f5-bad9-411c-a933-ea328fa9e5a0/S60_Platform_Source_and_Binary_Compatibility_v1_6_en.pdf.html[/url]
============ Symbian signed ====================================
China Symbian application certifier: Flander
[url]http://www.forum.nokia.com.cn/sch/main/flander.html[/url]
Test house in Shanghai China: mPhasis
[url]www.mphasis.com.cn[/url]
Test houses in the world:
[url]https://www.symbiansigned.com/app/page/overview/testhouses[/url]
Symbian signed portal:
[url]www.symbiansigned.com[/url]
UID definitions:
[url]https://www.symbiansigned.com/app/page/dev/uidfaq[/url]
Symbiansigned process
[url]https://www.symbiansigned.com/app/page[/url]
[url]https://www.symbiansigned.com/SymbianSigned-General2006_v1_1.pdf[/url]
[url]https://www.symbiansigned.com/How_has_Symbian_Signed_evolved_with_Symbian_OS_v9.pdf[/url]
[url]https://www.symbiansigned.com/how_do_I_get_my_application_signed.pdf[/url]
Test criterial:
[url]https://www.symbiansigned.com/app/page/overview/testcriteria[/url]
Nokia test (for all of the preinstalled applications)
[url]http://www.forum.nokia.com/main/technical_services/testing/index.html[/url]
Freeware signing:
[url]www.symbiansigned.com/app/page/overview/freewareFaq[/url]
[url]www.symbiansigned.com/app/page/overview/freeware[/url]
============= UI design =============================
Creating custom control:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/ee535555-7222-4d8d-b45d-8dc2c9d44513/Symbian_OS_Creating_Custom_Controls_v1_0_en.pdf.html[/url]
S60 platform UI style:
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/0ef53656-8e0d-48f2-8b67-1ebed12d526d/S60_Platform_Avkon_UI_Resources_v1_1_en.zip.html[/url]
============ Messaging links ==========================
S60 Platform: MMS Example v2.0
[url]http://www.forum.nokia.com/document/Forum_Nokia_Technical_Library/contents/FNTL/Cpp_messaging_guides_and_examples.htm[/url]
S60 Platform: SMS Example v2.0
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/5f17ccde-249e-4c7d-ace9-980095ea5db1/S60_Platform_SMS_Example_v2_0_en.zip.html[/url]
S60 Platform: POP/IMAP Example v1.1 -
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/438fe5a5-71cc-4138-a6b3-f61e79e73e95/S60_Platform_POP_IMAP_Example_v1_1.zip.html[/url]
Series 60 Developer Platform 1.0/2.0: Creating Custom Message Type Modules (With Example)
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/39462a8f-35dd-4a21-8dc2-8d94654e390d/Series_60_DP_1_0_2_0_Creating_Custom_MTMs_v1_0_en.zip.html[/url]
Series 60 Developer Platform: Introduction To Messaging Applications For C++ Developers v1.1
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/5fa96e2b-8bee-44fd-900e-f89715b593b8/Series_60_Developer_Platform_Intro_To_Messaging_v1_1_en.zip.html[/url]
Designing MMS Client Applications for Series 60
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/a09d762d-9362-458e-a8f3-5b33d6eab5db/Designing_MMS_Client_Applications_for_Series_60_v1_0.pdf.html[/url]
Series 60 Developer Platform 1.0: Remote Camera Example
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/4e62c762-271a-40dd-8dc9-a71029f5d75f/RemoteCam_app.zip.html[/url]
Series 60 Developer Platform 1.0: SendAs Example
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/add8a9c2-9565-4b3b-ba5c-2d1cead0d6b4/SendAs_Example_v1_0.zip.html[/url]
===================== Debugging ===================================
Carbide on-device debugging
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/f79a3587-9e51-42f7-b24b-0b960c774dd5.html[/url]
CodeWarrior on-device debugging
[url]http://www.forum.nokia.com/info/sw.nokia.com/id/e08ac754-e45f-44ad-bb32-4661b5c23b36.html[/url]
===================== S60 SDKs ====================================
S60 SDK downloads:
[url]http://www.forum.nokia.com/main/resources/tools_and_sdks/listings/symbian_cpp_tools.html[/url]
S60 SDK off-line registration:
[url]http://www.forum.nokia.com/main/general/offline_registration.html[/url]
Re: 3rd Edition application development
To list the current platform security attribute of a target release binary built, call the following:
elftran.exe -dump s 'binary_file'
The same tool can be used for modifying the security attributes of the binary, e.g. modifying the PlatSec? capabilities list:
elftran.exe -capability "ReadDeviceData WriteDeviceData?"
"petran" tool also can be used to dump the security information.
1 Attachment(s)
Re: 3rd Edition application development
Attached please find a tool for extracting files from a .sis file. The tool was found from "NewLC" website:
[url]http://newlc.com/UnSIS.html[/url]
or from Symbian website:
[url]http://developer.symbian.com/main/tools/devtools/distribute/[/url]
Re: 3rd Edition application development
Since a self-signed certificate is only valid for 6 month, the signed sis file cannot be used any more after 6 months. Hereafter comes the workaround solution:
Download setup.exe from [url]http://www.cygwin.com[/url].
Installation: run setup.exe and when installing, don't forget to
include "openssl". Use the default settings for all other elements.
Run "Cygwin Bash Shell" which will bring up a DOS window, then run
the following three commands:
1) openssl genrsa -des3 -out test.key 1024
This generates the private key (test.key), here you need to give the passphrase.
2) openssl req -new -key test.key -out test.csr
This is an intermediate step, the certificate signing request is created.
You need to enter some information about the certificate.
3) openssl x509 -req -days 10950 -in test.csr -signkey test.key -out test.cer
This generate the self-signed certificate (test.cer).
Now you can use the test.key and test.cer in Carbide UI and it's valid for 30 years!
Re: 3rd Edition application development
hi liuxg!
i want to use your LounchJAVA.zip to lounch a JAVA program in 2nd(6680),but it doesn't work.could you help me?
thanks.
[url]http://discussion.forum.nokia.com/forum/showthread.php?p=329650#post329650[/url]
Re: 3rd Edition application development
For second edition, you may have the following method to launch your Java application. Once a Java application has been successfully installed, then there will be a unique UID for the application generated for the installed Java application. Please use the following method:
TFileName appName=_L("C:\\system\\apps\\[101c1d86]\\[101c1d86].APP");
CApaCommandLine* cmdLine=CApaCommandLine::NewLC();
cmdLine->SetLibraryNameL( appName );
cmdLine->SetCommandL( EApaCommandRun );
RApaLsSession ls;
User::LeaveIfError( ls.Connect() );
CleanupClosePushL(ls);
User::LeaveIfError( ls.StartApp(*cmdLine) );
CleanupStack::PopAndDestroy( 2 ); // ls and cmdLine
where "101c1d86" is the generated UID for the Java application. You may use a file browser to find the UID in your phone after your Java application has been successfully installed.
2 Attachment(s)
Re: 3rd Edition application development
There are some good tools for the Visual studio fans. Attached please find some good tools, which can be integrated into Visual studio seamlessly. By using the tool, a developer may see the Symbian data types like TDesC, TPtr, TInt etc in customized colors in the Visual studio. Meanwhile, when debugging, a developer may see the data member values in the data types.
By using the tool "Clindex.exe", a developer may produce a HTML document for the cross referencing of API and libraries.
All of the tools can be found at the following pages:
[url]http://www.emccsoft.com/devzone/[/url]
How to view all descriptor types (and others) in VC6 debugger
[url]http://www.newlc.com/How-to-view-all-descriptor-types.html[/url]
Re: 3rd Edition application development
Dear Liuxg,
Really great source of informations with such a long thread. :)
I have one correction. First two links in the [URL="http://discussion.forum.nokia.com/forum/showpost.php?p=320594&postcount=18"]post#18[/URL] are truncated.
I guess you wanted to point:
[url]http://wiki.forum.nokia.com/index.php/S60_3rd_Edition:_Application_Development[/url]
[url]http://wiki.forum.nokia.com/index.php/%E5%BA%94%E7%94%A8%E5%BC%80%E5%8F%91_S60_3rd_Edition[/url]
Kiran.
Re: 3rd Edition application development
hi,
the descriptor types viewing in vc 6 is articled in newlc way back..
[url]http://www.newlc.com/How-to-view-all-descriptor-types.html[/url]
[url]http://www3.symbian.com/faq.nsf/0/36DCB5B2E98D214980256A570051B91F?OpenDocument[/url]
[url]http://www.newlc.com/How-to-view-all-descriptor-types.html[/url]
need to check clindex.exe wht it does exactly..
Regards,
Mateen Maldar
Re: 3rd Edition application development
This is actually a good reference thread.
It should also be duplicated in the English forums as well.
Nice work liuxg.
--Mayur.
Re: 3rd Edition application development
[QUOTE=mayur_24;332055]
It should also be duplicated in the English forums as well.
[/QUOTE]
It has been already. ;) A second most sticky.
[url]http://discussion.forum.nokia.com/forum/showthread.php?t=113204[/url]
Kiran.
Re: 3rd Edition application development
To some developers, it could be very useful to get the model name of the phone. Here comes the tip. A developer may read the following text files in the ROM image:
z:\resource\versions\model.txt
or
Lanaguages supported:
z:\resource\bootdata\language.txt
or software revision:
z:\resource\versions\sw.txt
1 Attachment(s)
Re: 3rd Edition application development
Attached please find a sample code regarding key capturing on S60 3rd edition. In order to capture keys when application is running in the background, a developer needs to sign the sample application with a developer certificate. The certificate should have the "SWEvent" capability.