Example usage for android.content Context getPackageName

List of usage examples for android.content Context getPackageName

Introduction

In this page you can find the example usage for android.content Context getPackageName.

Prototype

public abstract String getPackageName();

Source Link

Document

Return the name of this application's package.

Usage

From source file:Main.java

public static String getPackageName(Context c) {
    return c.getPackageName();
}

From source file:Main.java

public static final String getPkg(Context ctx) {
    return ctx.getPackageName();
}

From source file:Main.java

public static String getPkgName(Context ctx) {
    return ctx.getPackageName();
}

From source file:Main.java

public static String getDbName(Context context) {
    return context.getPackageName() + ".db";
}

From source file:Main.java

public static String getPackage(Context context) {
    return context.getPackageName();
}

From source file:Main.java

public final static String getFileProviderName(Context context) {
    return context.getPackageName() + ".udeskfileprovider";
}

From source file:Main.java

private static String getDefaultSharedPreferencesName(Context context) {
    return context.getPackageName() + "_preferences";
}

From source file:Main.java

public static String getPacketName(Context context) {
    return context.getPackageName();
}

From source file:Main.java

public static String getPkgName(Context context) {
    return context.getPackageName();
}

From source file:Main.java

public static String getPackageName(Context context) {
    return context.getPackageName();
}