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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to