You can also add stuff on the end, and catch that in the AppDelegate (I
forget the method name - HandleUrl or something like that). So you could do:

phils-app://show-lovely-waiheke-sunset/1234

and act on the parameters an do something - load a specific screen (or
picture) etc.

VERY handy. Also good for oauth - make the oauth thing redirect to
phils-app://?code=hfhfhfhfhfhff and when they have done the auth using
safari (of facebook.app, or dropbox.app...), your app gets relaunched and
you can pick up the code. I found it cleaner to embed a UIWebView, but
either way works.

(for those who are not Phil, here's a sunset on Waiheke, which is an island
in Auckland harbour, in New Zealand. Phil: look out your window for the
real thing.
http://cdn2.gbot.me/photos/6m/Pf/1285010240/Sunset_over_Auckland_from-Waiheke_Island-2000000015944-500x375.jpg)

On Wed, Sep 5, 2012 at 11:51 PM, Phil Cockfield <p...@cockfield.net> wrote:

> Wow - it damn well does work!
>
> Thanks *Jason*.
>
> That is huge.  The reason I asked this is I was just talking with someone
> in academia who'd noticed on multiple projects they'd been trialling that
> TXT/SMS was far more effective as a trigger than Push notifications.
>
> For some reason, TXT (in this person's experience at least) seems to
> be categorised differently in users minds - and it acted upon more readily
> than push notifications.
>
>
>
> On Thu, Sep 6, 2012 at 9:45 AM, Jason Awbrey <ja...@awbrey.net> wrote:
>
>> should be easy enough to test - try sending yourself a text containing a
>> url scheme for an app you have registered (like twitter://...)
>>
>> On Wed, Sep 5, 2012 at 4:42 PM, Phil Cockfield <p...@cockfield.net>wrote:
>>
>>> I'm wondering if it's possible to cause my app to be launched based on a
>>> link in a TXT/SMS message.
>>>
>>> It's possible to do the reverse of this, using the iPhone URL scheme,
>>>
>>> sms:1-408-555-1212
>>> REF<http://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/iPhoneURLScheme_Reference.pdf>:
>>> Apple URL Scheme Reference
>>>
>>>
>>> But I would like to do the opposite.  Send a TXT notification, then have
>>> the app launch from there.
>>>
>>> --
>>> *Phil *Cockfield
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> MonoTouch mailing list
>>> MonoTouch@lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>>
>>
>
>
> --
> *Phil *Cockfield
>
>
>
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>


-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop.
http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding!
http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to