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 13:09, 24 June 2008.

Item Finder API

From Forum Nokia Wiki

Note!
This API is not part of the public SDK. It can be found in the SDK API Plug-in.


APIPurpose

Plugin utility used for automatic tags ( http, email, phone numbers )

Header:

#include <aknitemfinder.h>

Use cases

The CAKnItemFinder class provides the functionality of highlighting, selecting and retrieving items like phone number, URL, http address in text viewer editors.

Example code

iAutoFinder = CAknItemFinder::NewL(); 
//Must be called before editor creation in order to have effect
iAutoFinder->SetFindModeL(CAknItemFinder::EPhoneNumber |
                          CAknItemFinder::EUrlAddress |
                          CAknItemFinder::EEmailAddress );
 
iAutoFinder->SetEditor((CEikRichTextEditor**)&iDialText); // iDial is any editor.

The following code is used to scroll down for the found items through the editor

TBool iReturn = iAutoFinder->NextItemOrScrollL( CAknItemFinder::ENextDown );

The following code is used to retrieve the selected item.

HBufC* iBuff = iAutoFinder->CurrentItem().iItemDescriptor;

Sample Application

Item finder example

Related Discussions
Thread Thread Starter Forum Replies Last Post
camera and ViewFinderFrameReady mopa Symbian Media (Graphics & Sounds) 3 2007-06-04 15:26
Problem with ChoiceGroup in Nokia 6600 PLS HELP.... rateng2002 Mobile Java General 1 2005-09-12 03:10
Get navigation key presses Stalkin Mobile Java General 13 2008-06-20 11:03
how can i find the highlighted item in a multiple list? xarris_ Mobile Java General 3 2007-06-16 17:40
How to "jump" an item in a Form aurelm Mobile Java General 8 2005-06-10 10:30
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX