Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 12:15, 24 August 2007.

KIS000591 - UIDs for some S60 applications are device dependent

From Forum Nokia Wiki


UIDs for some S60 applications are device dependent
KIS000591
Overview
UIDs for certain S60 applications, for example Camera/Camcorder, can be different between devices within a S60 Edition (or even within a Feature Pack). This is relevant when trying to launch external application views, or using APIs that require application UIDs to be specified, such as the New File Service Client API.
Category
Symbian C++
Subcategory
Camera & Video
Reported against
S60 3rd Edition
Date identified
February 22, 2007
Symptoms
-
Detailed description
The New File Service API for S60 3rd Edition can be used for recording video, audio, and capturing images.
This API is not part of the official S60 SDK but can be found in the Extensions plug-in package #1 for S60 3rd Edition SDK for Symbian OS, for C++, MR. Note that Nokia is not giving any binary compatibility promise for these APIs; neither between platform versions or within a platform version.
The Camera/Camcorder application UID is not the same for all S60 3rd Edition devices. This causes problems when using the CNewFileServiceClient::NewFileL() function. An example of API usage:
    CDesCArray* selectedFiles = new (ELeave) CDesCArrayFlat(4);
    CNewFileServiceClient* fileClient = NewFileServiceFactory::NewClientL();
    TBool createOK = EFalse;
    TBool multiFileSelection = EFalse;
    //...

    CNewFileServiceClient* fileClient = NewFileServiceFactory::NewClientL();
    createOK = fileClient->NewFileL(
        KUidCamcorder,
        *selectedFiles,
        paramList,
        ENewFileServiceImage, // Note: ENewFileServiceImage is also used for video recording.
        multiFileSelection );
    //...
UIDs for the different camera applications are:
Nokia N73 (and other Nseries devices): 0x101FFA86
Basic S60 Camcorder app. UID: 0x101F857A
Required capability: WriteDeviceData
How to reproduce
-
Solution
The UID for a application supporting a specified MIME type can be resolved at run time with RApaLsSession API, see the documentation for:
    TInt RApaLsSession::AppForDataType(const TDataType &aDataType, TUid &aAppUid);
See also:
S60 Platform: Application views available at www.forum.nokia.com
Related Discussions
Thread Thread Starter Forum Replies Last Post
Register hanhchung General Symbian C++ 1 2003-06-16 09:31
Question about N810 Internet Tablet and S60 platform milu07 General Discussion 1 2008-04-11 20:52
Virtual Audio drivers knihar General Symbian C++ 2 2007-06-16 11:50
Install a sis file on a N80 phone kaiten-sushi General Symbian C++ 20 2007-02-06 12:24
UID in carbide.c++ cassioli Carbide.c++ and CodeWarrior Tools 8 2007-01-18 16:46
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX