Re: Opening Native App with Emy

2015-12-28 Thread Remi Grumeau
Thx !
If you have any URL or screenshot you can share with us, i'd be happy to
see what you create with Emy :)

Chhers


Remi

On Wed, Dec 23, 2015 at 9:35 PM, Arthur Shanker 
wrote:

> Thank you, Remi, works like a charm.
>
> I greatly appreciate the patience and the source material.
>
> On Mon, Dec 21, 2015 at 3:07 PM, Remi Grumeau 
> wrote:
>
>> Hi Arthur,
>>
>> There is a method called "isNativeUrl" in both iUI & Emy to deal with
>> native URL Schemes.
>>
>> http://emy-library.org/documentation/latest/core-documentation.html#emy-isnativeurl
>>
>> Any clic event is intercepted by Emy, and go tru a list of checks, this
>> one included.
>> If this method returns true, then Emy stops checks and leave the browser
>> to handle the clic event by its own.
>> So the simplest for now for you is to edit emy.js & add yours in this
>> method.
>>
>> The best would be to modify Emy's code to add a addNativeUrl method so
>> you can do this onload from your code without editing the core one.
>> ( Github pull request appreciate :) )
>>
>> Remi
>>
>>
>> On Mon, Dec 21, 2015 at 7:48 PM, Arthur  wrote:
>>
>>> I migrated my studying from iUI Framework to Emy for building a
>>> standalone web app and ran into a problem.
>>>
>>> Under iUI, I had a link to a native iOS app which worked,and a link to
>>> an external web site ( using "a href") which  didn't.
>>>
>>> Now, the link to the external web site works (using "a href" and
>>> "target="_blank") but the native app does not work (using the same Apple
>>> URI scheme as before (a href="abdigateaccess://WI")
>>>
>>> Any suggestions how to fix this?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "iPhoneWebDev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to iphonewebdev+unsubscr...@googlegroups.com.
>>> To post to this group, send email to iphonewebdev@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/iphonewebdev.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "iPhoneWebDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to iphonewebdev+unsubscr...@googlegroups.com.
>> To post to this group, send email to iphonewebdev@googlegroups.com.
>> Visit this group at https://groups.google.com/group/iphonewebdev.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iphonewebdev+unsubscr...@googlegroups.com.
> To post to this group, send email to iphonewebdev@googlegroups.com.
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.


Re: Opening Native App with Emy

2015-12-23 Thread Arthur Shanker
Thank you, Remi, works like a charm.

I greatly appreciate the patience and the source material.

On Mon, Dec 21, 2015 at 3:07 PM, Remi Grumeau 
wrote:

> Hi Arthur,
>
> There is a method called "isNativeUrl" in both iUI & Emy to deal with
> native URL Schemes.
>
> http://emy-library.org/documentation/latest/core-documentation.html#emy-isnativeurl
>
> Any clic event is intercepted by Emy, and go tru a list of checks, this
> one included.
> If this method returns true, then Emy stops checks and leave the browser
> to handle the clic event by its own.
> So the simplest for now for you is to edit emy.js & add yours in this
> method.
>
> The best would be to modify Emy's code to add a addNativeUrl method so you
> can do this onload from your code without editing the core one.
> ( Github pull request appreciate :) )
>
> Remi
>
>
> On Mon, Dec 21, 2015 at 7:48 PM, Arthur  wrote:
>
>> I migrated my studying from iUI Framework to Emy for building a
>> standalone web app and ran into a problem.
>>
>> Under iUI, I had a link to a native iOS app which worked,and a link to an
>> external web site ( using "a href") which  didn't.
>>
>> Now, the link to the external web site works (using "a href" and
>> "target="_blank") but the native app does not work (using the same Apple
>> URI scheme as before (a href="abdigateaccess://WI")
>>
>> Any suggestions how to fix this?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "iPhoneWebDev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to iphonewebdev+unsubscr...@googlegroups.com.
>> To post to this group, send email to iphonewebdev@googlegroups.com.
>> Visit this group at https://groups.google.com/group/iphonewebdev.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iphonewebdev+unsubscr...@googlegroups.com.
> To post to this group, send email to iphonewebdev@googlegroups.com.
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.


Re: Opening Native App with Emy

2015-12-23 Thread Arthur
Thank you. I will give this a try and respond with the results.

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.


Re: Opening Native App with Emy

2015-12-21 Thread Remi Grumeau
Hi Arthur,

There is a method called "isNativeUrl" in both iUI & Emy to deal with
native URL Schemes.
http://emy-library.org/documentation/latest/core-documentation.html#emy-isnativeurl

Any clic event is intercepted by Emy, and go tru a list of checks, this one
included.
If this method returns true, then Emy stops checks and leave the browser to
handle the clic event by its own.
So the simplest for now for you is to edit emy.js & add yours in this
method.

The best would be to modify Emy's code to add a addNativeUrl method so you
can do this onload from your code without editing the core one.
( Github pull request appreciate :) )

Remi


On Mon, Dec 21, 2015 at 7:48 PM, Arthur  wrote:

> I migrated my studying from iUI Framework to Emy for building a standalone
> web app and ran into a problem.
>
> Under iUI, I had a link to a native iOS app which worked,and a link to an
> external web site ( using "a href") which  didn't.
>
> Now, the link to the external web site works (using "a href" and
> "target="_blank") but the native app does not work (using the same Apple
> URI scheme as before (a href="abdigateaccess://WI")
>
> Any suggestions how to fix this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to iphonewebdev+unsubscr...@googlegroups.com.
> To post to this group, send email to iphonewebdev@googlegroups.com.
> Visit this group at https://groups.google.com/group/iphonewebdev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to iphonewebdev+unsubscr...@googlegroups.com.
To post to this group, send email to iphonewebdev@googlegroups.com.
Visit this group at https://groups.google.com/group/iphonewebdev.
For more options, visit https://groups.google.com/d/optout.