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 > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-08-2012, 01:13 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default Idea for IOS inter app with external accessories

I've written a series of blog articles on multitasking between applications and external accessories. And possible ways of inter application data sharing.
I wouldn't call it a tutorial because it is a work in progress. There are undoubtedly misconceptions on my part, missing information and grammatical and spelling errors. Its far from finish. We are leaning towards what we hope will grow into a general protocol for inter app communication. There is a lot of material here.

I am interested, in opinions, ideas, corrections and yes critiques. But again I know the spelling and grammar is not the greatest, yet.

Life in The Clouds: Accessories
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Old 01-16-2012, 03:45 AM   #2 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Helsinki
Posts: 304
fiftysixty is on a distinguished road
Default

Quote:
Originally Posted by michelle View Post
I've written a series of blog articles on multitasking between applications and external accessories. And possible ways of inter application data sharing.
I wouldn't call it a tutorial because it is a work in progress. There are undoubtedly misconceptions on my part, missing information and grammatical and spelling errors. Its far from finish. We are leaning towards what we hope will grow into a general protocol for inter app communication. There is a lot of material here.

I am interested, in opinions, ideas, corrections and yes critiques. But again I know the spelling and grammar is not the greatest, yet.

Life in The Clouds: Accessories
I haven't read all of your posts yet, but I'm definitely impressed. iOS inter-app communications is a subject I've thought about sometimes, but your posts go to much greater length so I really appreciate it. One thing that I thought about: in IOS multitasking and external accessories part II - Life in The Clouds you talk about finding out possible applications to open by going through the running processes. Wouldn't UIApplication canOpenUrl: be a better alternative? You could iterate through a hardcoded list of URL schemes to see which supported apps have been installed on the device, as opposed to just detecting running processes.
fiftysixty is offline   Reply With Quote
Old 01-16-2012, 08:27 AM   #3 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

Quote:
Originally Posted by fiftysixty View Post
I haven't read all of your posts yet, but I'm definitely impressed. iOS inter-app communications is a subject I've thought about sometimes, but your posts go to much greater length so I really appreciate it. One thing that I thought about: in IOS multitasking and external accessories part II - Life in The Clouds you talk about finding out possible applications to open by going through the running processes. Wouldn't UIApplication canOpenUrl: be a better alternative? You could iterate through a hardcoded list of URL schemes to see which supported apps have been installed on the device, as opposed to just detecting running processes.
Thanks, interesting idea.

we was thinking though mostly of including applications that are backgrounded or suspended .
But maybe thats irrelevant, We are trying to come up with a general protocol for this type of inter app communication, the more feedback and suggestions the better. thanks again.
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Old 01-17-2012, 08:17 AM   #4 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

Quote:
Originally Posted by fiftysixty View Post
I haven't read all of your posts yet, but I'm definitely impressed. iOS inter-app communications is a subject I've thought about sometimes, but your posts go to much greater length so I really appreciate it. One thing that I thought about: in IOS multitasking and external accessories part II - Life in The Clouds you talk about finding out possible applications to open by going through the running processes. Wouldn't UIApplication canOpenUrl: be a better alternative? You could iterate through a hardcoded list of URL schemes to see which supported apps have been installed on the device, as opposed to just detecting running processes.
fiftySixty

The more I think about this the more I like it.

Originally we were thinking we would keep a hard coded list of the applications that where compatible and compare against the process list, so we get all suspended , background and running processes that meet the protocol criteria.

but your right, we could design a url scheme in a way such that it is unique to our applications. then iterate using canOpenURL and compare that to the process list, thus eliminating the need for a hardcoded list. Again we are looking for any and all feedback and suggestions.
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Old 01-17-2012, 03:49 PM   #5 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Helsinki
Posts: 304
fiftysixty is on a distinguished road
Default

Quote:
Originally Posted by michelle View Post
fiftySixty

The more I think about this the more I like it.

Originally we were thinking we would keep a hard coded list of the applications that where compatible and compare against the process list, so we get all suspended , background and running processes that meet the protocol criteria.

but your right, we could design a url scheme in a way such that it is unique to our applications. then iterate using canOpenURL and compare that to the process list, thus eliminating the need for a hardcoded list. Again we are looking for any and all feedback and suggestions.
Well, I'm glad you found my suggestion helpful With the approach you're proposing, you could create a two-layer (or three-layer) interoperability approach:

- can't open url => app not installed
- can open URL but no process => app installed but not running
- can open URL and process found => app running

So, depending on the situation, you could then propose a suitable action, e.g. downloading the app if it's not installed.
fiftysixty is offline   Reply With Quote
Old 01-18-2012, 07:01 AM   #6 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

Quote:
Originally Posted by fiftysixty View Post
Well, I'm glad you found my suggestion helpful With the approach you're proposing, you could create a two-layer (or three-layer) interoperability approach:

- can't open url => app not installed
- can open URL but no process => app installed but not running
- can open URL and process found => app running

So, depending on the situation, you could then propose a suitable action, e.g. downloading the app if it's not installed.
If we are iterating through UIApplication canOpenUrl I should not get any apps that are not installed.

Also here is yet another variation of launch scheme to consider

Side loading GIP applications - Life in The Clouds
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Old 01-18-2012, 07:13 AM   #7 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Helsinki
Posts: 304
fiftysixty is on a distinguished road
Default

Quote:
Originally Posted by michelle View Post
If we are iterating through UIApplication canOpenUrl I should not get any apps that are not installed.

Also here is yet another variation of launch scheme to consider

Side loading GIP applications - Life in The Clouds
I meant that if you iterate through a list of url schemes using canOpenUrl and it returns false, then you could suggest downloading a suitable app to handle the scheme. This of course means hardcoding (or downloading) the list of schemes and apps that go with them.
fiftysixty is offline   Reply With Quote
Old 01-18-2012, 10:14 AM   #8 (permalink)
Registered Member
 
Join Date: Apr 2009
Location: michigan
Posts: 197
michelle is on a distinguished road
Default

Quote:
Originally Posted by fiftysixty View Post
I meant that if you iterate through a list of url schemes using canOpenUrl and it returns false, then you could suggest downloading a suitable app to handle the scheme. This of course means hardcoding (or downloading) the list of schemes and apps that go with them.
You seem to be quite interested (and helpful) in this area, are you currently also working with external accessories, if you would like to continue more discussion your more than welcome to contact me via pm or our facebook app developers group for mooncatventures group.
I'd be willing to share info I do not want to post in an open forum.

Thanks again for the help
__________________
Help us build great applications or let us make your applications exceptional. find us on Facebook
michelle is offline   Reply With Quote
Old 01-18-2012, 03:39 PM   #9 (permalink)
Registered Member
 
Join Date: Nov 2009
Location: Helsinki
Posts: 304
fiftysixty is on a distinguished road
Default

Quote:
Originally Posted by michelle View Post
You seem to be quite interested (and helpful) in this area, are you currently also working with external accessories, if you would like to continue more discussion your more than welcome to contact me via pm or our facebook app developers group for mooncatventures group.
I'd be willing to share info I do not want to post in an open forum.

Thanks again for the help
I'm not working with external accessories, and I'm not currently even working on anything related to inter-app communications. But I have been playing with an idea for an app that could act as a central hub. So far I haven't actually decided to implement anything because I'm kind of hoping that Apple would step up to the game a bit more.
fiftysixty 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: 397
13 members and 384 guests
bignoggins, BSH, djqbert, Duncan C, epaga, flamingliquid, jbro, jcdevelopments, leighec68, markolo, nobstudio, revg, taylor202
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

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