• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iPhone SDK and sms.db file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPhone SDK and sms.db file


  • Subject: iPhone SDK and sms.db file
  • From: email@hidden
  • Date: Tue, 8 Jul 2008 14:29:57 +0000 (GMT)

Hello,

I hope this is the right mailing list, because I couldn't find anything iPhone-related.

I need to read the sms.db file (~/Library/SMS/sms.db). I need to put the content of the file into a NSData object, so I read the file using [NSData dataWithContentsOfFile: @"~/Library/SMS/sms.db"].
But, when testing in the simulator, it can't read the file.
In the simulator directory, file path is:
/Users/Alessandro/Library/Application Support/iPhone Simulator/User/Library/SMS/sms.db
but it tries to read
/Users/Alessandro/Library/Application Support/iPhone Simulator/User/Applications/E3D91877-8D0A-4186-AD3D-59CAFF694285/Library/SMS/sms.db
This is the path I get also when I try to expand the tilde.

Is it a bug of the simulator? How can I read that file?

Thank you in advance,

Alessandro



      Posta, news, sport, oroscopo: tutto in una sola pagina.
Crea l'home page che piace a te!
www.yahoo.it/latuapagina

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • [Moderator] Re: iPhone SDK and sms.db file
      • From: Scott Anguish <email@hidden>
    • Re: iPhone SDK and sms.db file
      • From: "Hamish Allan" <email@hidden>
    • Re: iPhone SDK and sms.db file
      • From: "I. Savant" <email@hidden>
    • Re: iPhone SDK and sms.db file
      • From: lbland <email@hidden>
  • Prev by Date: [SOLVED - But an other question]: CoreData, failed to process pending changes before save.
  • Next by Date: Re: iPhone SDK and sms.db file
  • Previous by thread: Re: Calculating accurate bounds of stroked paths [SOLVED]
  • Next by thread: Re: iPhone SDK and sms.db file
  • Index(es):
    • Date
    • Thread