×
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
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:KnowledgeBase) - now using Template:ArticleMetaData)
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Fix metadata etc)
Line 1: Line 1:
{{KBKI}}
+
{{ArticleMetaData <!-- v1.2 -->
__NOTOC__
+
__NOEDITSECTION__
+
{{ArticleMetaData
+
|id=KIS000262
+
|platform=S60 2nd Edition and onwards
+
|devices=Nokia 6600 3.42.1, Nokia 6630 3.45.113
+
|category=
+
|subcategory=
+
|creationdate=July 7, 2005
+
|keywords=
+
 
+
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
+
|devices= Nokia 6600 3.42.1, Nokia 6630 3.45.113
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
+
|platform= S60 2nd Edition and onwards
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) -->
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|author=[[User:Technical writer 1]]
+
|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
 
}}
 
}}
  
Line 33: Line 38:
  
 
==Solution==
 
==Solution==
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.
+
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.
  
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition]]
+
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition (initial release)]]

Revision as of 04:07, 20 March 2012

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 (20 Mar 2012)

Contents

Overview

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

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.

How to reproduce

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

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.

176 page views in the last 30 days.