URL scheme

Post all the new features you would like our engineering team to work on here

URL scheme

Postby kcassam on Thu Sep 15, 2011 6:29 am

Please, register a URL scheme for Eye-FI iOS app. That way we could launch your app from another app to initiate it when the background process Eye-Fi card -> photo roll is needed.

Thanks !
kcassam
 
Posts: 3
Joined: Wed Sep 14, 2011 9:29 am

Re: URL scheme

Postby berend on Thu Sep 15, 2011 7:16 am

kcassam wrote:Please, register a URL scheme for Eye-FI iOS app. That way we could launch your app from another app to initiate it when the background process


OK. Done. Try eyefi://

:-)

Berend
User avatar
berend
Eye-Fi'er
 
Posts: 856
Joined: Mon Oct 01, 2007 11:09 am

Re: URL scheme

Postby kcassam on Fri Sep 30, 2011 8:38 am

Hi Berend,

First : Sorry, I cannot put URLs in this post because the forum robot forbids it (it won't let me submit my post, it says "Your post looks too spamy for a new user, please remove off-site URLs.")

This being said, the eyefi URL scheme works. Thanks for that.

I would like now to be able to call back my iOS app. Remember, I want to use Eye-Fi as a background process only (just like Eye-Fi Helper on Windows or Mac OS X)

Let's call my iOS app iPortrait and let's assume i registered a iportrait:// URL scheme.

That would require you to add some code to Eye-Fi app for it to manage a callback action. So for example, if I call from my app

eyefi://action?callback=iportrait, it will open your app and then your app will call my app thanks to the callback value => iportrait://

This is well explained on the first stackoverflow thread if you search "ios-url-scheme-return-to-safari-when-done" on google (remember, I am not allowed to type URLs in this post, LOL !)

I am not a professional iOS dev but technically it seems only a matter of calling a openURL function.

What do you think about implementing this callback action ?

It would mean a lot to me. It would implement the same logic as the Eye-Fi Helper but for iOS.
kcassam
 
Posts: 3
Joined: Wed Sep 14, 2011 9:29 am

Re: URL scheme

Postby berend on Fri Sep 30, 2011 3:01 pm

kcassam wrote:This being said, the eyefi URL scheme works. Thanks for that... That would require you to add some code to Eye-Fi app for it to manage a callback action. So for example, if I call from my app eyefi://action?callback=iportrait, it will open your app and then your app will call my app


No, it is very unlikely that we would ever turn our app into a launch-pad for launching other apps like this. There are some security implications, as well as being "too much like the main Springboard (home screen) app in iOS" which can be grounds for rejection in the review process. It is one thing to open another app to handle a specific document, but another to simply launch ourselves then launch another one (by way of a registered URI scheme).

Remember, I want to use Eye-Fi as a background process only (just like Eye-Fi Helper on Windows or Mac OS X)


iOS does not permit arbitrary apps to run in the background (for any meaningfully-long period of time).

Berend
User avatar
berend
Eye-Fi'er
 
Posts: 856
Joined: Mon Oct 01, 2007 11:09 am


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests