Installs a Hybrid App package.
MobileHybridAppIDVO installMobileHybridApp(byte[] zippedWorkflowPackage) throws SUPAdminException;
If successful, returns an object of the specified type (can be null). If unsuccessful, returns SUPAdminException.
// Install workflow byte[] hybridAppBytes= getHybridAppBytes(); MobileHybridAppIDVO hybridAppID = mobileHybridApp .installMobileHybridApp(hybridAppBytes); private byte[] getHybridAppBytes() throws URISyntaxException, IOException { String ZIP_NAME = "C:/ActivitiesPackage.zip"; File zipFile = new File(ZIP_NAME); byte[] zippedWorkflowPackage = new byte[(int) zipFile.length()]; DataInputStream inputStream = new DataInputStream(new FileInputStream( zipFile)); inputStream.readFully(zippedWorkflowPackage); return zippedWorkflowPackage; } }