(1)android中获取当前程序路径
getApplicationContext().getFilesDir().getAbsolutePath()

(2)android取已安装的程序列表
List<PackageInfo> packageInfoList =  getPackageManager().getInstalledPackages(0);

(3)对安装路径的说明

http://developer.android.com/guide/appendix/install-location.html

setInstallLocation getInstallLocation

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-25
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
  • 2021-12-17
  • 2021-11-21
相关资源
相似解决方案