Java tutorial
//package com.java2s; import android.content.Context; public class Main { public static String PublisherId = null; public static String VideoFileDir = null; public static void GetPackage(Context context) { if (context != null) VideoFileDir = context.getPackageName() + "/" + PublisherId + "/"; } }