A Swiss Geek previously in Singapore, now in Portugal

Android

Android: Open an app from web link or fallback to market

For the Android app we developed at Spuul, we needed to redirect users to the app when they opened certain links on their device. The first problem was that not every link should open the app, since some pages are ment to be visited by a mobile device. The second problem was to redirect users to Google Play when the app is not installed. Opening the app for certain links only Android apps have the ability to interact with the network stack and launch an app according to known patterns in an URI.

Read More…