Reading android manifest file

后端 未结 2 804
心在旅途
心在旅途 2021-01-24 22:41

Is there any way we can read/parse android manifest file as we do it for files in raw folder as mentioned here:

http://eagle.phys.utk.edu/guidry/android/writeSD.html

2条回答
  •  执笔经年
    2021-01-24 23:29

    [Edit after OP's comment] : You can use Android's PackageManaer http://developer.android.com/reference/android/content/pm/PackageManager.html to get information about the contents of the manifest file that Android understands.

提交回复
热议问题