IPhone SDK question. Problems with Addressbook and Addresses.

I know the api is closed as of beta but I have serious problems adding street, zip and city terms to the multivalue address property. I am doing an application for release around the new model of iphone and any information about how to use the address property would be great. I can say, phone numbers I can add as many as I like as of now its only addresses I have problems with, and sadly I can't find information anywhere, including the SDK documentation how to write these properties to a record.
I hope any of you can help me or give me a number I can call for help directly from apple.
Thank you in advance.
/Klaus

I still wonder about this, but I got a new issue and that is adding a "default" photo to the address record I am creating.
I try load my application icon from the application resources to add it to the addressbook record.
NSString* imageName = [[[NSBundle mainBundle] pathForResource:@"Icon.png" ofType:nil]];
NSData *iconData = [[NSData alloc] initWithContentsOfFile:imageName];
ABPersonSetImageData(person, [[iconData bytes]], nil);
Ugh the iconData gets allocated and initedWithContentsOfFile imageName. And yes it loads. Offtopic, how to mark segments as code so no fancy functions strip text and whitespace from my code exampes on the forum?
But get bad access when I try add the image to the record. I know there was some articles on blogs about this last week, but seems like they been pulled off now.

Similar Messages

  • Problems with outlook and address book contacts: my outlook contacts had around 3,000 entries. Outlook duplicated by itself and now outlook and address book have each over 340,000. What should I do?

    Problems with outlook and address book contacts: my outlook contacts had around 3,000 entries. Outlook duplicated entries and have now 340,000. I reinstalled microsoft office and, thus, outlook, and reinstalled mac OS X system and applications. While I managed to delete outlook contacts so that I can re-sync with my blackberry, the contacts at Mac Address Book were not deleted and still have over 340,000 entries. I do not mind deleting all contacts since I have back up, but I have not been able to delete them. Also, when I go at Address Book and try to delete or merge duplicated entries, the system takes forever and never ends because of such large amount of entries. Worse, when I do so I run out of RAM memory.
    My Macbook pro is just 2 months old.
    What should I do? Is there a way to delete my Mac Address Book without having the problem above?
    Many thanks
    Regis

    zlatan24 wrote:
    For solving out troubles connected with corrupted or lost address book you may use address book recovery. It owns various features such as restoring wab files, it working under any Windows OS. The utility has modern and easy to use interface due to almost every experienced users.
    If it is a windows problem it's not going to run on the OP's MacBook Pro

  • IPhone sync problem with iCal and Address Book

    I have a new iPhone 4 that is not syncing contacts or events. It doesn't seem to matter whether the event or contact is created in my iMac or on the iPhone. Either way, the data doesn't move. During the iPhone synch process, where iTunes tells you what is going on, syncing calendars and contacts doesn't even appear. When I had my iPod Touch, all worked well. I saw a post about resetting in iSync, etc., but when I look there, I don't even see my iPhone, and so far I can't add it. My only option there is to add a bluetooth device. So I need some help. Any suggestions would be greatly appreciated. Thanks.
    Chuck

    You're welcome.
    You can't hurt anything by resetting the sync history on your Mac, and doing so may resolve the problem.
    Syncing contacts direct with a supported Address Book application and syncing calendar events direct with a supported Calendar app on your computer via the iTunes sync process has nothing to do with a MobileMe account - a trial account or otherwise. Completely separate and not related even if you are syncing contacts and calendar events over the air with your MobileMe account on your iPhone. If you are doing so with your iPhone, syncing direct with the Address Book and iCal via the iTunes sync process is not required.

  • Problem with iChat and Address Book

    Ok, I've been having a problem ever since I used a program to remove my unwanted print drivers and language packs (I forget the program's name). Ever since then, my iChat and Address book will not open. The spinning beach ball appears, and nothing happens. Ichat just continues bouncing in the dock. All I can do with the programs is force-quit them.
    I have tried re-installing OSX (not a fresh install), fixing permissions, re-installing the programs, and re-installing the drivers and language packs. Aside from a complete fresh-install, does anyone have any ideas why these programs are not running and how to fix them?
    Thanks,
    Jared

    I have a similar problem.
    There are 3 user accounts on my iMac:
    I. The admin
    II. My account
    III. My wife's account
    Where only the admin account can administer the computer.
    All the applications work just fine when I am logged in as the admin. The problems appear when I switch to my account.
    The following apps crash immediately on their startup:
    1. Mail
    2. Address Book
    3. iChat
    4. All the Big Bang board games
    Safari browser crashes the moment you enter some input on a page with input edit controls.
    Sherlock when trying to actually use any web service.
    The crash log for any of the above always reports the same reason:
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000004
    The interesting thing is that each and every crash log reports the crash within the
    com.apple.AddressBook.framework always at the same place:
    c4Sequence::PropIndex(c4Property const&) + 14
    Note that the problem exists only with my account. Both the admin and my wife's user accounts are fine.
    I have no idea where I take it from here. I really dislike the idea of recreating my account.

  • IPhone 3GS multiple problems with calls and text

    I have AT&T for service provider and I am having these problems with the THIRD Iphone 3Gs that I have received since Jan 12.
    I  turned off 3GS again after newest update, not sure if it willl help or not.
    Also, I have the same problems with this phone as previous 2 Iphones I got at Apple Stores:
    * sporadically drops calls -  even if I don't move from the spot I originally called from.  This is my only phone, so I need to make and receive any calls to this phone.
    *"Searching", "No Service", so text messages don't get sent, but I don't know that unless I check back to see the red ! and I keep trying to resend...
    * No SIM card - but, only know this if I check, not good when busy and waiting for a call or text.
    Do I need to go to an Apple store again (not nearby me) to replace it before my replacement warranty runs out?
    Thanks for any help!

    Try powering the phone off, then removing and replacing the battery, and powering the phone back on. 
    Then try  dialing *228 send and option 2 on the phone to update the PRL.
    Then try closing down applications that you are not using on the device.
    From the home screen, touch the applications tab (located at the bottom of the display).
    Touch Settings.
    Touch Applications.
    Touch Running services.
    Touch a service you are not using then.
    Touch Stop.
    From the home screen, touch the applications tab (located at the bottom of the display).
    Touch Settings.Touch Applications.Touch Running services.
    Touch a service you are not using then.
    Touch Stop.
    Repeat steps as needed.

  • Problems with mail and address book

    Hi,
    I need help with my e-mail. When I try to add receivers the program jams up and the round colourful thing indicating "thinking" starts to spin. Does anyone know what could be the problem? This thing happens every time when I create a new message and try to add receivers. I have had this problem about two weeks now and it is very annoying.
    Please help!

    3 suggestions:
    1. Quit Mail. Launch Font Book. Select All Fonts under collections, and then highlight all of your fonts under Fonts (Edit --> Select All). Finally go to File --> Validate fonts.
    Based on the crash reports some have submitted corrupt fonts have been the issue.
    2. If that does not resolve your issue, then you may need to rebuild your Envelope Index. Quit Mail. Go to Home Folder/Library/Mail. Change the name of the file labeled "Envelope Index" to "Old Envelope Index". Relaunch Mail and allow it to reimport your messages.
    3. Finally, if that does not resolve the issue, then quit Mail. Go to Home Folder/Library/Preferences. Drag the file labeled com.apple.mail.plist to the Desktop. Relaunch Mail and see if the issue is resolved.
    These have worked for others with similar issues recently. Let us know if any of these suggestions help. Cheers!

  • IPhone 3Gs syncing problems with PC and photos

    An executive at my company is experiencing syncing issues with his photos on his PC and iPhone 3Gs. He's gone to the Apple Store and met with a Genius Bar consultant and they've already wiped the phone "clean" and still is unable to sync his photos to his iPhone. Any suggestions or fixes are greatly appreciated. He recently upgraded his laptop to Windows 7, could that be a contributing factor? Thank you.

    Unlikley it's Windows 7.  Maybe delete the iPod photo cache?... http://support.apple.com/kb/TS1314

  • I have a iphone 5, purchased dec 2013. Had no problems with downloads and syncing until yesterday. I updated to the latest 7.1.1 and now my purchased ringtones have bern deleted from ....Try providing more room for peoples questions ...

    I have a iphone 5, purchased dec 2013. Had no problems with downloads and syncing until yesterday. I updated to the latest 7.1.1 and now my purchased ringtones have bern deleted from my library and my phone, Where are they ????
    I have gone to download again and told i can purchase them again
    But there is no option to download all ready purchased items..
    Can you provide an explanation and solution .

    Are you using the same Apple id as used to originally purchase them
    and are you using iTunes on a PC/Mac

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • Since I upgrade my iphone 3gs to ios 5.1, I have several problems with network and wi-fi, any solution?

    Since I upgrade my iphone 3gs to ios 5.1, I have several problems with network and wi-fi, any solution? (No jailbreak)
    Most of the time the iphone cannot reach any network and when it can, there is no data transfer, I can only make calls and sms.

    Skizofrenias wrote:
    Since I upgrade my iphone 3gs to ios 5.1, I have several problems with network and wi-fi, any solution? (No jailbreak)
    Most of the time the iphone cannot reach any network and when it can, there is no data transfer, I can only make calls and sms.
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS: Wi-Fi or Bluetooth settings grayed out or dim

  • I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?

    mahtab2 wrote:
    I have a problem with my iphone 4,the problem is hanging and turning off automatically, it was started when I updated it to ios7.0.2, what should I do?
    Connect to iTunes on the computer you usually Sync with and Restore
    http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11) Installed on your computer
    iTunes free download from www.itunes.com/download

  • Hello community I have a big problem with my iphone 4s as precent problem with wifi and ios7. my phone was a champ when actualize this, eh degrade searched everything but I can not because I get the error 3194. I want a solution please

    Hello community I have a big problem with my iphone 4s as precent problem with wifi and ios7. my phone was a champ when actualize this, eh degrade searched everything but I can not because I get the error 3194. I want a solution please

    This support document http://support.apple.com/kb/ts4451 relates to the 3194 error. Generally this error has to do with trying to install an iOS that is not the most current. Maybe you tried to jailbreak the phone, or downgrade iOS? Any of this apply to you?

  • Problems with email and SMS after 1.3.5

    Let me first say that I love the Pre. Up until this point it has been perfect - I have a replacement, but that is because I dropped it (wrong angle, wrong location, broken screen). However, following the 1.3.5 update I'm now having a fairly important problem with email and sms - I can receive email and messages, but not send them.
    I have two email accounts. My personal account is with earthlink. My work account goes through an ISP using the domain name of my employer. I'm not using Microsoft Exchange or Outlook. I have tried deleting and reentering the accounts and that did not work. I can receive messages but get error messages when I try to send. 
    The same for messaging. I don't use it very often. But yesterday I get a text message  and tried to respond and got the error message.
    I power the phone off every night because I have a landline and use that as the primary phone at home.
    I have been looking around message boards trying to find a fix for this.  Has anyone had this issue and resolved it?
    Thank you.
    Post relates to: Pre p100eww (Sprint)
    Message Edited by starburst42 on 01-05-2010 07:06 AM
    This question was solved.
    View Solution.

    I forgot to add that this is a stock Pre. There are no patches or homebrew apps. 
    Edit:
    I found a fix for the email problem, in posts on precentral and this board from a few months ago. The info came up in a Google search, and not searches of the boards, which is kind of frustrating.  Here is the info, and the link.  I really wish Palm would put info about this work around on their site, or at least make it easy for people to find.  The solution is the last message in the thread linked below:
    Had the same problem.  Checked with Earthlink - no help.  Checked with Sprint - no help.  Checked with Palm - no help.  Here is what finally worked:
    Delete the earthlink account and start over.  When you do - this is the key - set up the account manually!  If you use the Pre defaults and try to change the settings it will not correct the problem. Your settings for outgoing mail must be:
    "smtpauth.earthlink.net"
    Use Authentication set to "on"
    username is your email address
    your email password
    port set to "587"
    encryption "none"
    Again, the key is to set up manually.
    smtp email fix
    Message Edited by starburst42 on 01-06-2010 12:08 PM
    Message Edited by starburst42 on 01-06-2010 12:09 PM

  • Cisco ASA 5505 - problem with negotiating IP address from PPPoE

    Hi all,
    I have problem with negotiating IP address from PPPoE. There is following design: ISP providing vDSL ending on VDSL modem in bridge mode. Behind brigde modem is ASA 5505 terminting PPPoE on OUTSIDE. Everything works fine except  negotiating IP address from PPPoE server.
    I have configured ASA 5505 with (ASA Version 9.2(2)4) for PPPoE like this [1.]. But If i try to "show" IP address on OUTSIDE interface a get this [2.], ok strange but let's continue. If list "show vpdn pppinterface id 1"  i get this [3.]. Seems that I got public IP addres what was right, but this IP address was not associated with interface OUTSIDE?
    Well, if I set IP address manually like this [4.] and also set a default route everything works fine but what will happen when ISP change reservation for my IP address or default gateway. 
    I have tried different version of ASA OS like 8.4, 9.1 but without luck. 
    Can anybody help me. Thanks a lot.
    Regards
    Karel
    [1.]
    interface Vlan100
    description >>VLAN pro pripojeni do internetu<<
    nameif OUTSIDE
    security-level 0
    pppoe client vpdn group O2
    ip address pppoe setroute
    vpdn group O2 request dialout pppoe
    vpdn group O2 localname O2
    vpdn group O2 ppp authentication chap
    vpdn username O2 password *****
    interface Ethernet0/0
    description >>uplink O2 vDSL<<
    switchport access vlan 100
    [2.]
    ciscoasa(config-if)# show ip address vlan 100 pppoe
    ciscoasa(config-if)#  0.0.0.0 255.255.255.255 on Interface: OUTSIDE
    ciscoasa(config-if)# show interface vlan 100 detail
    Interface Vlan2 "OUTSIDE", is up, line protocol is up
     Hardware is EtherSVI, BW 100 Mbps, DLY 100 usec
            Description: >>VLAN pro pripojeni do internetu<<
            MAC address f44e.05d0.6c17, MTU 1492
            IP address unassigned
      Traffic Statistics for "OUTSIDE":
            28 packets input, 1307 bytes
            31 packets output, 721 bytes
            0 packets dropped
          1 minute input rate 0 pkts/sec,  3 bytes/sec
          1 minute output rate 0 pkts/sec,  1 bytes/sec
          1 minute drop rate, 0 pkts/sec
          5 minute input rate 0 pkts/sec,  0 bytes/sec
          5 minute output rate 0 pkts/sec,  0 bytes/sec
          5 minute drop rate, 0 pkts/sec
      Control Point Interface States:
            Interface number is 15
            Interface config status is active
            Interface state is active
    [3.]
    ciscoasa(config-if)# show vpdn pppinterface id 1
    PPP virtual interface id = 1
    PPP authentication protocol is CHAP
    Server ip address is 88.103.200.41
    Our ip address is 85.71.188.158
    Transmitted Pkts: 20, Received Pkts: 16, Error Pkts: 0
    MPPE key strength is None
      MPPE_Encrypt_Pkts: 0,  MPPE_Encrypt_Bytes: 0
      MPPE_Decrypt_Pkts: 0,  MPPE_Decrypt_Bytes: 0
      Rcvd_Out_Of_Seq_MPPE_Pkts: 0
    ciscoasa(config-if)# show vpdn session state
    %No active L2TP tunnels
    %No active PPTP tunnels
    PPPoE Session Information (Total tunnels=1 sessions=1)
    SessID TunID Intf     State       Last Chg
    22298      2 OUTSIDE  SESSION_UP  561 secs
    [4.]
    interface Vlan100
     description >>VLAN pro pripojeni do internetu<<
     nameif OUTSIDE
     security-level 0
     pppoe client vpdn group O2
     ip address 85.71.188.158 255.255.255.255 pppoe setroute
     route OUTSIDE 0.0.0.0 0.0.0.0 88.103.200.41 1

    You're right that the ACL should not affect otherwise allowed communications to the interface address.
    Try disabling the ip audit feature on your outside interface.
    no ip audit interface OUTSIDE AP_OUTSIDE_INFO
    no ip audit interface OUTSIDE AP_OUTSIDE_ATTACK

  • Problem with Send and Receive Emal In SAP System

    Hi gurus!
    I have a following quote:
    Dear !
    I have a problem with send and receive email in SAP system following :
    I want to test send and receive email in local network at my company. I
    had two server
    Server 1 : I setup Exchange Mail Server 2007 with domain controller is
    fes.com
    Server 2 : I setup SAP ERP ECC 6.0
    On Server 1 : I created 2 account ( u1Afes.com and u2Afes.com ) and then I tested send and receive email between u1 and u2 in local network through Microsoft Outlook 2007 -> OK
    and then
    On Server 2: I had configured send and receive email on SAP system
    through tcode SBWP, SCOT and SOST as Note 455140 - "Configuration of
    e-mail, fax, paging or SMS using SMTP"
    for example :
    I logged in SAP system with user Basis01 (with email u1Afes.com ) -> then,using tcode SBWP -> new message -> send to u2Afes.com with Internet Mail type and then status message with green light -> sending ok
    and then I have used Microsoft Outlook 2007, I logged with account u2 ->check email -> Ok. I saw message which send from u1
    Finally, My problem is how can receive mail in SAP system without using Microsoft Outlook
    For example:
    Login system SAP with Basis01 account (with  u1Afes.com ) -> tcode SBWP ->New Message -> send to u2Afes.com
    and then
    Login system SAP with Basis02 account (with u2Afes.com ) -> tcode ??? ->
    To receive email from Basis01 (with u1Afes.com )
    Please help me now
    Thanks
    I replace "@" with "A" because of banning email of this forum.
    This quote is about sending email in local network. And we can't receive any email from the outside email address. Addition if I wanna send email to internal email in Internet (we've just tried with email address in local network) What should I config in SAP and Exchange ?
    By the way, Is SAP Server IP added to Relay Agent for sending or receiving mail ?
    Regards
    An NLP
    Edited by: An NLP on Apr 6, 2010 7:03 PM

    Hi,
    This problem is a classic problem of mail routing via Exchange. Exchange like most mail servers use the domain part of the email address as a means to route mails. So I will make an assumption that your main company mail addrss is "User @ fes.com".
    So when you send a mail to the "User @ fes.com mail" address the mail is delivered to your Outlook mail address as this is the default route for company.
    (Q) So how do you get your Exchange server to relay the mail into the sending SAP system?
    (A) The easiest way would be to setup and unique mail domain for your SAP system. I always recommend "user @ client.sid.company.com" which in your case would be "u1 @ 100.PRD.fes.com". You can then instruct Exchange to send any emails addressed to 100.PRD.fes.com domain to your SAP system. Also using this format of address you can configure multiple mail connections into multiple SAP systems.
    (A) Another answer would be to enter the "Full" email address (LOcal and Domain part of address) into the routing rule for Exchange e.g. "U1 @ fes.com" so that all emails addressed to this user will be delivered into SAP. However this method requires a lot of Admin as you will have to update Exchange with ALL email address that need to receive emails. Also if your corporate mail address is "U1 @ fes.com" then all mails will be forwarded to SAP.
    I would definitely NOT recommend this method but the decision is up to you.
    P.S. The IP address of the SAP system is entered into the mail header of the email. This is standard practice in SMTP relay. You can suppress this header in Exchange
    Hope this helps
    Michael

Maybe you are looking for