zoukankan      html  css  js  c++  java
  • android中获取当前程序路径

    (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


    作者:kissazi2
    出处:http://www.cnblogs.com/kissazi2/
    本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

  • 相关阅读:
    p1706 全排列
    2089烤鸡(类似于选数问题)
    1036选数
    bfs
    A-E
    A-3
    百题A-2
    百题A-1
    二级概念题
    随记
  • 原文地址:https://www.cnblogs.com/kissazi2/p/2701298.html
Copyright © 2011-2022 走看看