MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / initialize

Method initialize

src/plugins/sdcard/src/android/SDcard.java:66–76  ·  view source on GitHub ↗
(CordovaInterface cordova, CordovaWebView webView)

Source from the content-addressed store, hash-verified

64 private WorkspaceIndex workspaceIndex;
65
66 public void initialize(CordovaInterface cordova, CordovaWebView webView) {
67 super.initialize(cordova, webView);
68 this.REQUEST_CODE = this.ACCESS_INTENT;
69 this.context = cordova.getContext();
70 this.activity = cordova.getActivity();
71 this.contentResolver = this.context.getContentResolver();
72 this.workspaceIndex = new WorkspaceIndex(this.context);
73 this.storageManager = (StorageManager) this.activity.getSystemService(
74 Context.STORAGE_SERVICE
75 );
76 }
77
78 public boolean execute(
79 String action,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected