Page Text: Subscribe on Android for Developers
Introduction
Web and Android developers are encouraged to use this Subscribe on Android resource as it provides and supports the simple, one-click subscription option for Android.
Subscribe on Android supports both http and https protocols as well as host names with port numbers. The Subscribe URL itself is simplistic, there is no need to make any special API calls in your app. All of the information your app will need to subscribe to a podcast is there in the URL from the intent filter.
Android Podcast Application Developers
Android podcast applications are welcome to incorporate the subscribeonandroid.com one-click subscribe links. Please follow the instructions below to add our unique intent filter to your application.
Intent Filters
Android podcasting apps can add the following intent filter to support subscribeonandroid.com subscribe links.
Note: it is imperative that the pathPattern above is used. This allows non-subscribe URLs to continue to load in the browser.
When your application receives the intent filter object, you can retrieve the URL from the intent.getDataString() function call. Simply remove "www.subscribeonandroid.com/" or "subscribeonandroid.com/" from the URL to unveil the podcast feed URL.
Example: http://subscribeonandroid.com/geeknewscentral.com/podcast.xml