Strava

Engineering Blog


Intent Filters in the 3.0 Android App

Posted by MateoAO on December 10th, 2012

URI Intent Filters – they sound complicated (and nerdy), but the concept is actually simple: when certain types of links are encountered on your device (e.g. on a web page, in your email, in another app, etc.), you have the option of allowing an app to handle them instead of the browser. In the case of Strava’s Android App (both Cycling & Run), starting with version 3.0 a link to Strava (such as a ride or run URL) can be opened directly by the app. Below are some examples:

Links to Rides & Runs on Facebook, Twitter, Path, etc..

1. Click a link to Strava 2. Select the Strava app 3. The Strava app handles it!

Such links can appear anywhere, and thanks to the power of Android, the Strava app can handle them all. More examples:

 A web page SMS message TweetDeck

Email Notifications

This is my favorite use case: with Intent Filters you essentially get Strava push notifications, as any link within a Strava email can be intercepted by the Strava app. The Strava app currently handles Activity, Segment, Profile and  Follower related links. Any other links will just send you to the browser (as normal).

1. Click a link to Strava 2. Select the Strava app 3. The Strava app handles it!

That’s it! If you can’t wait for the official 3.0 release get the Early Access release and play with the link clicking today!

NOTE: if you’re new to email notifications in Strava, they can be managed from within the Strava app (Settings->Notifications and Followers), or on the website.

Comments Off

Recent Posts

  • Update on the API V3 Release and V1 & V2 Retirement
  • Strava API Update
  • Evolution of an Easter Egg
  • iOS App Features and Shortcuts
  • Intent Filters in the 3.0 Android App
  • Attention Android Users: 3.0 Early Access is Available
  • KOMs, Powered By Redis
  • Your Suffering + Our Code = Strava

Links

  • API Documentation
  • Work at Strava!

Subscribe to our RSS Feed


Strava — Built for Athletes
©2008-2013 Strava, Inc
All rights reserved.
About
  • About
  • How It Works
  • Features
  • Mobile
  • Premium
  • Privacy Policy
  • Terms and Conditions
Follow
  • Facebook
  • Twitter
  • Blog
Help
  • Support
  • FAQ
More
  • Sign Up
  • Log In
  • Strava Store
  • Careers
  • Ambassadors
  • Pros on Strava