如何在程序中获得应用程序的包名
ResolveInfo rl = this.getPackageManager().resolveActivity(getIntent(), 0);System.out.println("包名: " + rl.activityInfo.packageName);