On Sun, Sep 16, 2012 at 2:55 PM, ViToBrothers <vitobrothers...@gmail.com> wrote:
> Let me describe my problem. I want to start my application when user press
> on a link in a Android standard browser. For that I use code from the
> article "How to launch the app from the Web page?". Everything works good
> when application is installed and I open web browser and click on the link
> my application automatically launches. But when my application isn't
> installed on the phone and I click on the same link it shows me 404 ERROR.
>
> Is there any method to do something else in that case or may be I am doing
> something wrong. I want following, If my application is installed when user
> press on the link amy application must be opened, if my application isn't
> installed android store must be opened, or that 404 error must be
> redirected.

There is no redirect possibility for intent: URLs. Add the appropriate
<data> element to your manifest to handle a specific http: URL to a
Web page that you control, that can either present information to the
user about the app or possibly redirect the user to a market: URL for
your app.

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

_The Busy Coder's Guide to Android Development_ Version 4.1 Available!

-- 
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

Reply via email to