You Are Here:

Community: Developer Discussion Boards

#1 Old JSR-75 PIM Problem - 2009-01-16, 04:56

Join Date: Dec 2008
Posts: 1
nebuhcaneza
Offline
Registered User
Hello,

I have developed a MIDlet to grab the contact info stored from the SIM card. I noticed that on some of the newer devices this seems to be ok but I have an older fliptop (clamshell) nokia phone and when I run my application it displays only the contacts from the phone memory and not from the sim card. This issue wouldnt be terrible except that the next thing my application is supposed to do is populate a menulist with the numbers for the selected contact. Again on newer nokia devices this seems to be fine but on this older device it doesnt populate a phone number. Now I am wondering if there is anything that I need to do differently for older phones models that wont allow sim card access?

Sorry that I keep using the term "older clamshell model" I genuinely have no idea what model of phone this is. I have gone through the entire phone and found no about or anything. It resembles a Nokia 2660 but it also has a little antenna coming off the left side.

I dont believe the issue would be model specific, but rather an issue with the phone only memory access. If my application is able to read contact names from the phone memory, should I not be able to also read the phone numbers from those same contacts?

I using the following code to pull up the contact after it is selected.

ContactList cl = PIM.openPIMList(PIM.ContactList,PIM.READ_ONLY);
Contact selectedContact = (Contact)cl.items(contactName);

where contactName represents a string in either FORMATTED_NAME format or NAME (StringArray) format.

Thanks in advance.
Reply With Quote

#2 Old Re: JSR-75 PIM Problem - 2009-01-16, 05:15

Join Date: Jan 2008
Posts: 533
Location: Amravati, India
arpit2agrawal
Offline
Super Contributor
Quote:
Originally Posted by nebuhcaneza View Post
it displays only the contacts from the phone memory and not from the sim card.
On Series 40 you can read contacts from phone memory as well as SIM memory.
On S60 you can read contacts from only phone memory.
Quote:
Originally Posted by nebuhcaneza View Post
If my application is able to read contact names from the phone memory, should I not be able to also read the phone numbers from those same contacts?
Yes. Post the complete code in which you can read names and not phone number.
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
problem with JSR 172 XML parser sax madsum Mobile Java General 1 2009-01-07 13:00
what r the general LIMITATIONS OF JSR 75 PIM divya_v Mobile Java General 1 2008-12-05 06:11
6230 and JSR 82 problem Robert111 Bluetooth Technology 8 2006-04-28 21:32
6230 and JSR 82 problem Robert111 Mobile Java Networking & Messaging & Security 1 2004-11-11 11:02
6230 and JSR 82 problem Robert111 Mobile Java General 2 2004-11-02 14:39

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