Hi Dianne,
Sorry for responding to very old post. I have one app Adobe Connect Mobile (
https://play.google.com/store/apps/details?id=air.com.adobe.connectpro&feature=search_result#?t=W251bGwsMSwxLDEsImFpci5jb20uYWRvYmUuY29ubmVjdHBybyJd)
which I want to launch through web link. I have checked
the AndroidManifest.xml of this app and as per that it has
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE"
/>
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="connectpro" />
</intent-filter>
So, browsable is also set and schema is set to 'connectpro'.
but when i try accessing it on web as "connectpro://" it goes to google
search page and do not launch the app. This is true for chrome, google
default browser on my samsung tab and also on opera. But on firefox, it
realise that its URI of app and ask to launch the app. But on Firefox, it
does same even if app is installed or not.
Can you please help? To note, this app is third party free app and so i can
not change any thing in its manifest file. But the current manifest file
seems have required configuration to launch from weblink but somehow it
does not work.
Jignesh
On Monday, 2 May 2011 21:30:24 UTC+5:30, Dianne Hackborn wrote:
>
> This has been used in Android since 1.0 by apps like Market, YouTube, and
> Gmail to allow the user to select to go to the app which clicking a link
> from the browser. The sample code I showed is the actual code in Market.
> This definitely does work, on every version of Android.
>
> Re: using custom schemes -- it is fundamentally broken to randomly define
> new schemes that appear on web pages, because schemes are a universal
> namespace so it is extremely easy to have conflicting schemes with had
> results. This is why on Android we strongly recommend intercepting URIs
> based on real web site URIs. This also allows decent graceful fallback for
> the case where there is not an app that knows how to intercept the URI --
> the URI can still be shown as an actual web page, with whatever you want
> including instructions on how to download and install your app.
>
> If iOS doesn't support this... well, I can't make them allow for a
> non-broken way to do this. :} Android *does* allow you to intercept just
> by scheme, we just discourage this because it is fundamentally flawed.
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en