MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / getVersion

Method getVersion

src/com/cloudream/ishow/App.java:33–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 private String getVersion()
34 {
35 try
36 {
37 PackageManager pm = this.getPackageManager();
38 PackageInfo pi = pm.getPackageInfo(this.getPackageName(), PackageManager.GET_ACTIVITIES);
39 return pi.versionName;
40 }
41 catch(PackageManager.NameNotFoundException e)
42 {
43 e.printStackTrace();
44 }
45 return "1.0.0";
46 }
47
48 public static String getWorkingDirectory()
49 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected