Namespaces
Variants
Actions
Revision as of 09:46, 15 June 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Capability issues in Notepad Library API (Known Issue)

Jump to: navigation, search
Archived.png
Archived: 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}}.

Article Metadata

Tested with
Devices(s): Nokia N95

Compatibility
Platform(s): S60 3rd Edition (initial release) and FP1

Article
Keywords: Notepad Library API, CNotepadApi
ExecReadOnlyTextViewerL, ExecTextEditorL
Created: User:Technical writer 1 (22 Feb 2008)
Last edited: hamishwillee (15 Jun 2012)

Description

CNotepadAPI::ExecReadOnlyTextViewerL requires the following capabilities: ReadDeviceData, WriteDeviceData, ReadUserData, and WriteUserData. This is not documented.

CNotepadAPI::ExecReadOnlyTextViewerL and ExecTextEditorL are used to show a text string in the Notepad application. The CNotepadAPI::ExecTextEditorL function requires the same four capabilities to work fully. The function can be executed with the None capability but the application will crash if the user selects the Find operation from Notepad's menu.

How to reproduce

CNotepadApi *note = CNotepadApi::NewLC();
_LIT(text,"Some very long text, Some very long text ");
note->ExecReadOnlyTextViewerL(text,_L("TITLE"),_L("DELETE?"));
CleanupStack::PopAndDestroy(note);

Solution

Add WriteDeviceData, ReadUserData, and WriteUserData capabilities. The issue is expected to be fixed in S60 3rd Edition, FP2 devices and SDK.

104 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved