installApp

fun installApp(context: Context, apkPath: String)

Install or Update an application

Since

0.0.2

Parameters

context

Activity or Application context should be used

apkPath

APK Path, this path must be accessible to external application, the recommendation is store the apk in sdcard

Throws

eg. installApp(context, "/sdcard/myapp.apk")