Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-19-2009, 01:25 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 14
Default Need one app to update another

I have an app that maintains an sqlite3 database in its Documents directory. I want to sell expansion packs as separate apps. Each expansion pack contains a small database that the main app needs to add into its larger database.

My understanding is that each app can only access its own Documents directory and cannot access the documents of another app. If this is true then how can an expansion pack app add to the database of the main app?

thank you
aheirich is offline   Reply With Quote
Old 05-19-2009, 01:46 PM   #2 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
Default

Quote:
Originally Posted by aheirich View Post
I have an app that maintains an sqlite3 database in its Documents directory. I want to sell expansion packs as separate apps. Each expansion pack contains a small database that the main app needs to add into its larger database.

My understanding is that each app can only access its own Documents directory and cannot access the documents of another app. If this is true then how can an expansion pack app add to the database of the main app?

thank you
you'll need to have a web server than can send updates to the main app, and the main app then uses the data received to update its sqlite db.
jsd is offline   Reply With Quote
Old 05-19-2009, 03:08 PM   #3 (permalink)
New Member
 
Join Date: Feb 2009
Posts: 23
Default

Quote:
Originally Posted by aheirich View Post
I have an app that maintains an sqlite3 database in its Documents directory. I want to sell expansion packs as separate apps. Each expansion pack contains a small database that the main app needs to add into its larger database.

My understanding is that each app can only access its own Documents directory and cannot access the documents of another app. If this is true then how can an expansion pack app add to the database of the main app?

thank you
The idea above will work today but you may want to hold off until 3.0 or start developing under 3.0. It allows for buying in app so you could have just one app and have the user expand or buy directly inside the app.
vinced45 is offline   Reply With Quote
Old 05-20-2009, 01:23 PM   #4 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 14
Smile

Quote:
Originally Posted by vinced45 View Post
The idea above will work today but you may want to hold off until 3.0 or start developing under 3.0. It allows for buying in app so you could have just one app and have the user expand or buy directly inside the app.
thanks, it sounds like this is what I need. I want the expansion packs to sell through the app store.
aheirich is offline   Reply With Quote
Old 05-20-2009, 02:10 PM   #5 (permalink)
New Member
 
Join Date: Apr 2009
Location: NY NY
Posts: 35
Default

Your app sounds very interesting! Do you mind me asking if the main one is already up and running in the app store? I'd like to try it out (can you message me or post me your app name?)!
home_dev is offline   Reply With Quote
Reply

Bookmarks

Tags
sqlite3

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



» Advertisements
» Online Users: 239
16 members and 223 guests
@sandris, ADY, Alsahir, dacapo, Dani77, djohnson, HemiMG, jansan, JasonR, MarkC, mer10, prchn4christ, ryandb2, timle8n1, tomtom100
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,882
Threads: 89,228
Posts: 380,762
Top Poster: BrianSlick (7,129)
Welcome to our newest member, jansan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:01 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0