×
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 update - Fix metadata etc)
hamishwillee (Talk | contribs)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Archived|timestamp=20120403201212|user=[[User:Lpvalente|Lpvalente]]}}
 +
[[Category:Known Issue]][[Category:Symbian C++]][[Category:S60 2nd Edition (initial release)]]
 +
 
{{ArticleMetaData <!-- v1.2 -->
 
{{ArticleMetaData <!-- v1.2 -->
 
|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]]) -->
Line 26: Line 29:
  
 
==Overview==
 
==Overview==
S60 ROM applications have changed in S60 2nd Edition. Some of the documented IDs launch different views. The same functionalities require new IDs.
+
{{Abstract|S60 ROM applications have changed in S60 2nd Edition. Some of the documented IDs launch different views. The same functionalities require new IDs.}}
  
 
==Description==
 
==Description==
Line 39: Line 42:
 
==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 (initial release)]]
 

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.
88 page views in the last 30 days.
×