Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

This is not a programming question but a usability one.

News site example.com has an annoying habit: when I follow a link to an article, the site first displays a pop-up saying “come use our app instead!” So I did, but article links still open the web browser, and still bring up that pop-up.

I’d like to file a bug with the app developer. Could the app have been designed to consume all URLs beginning with http://example.com/? (Otherwise I’ll complain to the web site designers.)

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

What you're describing is generally referred to in Android parlance as an "intent filter", and yes - Android supports this via the <data> element in the application's manifest file. You could point them to that documentation link in your bug report. You can also find examples on Stack Overflow with some relevant code samples:

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.