Android developers can configure another Android application to automatically launch ProntoForms when users reach a particular location in the app.
Important Points to Note:
- For the other app to successfully launch ProntoForms, ProntoForms must be installed on the user's mobile device.
- If ProntoForms is not installed on the device, there are safeguards that could be implemented, such as sending the user directly to the ProntoForms app's download page in the Google Play Store.
- Of course, the mobile user must have/be given ProntoForms credentials if you would like them to have access to specific forms.
This can also be done using App-to-App Communication.
ProntoForms can be initiated from an external Android App using an Android Intent. An intent is a description of an action/operation to be performed; read more about Intents in the Android Developer Guide.
The required line, depending on where in the code it is needed, will be either:
Intent LaunchIntent = getPackageManager().getLaunchIntentForPackage("com.truecontext.prontoforms"); startActivity(LaunchIntent);
Intent LaunchIntent = getActivity().getPackageManager().getLaunchIntentForPackage("com.truecontext.prontoforms"); startActivity(LaunchIntent);