You Are Here:

Community: Developer Discussion Boards

#1 Old Reading Contacts - 2009-06-30, 13:31

Join Date: Jan 2009
Posts: 47
jayakrishnan.salim
Offline
Registered User
How can i access my contact list from midlet.
Thanks in advance


Jayakrishnan Salim
Reply With Quote

#2 Old Re: Reading Contacts - 2009-06-30, 13:43

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Hi Salim,
There are a lits of threads those are talking about the same concern.Please do search this forum or the web and you will get the information about the same.Like the URL -
http://developers.sun.com/mobility/a...pim/index.html
http://wiki.forum.nokia.com/index.php/PIM_Api_on_J2ME
http://wiki.forum.nokia.com/index.ph...s_using_JSR_75
http://wiki.forum.nokia.com/index.ph...s_using_JSR_75

Please check that whether this is the answer for your post?


Thanks

R a j - The K e r n e l
Reply With Quote

#3 Old Re: Reading Contacts - 2009-06-30, 14:08

Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
Send a message via MSN to ansh.chauhan Send a message via Yahoo to ansh.chauhan
ansh.chauhan's Avatar
ansh.chauhan
Offline
Regular Contributor
Hey buddy
Use this


Vector vector=new Vector();
try {
contactList = (ContactList) pim.openPIMList(PIM.CONTACT_LIST,
PIM.READ_WRITE);


Enumeration contacts = contactList.items();
while (contacts.hasMoreElements()) {
Contact c = (Contact) contacts.nextElement();
String home = c.getString(Contact.TEL,0);
String name = c.getString(Contact.FORMATTED_NAME, 0);
vector.addElement(home + "-" + name);
}


But i think you have to completely study about Pim i would prefer this link

http://developers.sun.com/mobility/a...pim/index.html


Anshu Chauhan
J2me Developer
Reply With Quote

#4 Old Re: Reading Contacts - 2009-06-30, 14:28

Join Date: Jun 2008
Posts: 96
Send a message via AIM to sharvan1981
sharvan1981's Avatar
sharvan1981
Offline
Regular Contributor
Quote:
Originally Posted by jayakrishnan.salim View Post
How can i access my contact list from midlet.
Thanks in advance
Hi,

By using PIM API you can access your contact list. Just read that api and try to access tyour contact list.

Thanks
Reply With Quote

#5 Old Thumbs up Re: Reading Contacts - 2009-06-30, 14:51

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Please check the following link here

U will find a good pdf regarding PIM


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#6 Old Re: Reading Contacts - 2009-06-30, 17:38

Join Date: Jan 2009
Posts: 47
jayakrishnan.salim
Offline
Registered User
Thanks everyone, Thank you so much for replying. I am sure that this will help me a lot. Thank you once again.


Jayakrishnan Salim
Reply With Quote

#7 Old Re: Reading Contacts - 2009-07-01, 07:23

Join Date: Sep 2008
Posts: 45
praghuna's Avatar
praghuna
Offline
Registered User
Besides the doc of PIM api , the code samples always come in handy to make a quick start.
Reply With Quote

#8 Old Re: Reading Contacts - 2009-07-02, 08:56

Join Date: Jan 2009
Posts: 47
jayakrishnan.salim
Offline
Registered User
That was exactly what i needed, thank you so much praghuna.


Jayakrishnan Salim
Reply With Quote

#9 Old Re: Reading Contacts - 2009-07-03, 09:57

Join Date: Jan 2009
Posts: 47
jayakrishnan.salim
Offline
Registered User
Can i listen to mms also like the way we listen to sms?


Jayakrishnan Salim
Reply With Quote

#10 Old Re: Reading Contacts - 2009-07-03, 12:55

Join Date: Mar 2008
Posts: 2,161
Location: The Capital of I N D I A
Send a message via Skype™ to raj_J2ME
raj_J2ME's Avatar
raj_J2ME
Offline
Forum Nokia Champion
Quote:
Originally Posted by jayakrishnan.salim View Post
Can i listen to mms also like the way we listen to sms?
I wonder if this post is related to the current,thread.Still you did not provide the detailed explanation for the same,I would prefer that you should start the new thread,


Thanks

R a j - The K e r n e l
Reply With Quote

#11 Old Cool Re: Reading Contacts - 2009-07-03, 15:00

Join Date: Jul 2008
Posts: 329
Location: Faridabad(Delhi NCR)
Send a message via MSN to ansh.chauhan Send a message via Yahoo to ansh.chauhan
ansh.chauhan's Avatar
ansh.chauhan
Offline
Regular Contributor
HI Buddy download this and read this it will surely help you about mms

developer.motorola.com/docstools/articles/MMS_20060901.pdf


Anshu Chauhan
J2me Developer
Reply With Quote

#12 Old Re: Reading Contacts - 2009-07-03, 17:00

Join Date: Jan 2009
Posts: 47
jayakrishnan.salim
Offline
Registered User
i am sorry, i posted this in a wrong thread :)


Jayakrishnan Salim
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading contacts in S40 device knights123 Mobile Java General 2 2009-07-02 07:34
Reading contacts in S40 device knights123 Mobile Java General 5 2009-06-26 13:32
Python script reading contacts blows up Symbian contact DB RaimondasL Python 6 2007-04-24 22:36
Reading SIM card contacts sasa Symbian Networking & Messaging 6 2007-03-01 17:22

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia