public class DownloadAppUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
downloadUpdateApkFilePath |
static long |
downloadUpdateApkId |
| Constructor and Description |
|---|
DownloadAppUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadForAutoInstall(android.content.Context context,
java.lang.String url,
java.lang.String fileName,
java.lang.String title)
下载更新apk包
权限:1,
|
static void |
downloadForWebView(android.content.Context context,
java.lang.String url)
通过浏览器下载APK包
|
public static long downloadUpdateApkId
public static java.lang.String downloadUpdateApkFilePath
public static void downloadForWebView(android.content.Context context,
java.lang.String url)
context - url - public static void downloadForAutoInstall(android.content.Context context,
java.lang.String url,
java.lang.String fileName,
java.lang.String title)
context - url -