×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Application and view IDs changed in S60 2nd Edition initial release (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
hamishwillee (Talk | contribs)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{KBKI}}
+
{{Archived|timestamp=20120403201212|user=[[User:Lpvalente|Lpvalente]]}}
__NOTOC__
+
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition (initial release)]]
__NOEDITSECTION__
+
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
|colspan = "2"|
+
=====Application and view IDs have changed between S60 platform editions=====
+
|
+
=====KIS000262=====
+
  
|-
+
{{ArticleMetaData <!-- v1.2 -->
|
+
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
=====Overview=====
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|colspan = "2"|S60 ROM applications have changed in S60 2nd Edition. Some of the documented IDs launch different views. The same functionalities require new IDs.
+
|devices= Nokia 6600 3.42.1, Nokia 6630 3.45.113
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|platform= S60 2nd Edition and onwards
 +
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20050707
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|subcategory=
 +
|id= KIS000262
 +
}}
  
|-
+
==Overview==
|
+
{{Abstract|S60 ROM applications have changed in S60 2nd Edition. Some of the documented IDs launch different views. The same functionalities require new IDs.}}
=====Reported against=====
+
|colspan = "2"|S60 2nd Edition and onwards, Nokia 6600 3.42.1, Nokia 6630 3.45.113
+
  
|-
+
==Description==
|
+
=====Date identified=====
+
|colspan = "2"|July 7, 2005
+
 
+
|-
+
|
+
=====Symptoms=====
+
|colspan = "2"|-
+
 
+
|-
+
|
+
=====Detailed description=====
+
|colspan = "2"|
+
 
* Phonebook focused view works differently.
 
* Phonebook focused view works differently.
 
* Calendar application day view works only if the calendar is already open in the background.
 
* Calendar application day view works only if the calendar is already open in the background.
Line 37: Line 37:
 
* Recorder application does not contain Filelist view.<br>View activation is a S60 feature and does not work with Series 80 and Nokia 7710.
 
* Recorder application does not contain Filelist view.<br>View activation is a S60 feature and does not work with Series 80 and Nokia 7710.
  
|-
+
==How to reproduce==
|
+
The sample application MyView "start recording menu" freezes devices compatible with S60 2nd Edition.
=====How to reproduce=====
+
|colspan = "2"|The sample application MyView "start recording menu" freezes devices compatible with S60 2nd Edition.
+
 
+
|-
+
|
+
=====Solution=====
+
|colspan = "2"|The following code starts the recorder and records immediately:<br>// Recorder application UID<br>const TUid KRecorderUid = <nowiki>{</nowiki> 0x100058CA <nowiki>}</nowiki>;<br>// UID for recording view<br>const TUid KRecorderViewUid = <nowiki>{</nowiki> 1 <nowiki>}</nowiki>;<br>// MessageUid which start the recording<br>const TUid KRecorderMessageUid = <nowiki>{</nowiki> 2 <nowiki>}</nowiki>;<br><br>// In AppUi class implementation<br>ActivateViewL(TVwsViewId(KRecorderUid, KRecorderViewUid),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KRecorderMessageUid, KNullDesC8);<br><br>The following code launches the Camera:<br>// Camcorder application UID<br>const TUid KCamcorderUid = <nowiki>{</nowiki> 0x101F857A <nowiki>}</nowiki>;<br>// UID the camera view<br>const TUid KcameraView = <nowiki>{</nowiki> 1 <nowiki>}</nowiki>;<br><br>ActivateViewL(TVwsViewId(KCamcorderUid , KCameraView));<br><br>See also Fetching device model information.
+
  
|-
+
==Solution==
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition]]
+
The following code starts the recorder and records immediately:<br>// Recorder application UID<br>const TUid KRecorderUid = <nowiki>{</nowiki> 0x100058CA <nowiki>}</nowiki>;<br>// UID for recording view<br>const TUid KRecorderViewUid = <nowiki>{</nowiki> 1 <nowiki>}</nowiki>;<br>// MessageUid which start the recording<br>const TUid KRecorderMessageUid = <nowiki>{</nowiki> 2 <nowiki>}</nowiki>;<br><br>// In AppUi class implementation<br>ActivateViewL(TVwsViewId(KRecorderUid, KRecorderViewUid),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KRecorderMessageUid, KNullDesC8);<br><br>The following code launches the Camera:<br>// Camcorder application UID<br>const TUid KCamcorderUid = <nowiki>{</nowiki> 0x101F857A <nowiki>}</nowiki>;<br>// UID the camera view<br>const TUid KcameraView = <nowiki>{</nowiki> 1 <nowiki>}</nowiki>;<br><br>ActivateViewL(TVwsViewId(KCamcorderUid, KCameraView));<br><br>See also Fetching device model information.

Latest revision as of 09:36, 15 June 2012

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Tested with
Devices(s): Nokia 6600 3.42.1, Nokia 6630 3.45.113
Compatibility
Platform(s): S60 2nd Edition and onwards
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 1 (07 Jul 2005)
Last edited: hamishwillee (15 Jun 2012)

Contents

[edit] Overview

S60 ROM applications have changed in S60 2nd Edition. Some of the documented IDs launch different views. The same functionalities require new IDs.

[edit] Description

  • Phonebook focused view works differently.
  • Calendar application day view works only if the calendar is already open in the background.
  • Camera application has been replaced with Camcorder.
  • Recorder application does not contain Filelist view.
    View activation is a S60 feature and does not work with Series 80 and Nokia 7710.

[edit] How to reproduce

The sample application MyView "start recording menu" freezes devices compatible with S60 2nd Edition.

[edit] Solution

The following code starts the recorder and records immediately:
// Recorder application UID
const TUid KRecorderUid = { 0x100058CA };
// UID for recording view
const TUid KRecorderViewUid = { 1 };
// MessageUid which start the recording
const TUid KRecorderMessageUid = { 2 };

// In AppUi class implementation
ActivateViewL(TVwsViewId(KRecorderUid, KRecorderViewUid),
                       KRecorderMessageUid, KNullDesC8);

The following code launches the Camera:
// Camcorder application UID
const TUid KCamcorderUid = { 0x101F857A };
// UID the camera view
const TUid KcameraView = { 1 };

ActivateViewL(TVwsViewId(KCamcorderUid, KCameraView));

See also Fetching device model information.

This page was last modified on 15 June 2012, at 09:36.
116 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×