MCPcopy Create free account
hub / github.com/cSploit/android / ApkUpdate

Method ApkUpdate

cSploit/src/org/csploit/android/update/ApkUpdate.java:17–23  ·  view source on GitHub ↗
(Context context, String url, String version)

Source from the content-addressed store, hash-verified

15public class ApkUpdate extends Update {
16
17 public ApkUpdate(Context context, String url, String version) {
18 this.url = url;
19 this.version = version;
20 name = String.format("cSploit-%s.apk", version);
21 path = String.format("%s/%s", System.getStoragePath(), name);
22 prompt = String.format(context.getString(R.string.new_apk_found), version);
23 }
24
25 @Override
26 public boolean haveIntent() {

Callers

nothing calls this directly

Calls 2

getStoragePathMethod · 0.95
formatMethod · 0.80

Tested by

no test coverage detected