MCPcopy Create free account
hub / github.com/GcsSloop/SUtil / getPackageName

Method getPackageName

library/src/main/java/com/sloop/utils/AppUtils.java:24–26  ·  view source on GitHub ↗

获取当前程序包名 @param context 上下文 @return 程序包名

(Context context)

Source from the content-addressed store, hash-verified

22 * @return 程序包名
23 */
24 public static String getPackageName(Context context) {
25 return context.getPackageName();
26 }
27
28 /**
29 * 获取程序版本信息

Callers 3

getVersionNameMethod · 0.80
getVersionCodeMethod · 0.80
isBackgroundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected