The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-06-2009, 03:01 AM
What's Jailbreak?
 
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
SMS.db access

Hi All,

I'll try to access to SMS.db to read sms (only read mode) inside my application (jaylbreacked Iphone 2.2).

I'm using sqlite3 library to access to SMS.db.

To test my app I was copyed (by ssh access) sms.db in a bundle “documents” directory and then i can access sucesfully to the DB.

But, when I try to access direct to /var/mobile/Library/SMS/sms.db to open DB it could be not possible, because sqlite3_open return not OK !!?? (insuffcients permissions !?)

….

NSString *path = @”/var/mobile/Library/SMS/sms.db”;
// Open the database. The database was prepared outside the application.
if (sqlite3_open([path UTF8String], &database) == SQLITE_OK

…..

Inside my application I had try, at startup, to copy sms.db in a bundle directory, and then access locally to it, but Filesystem “copy” operations return error to open original file….

any ideas?

-is it possible run application as root?
-how can I manage sms.db?
-applications as bitesms how can access to sms subsystem?

BR
Thanks!!!

TeoG
Transfer TeoG Page


PS
I'm developing a multilanguage SMS talker program. I've just porting multilanguage espeak TTS (text to speech) library to iphone.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 05:17 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top