rev2004 / android2cloud

Automatically exported from code.google.com/p/android2cloud
0 stars 0 forks source link

Creating an intent for other applications. #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What I'd like to see:

Integration of intent that would be available from my app to open a webpage on 
user browser.

First, of all, sorry for my bad english, I'll do my best to make a clear and 
understandable request!

I am currently developer of a few apps in the Android Market. I would like to 
share link to my webpage or forum within the "about section" of my application.

But as you know, mobile browsers are slow and nor so user friendly. So my 
request is: 

Is that possible to send an intent to your application, to let the user open a 
link in his/her computer at home?
That would be usefull to share links. I can perform a check on these links and 
if you application is not installed, make a link to the Market to your app.

Thank a lot.

Original issue reported on code.google.com by Christop...@gmail.com on 12 Oct 2010 at 12:17

GoogleCodeExporter commented 9 years ago
android2cloud responds to the Share Intent that Android includes by default. 
You can find implementation details here: 
http://androidforums.com/application-development/98031-share-intent.html

As for a specific intent to open just our application... That's not really in 
the spirit of the application or Android. You'd be better served using the 
Share intent, and allowing users to share their links with whatever app they 
prefer.

If, on the other hand, you're looking for a way to implement our service as an 
API of sorts, just adding its functionality to your app, we can help you 
implement that. :)

Original comment by foran.pa...@gmail.com on 12 Oct 2010 at 3:38

GoogleCodeExporter commented 9 years ago
Ok, thank a lot for the answer.

The Share Intent is a first step and maybe a first idea on how to implement 
what I had in mind, but the API proposal and your help might be really helpfull.

On my button I had in mind something like:

if(PackageManager.checkIfAndroid2CloudIsInstalled())
    - Send link of my forum to Desktop
else
   - Create an alertDialog with explanations and open Android2Cloud in Android Market

because I don't want a link to my forum to be shared via Facebook or Twitter, 
etc...

So, I am very interested in your last proposal: "If, on the other hand, you're 
looking for a way to implement our service as an API of sorts, just adding its 
functionality to your app, we can help you implement that. :)"
And I would say: "Yes, please help me to implement that ;)"

Thank a lot again for your fast and kind answer.

Original comment by Christop...@gmail.com on 12 Oct 2010 at 7:03

GoogleCodeExporter commented 9 years ago
Not a problem. This isn't really an issue to be discussed in the bug tracker, 
however. Would you mind taking this to email? I can be reached at paddy at 
android2cloud dot org. I'd be happy to discuss helping implement an API with 
you if you could give me more information about your application. An API may 
not even be what you want-- you may want to just recreate the service on your 
own. :)

Original comment by foran.pa...@gmail.com on 13 Oct 2010 at 5:28