Re: [android-developers] Re: Starting An Android App From An Url

2012-09-25 Thread Conrad Ciobanica


 Hello All,


Did you find any intent to launch Adobe Connect Mobile? I need to start if 
from an URL. I suspect that a custom URL should be used and pass via 
intents some conference settings.

Thanks a lot,
Conrad
 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2012-09-25 Thread Jignesh Patel

Hi Conrad,

You can launch Adobe Connect mobile through connectpro:// as URL. But you 
shall not try typing this URL to browser itself. As it consider as search 
key word and go to search engine page. 

You can use it as URL set to any anchor (link) on any html page and when 
you click that link it will launch the adobe connect app.

Jignesh

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2012-09-05 Thread Jignesh Patel
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.connectprofeature=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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-05-02 Thread Dianne Hackborn
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.

On Mon, May 2, 2011 at 11:25 AM, andrew and...@mackenzie-serres.net wrote:

 Hi Diane,

 I just wanted to confirm what you are saying, as I have read this can
 be done, then fought with it not working (has this been fixed to not
 work in newer releases of the Android SDK??), and after searching for
 solutions I see lots of posts from other people trying to do this,
 that is: define our own custom scheme so we can send emails and html
 pages that cause the app to open

 I *suspect* I have seen (older?) Android documentation/examples that
 suggests doing it, but as I don't have a solid reference handy I won't
 insist on that point.

 Just found this on my machine, under android API level 9 and level API
 samples Android wicktionary sample code...
 /android-sdk-mac_86/docs/resources/samples/Wiktionary/
 AndroidManifest.html
 intent-filter
action android:name=android.intent.action.VIEW /
category
 android:name=android.intent.category.DEFAULT /
category
 android:name=android.intent.category.BROWSABLE /
 data android:scheme=wiktionary
 android:host=lookup /
/intent-filter


  Please DO NOT use your own scheme.  That is
 yourapplication://doaction?parameters is wrong.

 We are trying to send emails to users with links that can cause the
 app to be opened on Android AND iPhone, but it seems iPhone protects
 the existing schemes and limits them to the built-in apps and does not
 allow us to specify a url filter for the http scheme. so there is
 no way to specify a link that will work on both platforms?

 Aaaarrrggg

 Andrew

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-27 Thread perumal subramaniam
Hi All,

