简体   繁体   English

如何解析.XAP或.Appx包中的Windows 10 Manifest.xml文件

[英]How to parse the Windows 10 Manifest.xml file inside an .XAP or a .Appx package

This file appears to be in a binary XML format. 该文件似乎是二进制XML格式。 What is this format and how can it be parsed programmatically with JAVA? 这种格式是什么?如何用Java编程解析?

Note: I want to access this information from outside the windows mobile environment, preferably from Java. 注意:我想从Windows移动环境之外(最好是从Java)访问此信息。

The Appx and xap files are renamed zip files. Appx和xap文件被重命名为zip文件。 You can use whichever library you usually use to decompress and read zip files to decompress the Appx file. 您可以使用通常用于解压缩的任何库,也可以使用读取zip文件来解压缩Appx文件的库。 Once you've done that the AppxManifest.xml, WMAppManifest.xml, and AppManfiest.xaml files are plain text xml files. 完成操作后,AppxManifest.xml,WMAppManifest.xml和AppManfiest.xaml文件就是纯文本xml文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM