Integration in third-party apps
The app can be integrated into other apps by being started automatically via an “Intent”.
If the application is to be started automatically from outside via an “Intent,” this can be done via “de.signotec.signosign.Main”. If a document is also to be transferred via the intent call, this is done via “android.intent.action.VIEW”.
Example:
Intent i = new Intent("android.intent.action.VIEW");
i.setType("application/pdf");
i.putExtra("url", "//sdcard/test.pdf");
startActivityForResult(i, 4711);
public static final int FINISH_BY_CUSTOMARCHIVING = 2021;
public static final int FINISH_BY_ARCHIV = 2020;
public static final int FINISH_BY_DROPBOX = 2025;
public static final int FINISH_BY_SENDTOURL = 2026;
public static final int FINISH_BY_CANCEL_FILESELECT = 1001;
public static final int FINISH_BY_DROPBOX_LOGONERROR = 1002;
public static final int FINISH_BY_CLOSE = 1003;