Thanks for all the info. I specified my app's activity to be BROWSABLE in
the AndroidManifest file. I tried by using my own URI scheme. (e.g.
myownapp://dummy)

Then I wrote a sample html page, and specified a link which upon clicking
will start the app. Of course for this to work it must be assumed that the
app is already pre-installed in the device.

As I am testing with my own app and my own webpage, I think I need not stick
to using universal namespace. ( I hope i am correct but this method works!)

Thanks and Regards,
Perumal

On Sun, Mar 27, 2011 at 2:13 AM, Dianne Hackborn hack...@android.comwrote:

 If you are using WebView, you can do whatever you want by looking for
 clicks and using the platform APIs.

 If you are trying to do this from a web page the user is interacting with
 in the standard browser, you should use the mechanism I am suggesting.


 On Sat, Mar 26, 2011 at 9:40 AM, Lutz Bendlin l...@pocketgpsworld.comwrote:

 I didn't mean access, it was more about being able to launch the other
 activity. Surely you could craft a webpage with callbacks to your code that
 would then start the launcher intents ?



 *From:* Dianne Hackborn [mailto:hack...@android.com]
 *Sent:* Friday, March 25, 2011 10:02 PM
 *To:* android-developers@googlegroups.com
 *Cc:* Lutz Bendlin; perumal316
 *Subject:* Re: [android-developers] Re: Starting An Android App From An
 Url



 Yes it does.  The application uses the tags I showed to indicate it can
 handle a particular (or set of) http: URIs.



 Nothing gives you direct access to any application on the phone.  The
 application must at least opt in to being launched from the browser by
 supporting the BROWSABLE category for the activities it will allow to be
 launched.

 On Fri, Mar 25, 2011 at 5:37 PM, lbendlin l...@bendlin.us wrote:

 but http:// doesn't give you access to the local applications on the
 phone.  That was the OP's question (as I understand it). Do you need to do a
 binding from the webview back to the activity, and then a local translator
 to start the intent?




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-27 Thread Kostya Vasilyev

27.03.2011 18:53, perumal subramaniam пишет:


As I am testing with my own app and my own webpage, I think I need not 
stick to using universal namespace. ( I hope i am correct but this 
method works!)


You still do.

If someone else uses myownapp:// (which is not really far-fetched), 
your applications will get mixed up.


Since it's your own site, just use its name to filter for 
http://perumal.subramaniam.com/myapp; or whatever.


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Starting An Android App From An Url

2011-03-27 Thread Mark Murphy
On Sun, Mar 27, 2011 at 11:00 AM, Kostya Vasilyev kmans...@gmail.com wrote:
 Since it's your own site, just use its name to filter for
 http://perumal.subramaniam.com/myapp; or whatever.

As a bonus, you can even put a real Web page there, with instructions
to the user to go download your app. Barcode Scanner works this way,
IIRC.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Oslo: http://bit.ly/fjBo24

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Starting An Android App From An Url

2011-03-26 Thread Dianne Hackborn
If you are using WebView, you can do whatever you want by looking for clicks
and using the platform APIs.

If you are trying to do this from a web page the user is interacting with in
the standard browser, you should use the mechanism I am suggesting.

On Sat, Mar 26, 2011 at 9:40 AM, Lutz Bendlin l...@pocketgpsworld.comwrote:

 I didn't mean access, it was more about being able to launch the other
 activity. Surely you could craft a webpage with callbacks to your code that
 would then start the launcher intents ?



 *From:* Dianne Hackborn [mailto:hack...@android.com]
 *Sent:* Friday, March 25, 2011 10:02 PM
 *To:* android-developers@googlegroups.com
 *Cc:* Lutz Bendlin; perumal316
 *Subject:* Re: [android-developers] Re: Starting An Android App From An
 Url



 Yes it does.  The application uses the tags I showed to indicate it can
 handle a particular (or set of) http: URIs.



 Nothing gives you direct access to any application on the phone.  The
 application must at least opt in to being launched from the browser by
 supporting the BROWSABLE category for the activities it will allow to be
 launched.

 On Fri, Mar 25, 2011 at 5:37 PM, lbendlin l...@bendlin.us wrote:

 but http:// doesn't give you access to the local applications on the
 phone.  That was the OP's question (as I understand it). Do you need to do a
 binding from the webview back to the activity, and then a local translator
 to start the intent?




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread Dianne Hackborn
Um I don't mind.  Call me Dianne, Hackborn, hackbod, they all work.

As far as the scheme -- the example specifies http and https.  Please DO
NOT use your own scheme.  That is yourapplication://doaction?parameters is
wrong.  Schemes are a *universal* namespace.  There are RFCs describing the
schemes, and these names need to be unique.  The original use of market:
was wrong, and should not be an example that is followed.

Also using http is just intrinsically better because that allows you to
have your app match against a web URI you actually own and can serve, so if
the user is not on an Android device with your app on it the link will still
do something.  You can give them a web page that tells them they need to
install your app, has a link to your app on market, etc.

On Fri, Mar 25, 2011 at 4:15 PM, lbendlin l...@bendlin.us wrote:

 Perumal,
 in western culture it is not polite to address someone just by last name.
 In the future please address her as Dianne.

 the format is yourapplication://doaction?parameters

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread lbendlin
but http:// doesn't give you access to the local applications on the phone.  
That was the OP's question (as I understand it). Do you need to do a binding 
from the webview back to the activity, and then a local translator to start 
the intent?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread Dianne Hackborn
Yes it does.  The application uses the tags I showed to indicate it can
handle a particular (or set of) http: URIs.

Nothing gives you direct access to any application on the phone.  The
application must at least opt in to being launched from the browser by
supporting the BROWSABLE category for the activities it will allow to be
launched.

On Fri, Mar 25, 2011 at 5:37 PM, lbendlin l...@bendlin.us wrote:

 but http:// doesn't give you access to the local applications on the
 phone.  That was the OP's question (as I understand it). Do you need to do a
 binding from the webview back to the activity, and then a local translator
 to start the intent?




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en