List of utility methods to do Activity Package Get
String | getRuningPkg(Context con) get Runing Pkg ActivityManager am = (ActivityManager) con
.getSystemService(Context.ACTIVITY_SERVICE);
return am.getRunningTasks(1).get(0).topActivity.getPackageName();
|