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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.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 06-19-2009, 12:11 PM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 69
skinnytron is on a distinguished road
Default Sharing data between applications.

Is there anyone of sharing or copying data between two separate applications you are developing (ie user profiles or something of that nature)?
skinnytron is offline   Reply With Quote
Old 06-19-2009, 12:35 PM   #2 (permalink)
Registered Member
iPhone Dev SDK Supporter
 
smasher's Avatar
 
Join Date: Jul 2008
Location: San Mateo, CA (San Fran)
Posts: 3,858
smasher will become famous soon enough
Default

Quote:
Originally Posted by skinnytron View Post
Is there anyone of sharing or copying data between two separate applications you are developing (ie user profiles or something of that nature)?
Apps can't read each others files - but you could use a URL scheme to launch one app from another. Any parameters in the URL would be passed.
__________________

Free Games!
smasher is offline   Reply With Quote
Old 06-19-2009, 02:08 PM   #3 (permalink)
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
FlyingDiver will become famous soon enough
Default

I think I read that apps that share an application identifier can both access data stored in the user keychain. Can't be much data, but it depends on your requirements.

joe
FlyingDiver is offline   Reply With Quote
Old 06-22-2009, 11:42 AM   #4 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 69
skinnytron is on a distinguished road
Default

Can 2 different applications actually have the same Application Identifier. I've had an app rejected from the app store because I forgot to change the Application Identifier so it wasn't unique.
skinnytron is offline   Reply With Quote
Old 06-22-2009, 11:46 AM   #5 (permalink)
New Member
 
Join Date: Jul 2008
Posts: 69
skinnytron is on a distinguished road
Default

Wait that's Bundle Identifier were talking about right? Not Application Identifier.
skinnytron is offline   Reply With Quote
Old 06-22-2009, 05:10 PM   #6 (permalink)
New Member
 
Join Date: Mar 2009
Posts: 12
sharik14 is on a distinguished road
Default

Quote:
Originally Posted by skinnytron View Post
Wait that's Bundle Identifier were talking about right? Not Application Identifier.
Skinnytron,

I spent a *lot* of time wrestling with this exact problem. The answer works like so:

1) If you have a small amount of data, you can encode it, stick it onto a URL, and pass it back and forth between the apps.

2) If you have an external server (for example, you maintain a website, each app user has a login on that website), app1 can upload the data to the website, and app2 can download it.

3) Otherwise, you're pretty much out of luck.

Here is another thread exploring this question:
http://www.iphonedevsdk.com/forum/ip...user-data.html

Hope that helps.

Ben.
sharik14 is offline   Reply With Quote
Old 06-22-2009, 06:06 PM   #7 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 27
MDAViiS is on a distinguished road
Default

As stated above, your best bet is to upload data to a database that you maintain, and then use the other application to download or read from that database.
MDAViiS is offline   Reply With Quote
Reply

Bookmarks

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: 334
8 members and 326 guests
chiataytuday, givensur, ipodphone, jbro, mtl_tech_guy, Punkjumper, vilisei, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,881
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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