Launch the Android App with a link or from another app

The CHT Android application can be launched by clicking on a link or invoking an intent in another Android app. This is useful for enabling login by SMS, directing a user to a specific page, and integrating between Android applications.

Sending a URL

When the user clicks on a link to a CHT instance from an SMS, email, WhatsApp, or any other app, Android will prompt the user to choose whether to open the URL in the Android app or the browser. If a CHT app is not installed then the URL will be opened in the browser.

Users can choose “Always” to skip this prompt in future. The prompt may look different depending on the version of Android being used.

Using an intent

To have another Android application launch the CHT Android application, use an ACTION_VIEW intent, for example:

String url = "";
Intent i = new Intent(Intent.ACTION_VIEW);

Version notes

FeatureCHT Core version

CHT Applications > Reference > app_settings.json > .token_login

Token login: Instructions and schema for Login by SMS