Windows 10 移动版:如何查看我的应用程序文件夹的内部? [英] Windows 10 Mobile: how can I see inside on my app folder?

查看:59
本文介绍了Windows 10 移动版:如何查看我的应用程序文件夹的内部?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在我的设备上部署我的 Windows 10 移动版应用程序.我想检查文件夹以确保应用程序创建了文件夹和文件.

我该怎么做?我尝试使用

我尝试直接在 Windows Phone 上打开文件资源管理器,但结果完全一样.

我的 Windows 10 移动版是 1607,操作系统版本 10.0.14915.1000

提前致谢.

解决方案

我们可以使用

这里,要通过 USB 访问,地址应该是 但是,LocalAppData 中没有任何内容.
这似乎是 Insider Preview 问题,因为 App File Explorer 在最新的 RTM OS 版本(内部版本 14393)中运行良好.对于 Insider Preview 问题,请随时与 Microsoft 分享反馈.您可以使用 Windows 反馈应用报告此问题.您的反馈使 Windows 变得更好!

作为一种解决方法,您可以尝试使用我上面提到的工具或使用 Device Portal 核心 API 如下所示:

https://127.0.0.1:10443/api/filesystem/apps/files?knownfolderid=LocalAppData&packagefullname=3f828c97-6b7d-4068-8f9c-710df704c8ff_1.0.0.0_arm__fywkhfe

应用文件资源管理器也建立在这些 API 之上.您可以更改packagefullname 以查看您感兴趣的应用程序.您可以使用

GET/api/app/packagemanager/packages

获取已安装软件包的相关详细信息.

有关详细信息,请参阅 Device Portal 核心 API 参考.

I'm deploying my Windows 10 Mobile application on my device. I want to inspect the folder to be sure the application created folders and files.

How can I do that? I tried with the webapp in the phone but I access only on the Documents folder.

I asked this here because in my Windows Phone with latest update (I active Windows Insider Programme then I think I have for sure the latest version of the OS) I can't explore app folders as you see on the following picture. If I click on the link User files nothing happened.

I have access only with network because if I try to open http://127.0.0.1:10443 nothing happened. Maybe it's only a problem on my device.

I tried to open File explorer directly on the Windows Phone but the result was exactly the same.

My Windows 10 Mobile version is 1607, OS Build 10.0.14915.1000

Thank you in advance.

解决方案

We can use App File Explorer to view and manipulate files stored by your sideloaded apps. This tool should be able to work no matter your application is deployed in Debug mode or Release mode. But please note that this is a new tool added to Device Portal in the Anniversary Update (AU).

For how to use this tool, please see Using the App File Explorer to see your app data and also Device Portal for Mobile.

If your mobile's OS Version is earlier than Anniversary Update such as OS Build 10586, then you can use IsolatedStorageExplorer (ISE) from Windows Phone 8.1 or some other open-source tools like IsoStoreSpy and Windows Phone Power Tools.

Update:

Thanks for your feedback. I can reproduce your issue when I test with Windows 10 Mobile OS Build 10.0.14915.1000.

Here, to access with USB, the address should be https://127.0.0.1:10443. As it is said in Device Portal for Mobile:

USB: http://127.0.0.1:10080

Use this address when the phone is connected to a PC via a USB connection. Both devices must have Windows 10, Version 1511 or later.

So when we connected via USB, we need use http://127.0.0.1:10080 and if we enabled authentication, it will automatically redirect to https://127.0.0.1:10443.

After refreshing this page, I can see LocalAppData under User files
However, there is nothing in LocalAppData.
This seems to be an Insider Preview issue as App File Explorer works well in latest RTM OS version (Build 14393). For Insider Preview issues, please feel free to share feedbacks with Microsoft. You can report this issue with Windows Feedback app. Your feedback has made Windows better!

And as a workaround, you can try with the tools I've mentioned above or using Device Portal core API like following:

https://127.0.0.1:10443/api/filesystem/apps/files?knownfolderid=LocalAppData&packagefullname=3f828c97-6b7d-4068-8f9c-710df704c8ff_1.0.0.0_arm__9wkhgz7fyfewr

App File Explorer also built on top of these APIs. You can change packagefullname to see the app you are interested in. And you can use

GET /api/app/packagemanager/packages

to get associated details of installed packages.

For more info, please see Device Portal core API reference.

这篇关于Windows 10 移动版:如何查看我的应用程序文件夹的内部?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