AndroidDeployer Scol plugin
Functions
AndroidDeployer

Functions

int _MAKEandroidUnsignedAppBundle (mmachine m)
 _MAKEandroidUnsignedAppBundle : This function creates an unsigned App Bundle from files contained in the same folder as an AndroidManifest.xml
 
int _MAKEandroidUnsignedAPK (mmachine m)
 _MAKEandroidUnsignedAPK : This function creates an unsigned apk from files contained in the same folder as an AndroidManifest.xml
 
int _ENCRYPTandroidSigningKey (mmachine m)
 _ENCRYPTandroidSigningKey : This function encrypts a signing key (.keystore) so it can be sent to the Play Store
 
int _MAKEandroidSigningKey (mmachine m)
 _MAKEandroidSigningKey : This function creates a signing key (.keystore) used to sign Android APKs
 
int _SIGNandroidAppBundle (mmachine m)
 _SIGNandroidAppBundle : This function signs and zips align an app bundle file
 
int _SIGNandroidAPK (mmachine m)
 _SIGNandroidAPK : This function signs and zips align an APK file
 
int _INSTALLandroidAPK (mmachine m)
 _INSTALLandroidAPK : This function signs and
 
int _CHECKandroidTools (mmachine m)
 _CHECKandroidTools : This function test if the android tools are available
 

Detailed Description

Scol functions for creating and deploying Android APK

Function Documentation

◆ _CHECKandroidTools()

int _CHECKandroidTools ( mmachine  m)

_CHECKandroidTools : This function test if the android tools are available

Prototype: fun [] I

Returns
I : return 1 if present or 0 otherwise

Definition at line 1116 of file androidDeployer.cpp.

◆ _ENCRYPTandroidSigningKey()

int _ENCRYPTandroidSigningKey ( mmachine  m)

_ENCRYPTandroidSigningKey : This function encrypts a signing key (.keystore) so it can be sent to the Play Store

Prototype: fun [P S S P] [P S]

Parameters
P: Keystore Path
S: Key Password
S: Key Alias
S: Bundle path
Returns
[P S] : return encrypted keystore path if success or NIL otherwise

Definition at line 548 of file androidDeployer.cpp.

◆ _INSTALLandroidAPK()

int _INSTALLandroidAPK ( mmachine  m)

_INSTALLandroidAPK : This function signs and

Prototype: fun [P] I

Parameters
P: APK path
Returns
I : return 0 if success or NIL otherwise

Definition at line 1065 of file androidDeployer.cpp.

◆ _MAKEandroidSigningKey()

int _MAKEandroidSigningKey ( mmachine  m)

_MAKEandroidSigningKey : This function creates a signing key (.keystore) used to sign Android APKs

Prototype: fun [W S S [[S S] r1]] [P S]

Parameters
W: Keystore destination Path
S: Key Password
S: Key Alias
[[SS] r1] : Additional parameters (company name, location, country code, ...)
Returns
[P S] : return keystore path if success or NIL otherwise

Definition at line 656 of file androidDeployer.cpp.

◆ _MAKEandroidUnsignedAPK()

int _MAKEandroidUnsignedAPK ( mmachine  m)

_MAKEandroidUnsignedAPK : This function creates an unsigned apk from files contained in the same folder as an AndroidManifest.xml

Prototype: fun [S P] [P S]

Parameters
S: Application Name
P: Path to the AndroidManifest.xml
Returns
[P S] : return unsigned apk if success or NIL otherwise

Definition at line 428 of file androidDeployer.cpp.

◆ _MAKEandroidUnsignedAppBundle()

int _MAKEandroidUnsignedAppBundle ( mmachine  m)

_MAKEandroidUnsignedAppBundle : This function creates an unsigned App Bundle from files contained in the same folder as an AndroidManifest.xml

Prototype: fun [S P] [P S]

Parameters
S: Application Name
P: Path to the AndroidManifest.xml
Returns
[P S] : return unsigned app bundle if success or NIL otherwise

Definition at line 235 of file androidDeployer.cpp.

◆ _SIGNandroidAPK()

int _SIGNandroidAPK ( mmachine  m)

_SIGNandroidAPK : This function signs and zips align an APK file

Prototype: fun [P P S S] [P S]

Parameters
P: APK path
P: Keystore path
S: Key Password
S: Key Alias
Returns
[P S] : return signed and zipped APK path if success or NIL otherwise

Definition at line 920 of file androidDeployer.cpp.

◆ _SIGNandroidAppBundle()

int _SIGNandroidAppBundle ( mmachine  m)

_SIGNandroidAppBundle : This function signs and zips align an app bundle file

Prototype: fun [P P S S] [P S]

Parameters
P: APK path
P: Keystore path
S: Key Password
S: Key Alias
Returns
[P S] : return signed and zipped APK path if success or NIL otherwise

Definition at line 810 of file androidDeployer.cpp.