iPhone SDK and sms.db file
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