4171

Windows 10 Mobile: how can I see inside on my app folder?

Question:

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 <a href="http://www.puresourcecode.com/dotnet/post/How-to-deploy-an-Universal-Windows-Project-on-real-device-mobile" rel="nofollow">webapp</a> 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 <em>User files</em> nothing happened.

I have access only with network because if I try to open <a href="http://127.0.0.1:10443" rel="nofollow noreferrer">http://127.0.0.1:10443</a> nothing happened. Maybe it's only a problem on my device.

<a href="https://i.stack.imgur.com/dG6wZ.png" rel="nofollow"><img alt="File Explorer on my dekstop" class="b-lazy" data-src="https://i.stack.imgur.com/dG6wZ.png" data-original="https://i.stack.imgur.com/dG6wZ.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

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

<a href="https://i.stack.imgur.com/Y4Lji.jpg" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/Y4Lji.jpg" data-original="https://i.stack.imgur.com/Y4Lji.jpg" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

My Windows 10 Mobile version is 1607, OS Build 10.0.14915.1000

Thank you in advance.

Answer1:

We can use <strong><a href="https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal#app-file-explorer" rel="nofollow">App File Explorer</a></strong> 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 <strong>new tool</strong> added to Device Portal in the <strong>Anniversary Update</strong> (AU).

For how to use this tool, please see <a href="https://blogs.windows.com/buildingapps/2016/06/08/using-the-app-file-explorer-to-see-your-app-data/" rel="nofollow">Using the App File Explorer to see your app data</a> and also <a href="https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-mobile" rel="nofollow">Device Portal for Mobile</a>.

If your mobile's OS Version is earlier than Anniversary Update such as OS Build 10586, then you can use <a href="https://msdn.microsoft.com/en-us/library/windows/apps/hh286408%28v=vs.105%29.aspx" rel="nofollow">IsolatedStorageExplorer (ISE)</a> from Windows Phone 8.1 or some other open-source tools like <a href="http://isostorespy.codeplex.com/" rel="nofollow">IsoStoreSpy</a> and <a href="http://go.microsoft.com/fwlink/?LinkId=273005" rel="nofollow">Windows Phone Power Tools</a>.

<strong>Update:</strong>

Thanks for your feedback. I can reproduce your issue when I test with Windows 10 Mobile OS Build 10.0.14915.1000.<br /><a href="https://i.stack.imgur.com/v4FMk.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/v4FMk.png" data-original="https://i.stack.imgur.com/v4FMk.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

Here, to access with USB, the address should be <strong><a href="https://127.0.0.1:10443" rel="nofollow noreferrer">https://127.0.0.1:10443</a></strong>. As it is said in <a href="https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-mobile#turn-on-device-discovery-and-pairing" rel="nofollow">Device Portal for Mobile</a>:

<blockquote>

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.

</blockquote>

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 <strong><em>LocalAppData</em></strong> under <strong><em>User files</em></strong><br /><a href="https://i.stack.imgur.com/q30U0.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/q30U0.png" data-original="https://i.stack.imgur.com/q30U0.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a> However, there is nothing in <strong><em>LocalAppData</em></strong>.<br /><a href="https://i.stack.imgur.com/z4pyF.png" rel="nofollow"><img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/z4pyF.png" data-original="https://i.stack.imgur.com/z4pyF.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a> 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 <strong>Windows Feedback app</strong>. Your feedback has made Windows better!

And as a workaround, you can try with the tools I've mentioned above or using <a href="https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-api-core#app-file-explorer" rel="nofollow">Device Portal core API</a> 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 <a href="https://msdn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-api-core" rel="nofollow">Device Portal core API reference</a>.

Recommend

  • Handling browser-specific support of HTML input type=“date”
  • Convert CSV to multi dimensional array in Javascript
  • \\n is not working in IE text area
  • What does “Load Playlist started” mean in Visual Studio?
  • Problem with Session State in Internet Explorer!
  • Is TWebBrowser dependant on IE version?
  • Asks for AD credentials / “Connection Interrupted” on Postback
  • Why do empty folders disappear when adding Visual Studio solution to TFS?
  • How delete folders created by yeoman in Windows?
  • Typescript sourcemaps not loaded in chrome
  • Converting RVML to SVG using XSLT in C#
  • How do I pass worksheet and ranges as variables?
  • Can I customize a Jackson ObjectMapper by adding a module?
  • How to remove left and right margins from all wrapped rows in flexbox (without nth-child or js)
  • How to use SBT with multiple sub project web applications?
  • Unable to run SDL program in Eclipse but able to do so in Windows Explorer
  • Zend Framework bassed projects
  • How can Delete be both a DDL and a DML statement
  • Inline R code in YAML for rmarkdown doesn't run
  • Problem while Building a Setup Project for a windows Service?
  • Converting a WriteableBitmap image ToArray in UWP
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Is there any way to access browser form field suggestions from JavaScript?
  • req.body is undefined - nodejs
  • Sony Xperia Z Tablet not found by adb
  • Symfony2: How to get request parameter
  • Hazelcast - OperationTimeoutException
  • Akka Routing: Reply's send to router ends up as dead letters
  • R: gsub and capture
  • Is there a mandatory requirement to switch app.yaml?
  • Cannot Parse HTML Data Using Android / JSOUP
  • Benchmarking RAM performance - UWP and C#
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How get height of the a view with gone visibility and height defined as wrap_content in xml?
  • coudnt use logback because of log4j
  • Getting Messege Twice Using IMvxMessenger
  • How can I remove ASP.NET Designer.cs files?
  • Net Present Value in Excel for Grouped Recurring CF
  • How to load view controller without button in storyboard?