Retrieving and printing the contact labels from mobile

Login to reply to this topic.
Tue, 2007-11-27 11:44
Joined: 2007-10-26
Forum posts: 36

How to print the data of the contact labels existing in the contact filelds by retrieving from the contacts (phonebook).

In the code some where I have went wrong.Earlier it used to print name and number. Now writing does'nt take place in the C drive of mobile. please explain where I went wrong?

CAknInformationNote* informationNote = new (ELeave)CAknInformationNote;

informationNote->ExecuteLD((const TDesC&) iBuf16);


Tue, 2007-11-27 12:36
Joined: 2007-06-16
Forum posts: 51
Re: Retrieving and printing the contact labels from mobile

try this link

http://www.newlc.com/topic-9492


ready to face

Wed, 2007-12-05 12:06
Joined: 2007-10-26
Forum posts: 36
Re: Retrieving and printing the contact labels from mobile

send me the complete code for printing name and number labels from a mobile phone book i in a path odf the file specified.

Wed, 2007-12-05 17:48
Joined: 2004-05-24
Forum posts: 981
Re: Retrieving and printing the contact labels from mobile

Are you trying to learn something ...or you just have to do some job ?

As other people said on other forum you have to call:
informationNote->ExecuteLD(*iBuf16);


pirosl

Thu, 2007-12-06 10:16
Joined: 2007-10-26
Forum posts: 36
Re: Retrieving and printing the contact labels from mobile

I tried all the methods , u can se my code also. Iam unable to create the page "name.txt" and write or print into it. so that I can reed the ith number contact from my phonebook.

for ex if i=0, it gives the first contact details i.e thieir labels.

Thu, 2007-12-06 11:48
Joined: 2004-05-24
Forum posts: 981
Re: Retrieving and printing the contact labels from mobile

I'm not sure I understand....what name.txt would be?


pirosl

Thu, 2007-12-06 12:51
Joined: 2007-10-26
Forum posts: 36
Re: Retrieving and printing the contact labels from mobile

My aim is to write a code which can retrieve and print contact details ie all lables for ex: Name andd number etc of a particular or n number of contacts from a phonebook.

I want to print it in a sepertae file in any drive of the mobile by creating a new .txt page(file ) .

(s60 all versions)

  • Login to reply to this topic.