Archived:Application and view IDs changed in S60 2nd Edition initial release (Known Issue)
m (1 revision(s)) |
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)) |
||
| (9 intermediate revisions by 4 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 --> |
| − | | | + | |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]]) --> |
| − | | | + | |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.}} | |
| − | + | ||
| − | + | ||
| − | + | ==Description== | |
| − | + | ||
| − | ==== | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
* 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 36: | 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. | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ==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. | |
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.

