Archived:Application and view IDs changed in S60 2nd Edition initial release (Known Issue)
hamishwillee
(Talk | contribs) m (Removed protection from "KIS000262 - Application and view IDs have changed between S60 platform editions": Merging into Wiki) |
hamishwillee
(Talk | contribs) m (moved Application and view IDs changed in S60 2nd Edition initial release (Known Issue) to Archived:Application and view IDs changed in S60 2nd Edition initial release (Known Issue)) |
||
| (3 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> 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> 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
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Compatibility
Article
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.

