WindowsPhone | How get file from isolated storage to my machine - windows-phone-7

I need to get video that has been recorded by my app to isolated storage.
Is this possible?
Or I should save my recorded video to some 'shared' place?

IF you want to get a file of an app that you have deployed on your device (that is not installed from the windows store), you can use the command line tool ISETool which is installed with the windows phone SDK, or if you want a User interface you can use IsoStoreSpy.

Related

Can I distribute\install a copy of the UWP project to a different Windows 10 desktop system?

VS 2015, Xamarin Forms, PCL.
I can attach my Android phone by cable, and install to it. I can run "Local Machine" on my windows 10 development machine and test there. I want to give a copy of the UWP project to someone else to test with (on Windows 10 desktop). This is a new application, not in any stores, so...how to do this? Can it be done without using store distribution, and if so, can someone tell me how to do this, or point me to a link that documents this?
You could create package (like for publishing to store) and then with PowerShell install it on another PC. Packaging UWP apps
You can limit the distribution of an app to only a certain group of testers, without first publishing a submission that's broadly available, you can use the same app submission process as any app you submit. To allow only certain people to get the app free of charge, and prevent other customers from seeing its listing or downloading it - read more about Beta testing and targeted distribution

How to install Windows store app programmatically in UWP?

I want to install an windows store application programmatically from UWP application. I am able to redirect to the Windows store application page but what i want is the application should install automatically from store. Is there any to achieve this in UWP?
Thanks in advance.
Yes it is, but such app need Package Policy Control capability (see https://msdn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations). Also you must have direct access to appx package of app to install. Then you can use PackageManager class. But this app can't be pushed to Windows store without special permission from MSFT or you must use sideloading (installing without Windows store). So it's almost unusable...

Desktop App Converter/Submit to Windows Store

I have an older application that I've converted using Microsoft's "Desktop App Converter" to create a UWP application. The application appears to convert fine, and I can install and run it on my local machine. Unfortunately, when I try to submit the application to the Windows App Store, I get the following errors:
Package acceptance validation error: We don't allow the capability you've specified: runFullTrust.
Package acceptance validation error: You don't have permissions to specify the following namespaces in the appx manifest file of the package DownloadManager.appx: http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities.
Are there any ideas what is causing this and what the fix is?
I'm running Windows 10 Enterprise Preview Version 1511, Build 14352.1002
According to this article from the official blog, you cannot submit your Centennial apps to the Store just yet. You have to follow the process they mention in their article:
Windows 10 Anniversary Update SDK Now Available! Windows Store Open for Submissions
"Windows Store Open for Submissions; Including Process for Submitting Desktop Bridge Apps:
In addition, we will begin the process of accepting apps using the Desktop Bridge. While we build the pipeline into the Windows Store to publish these apps, our team will work directly with developers to get their converted apps and games into the Windows Store. Contact our team here if you are interested in submitting an app using the Desktop Bridge to the Windows Store."
You can find in this article Preparing your desktop app for conversion to UWP features that should be removed from codebase.
As I see there is one Your app always runs with elevated security privileges.
Check this one ar may be your app contains some another feature from list

How to use the Windows File System from a Xamarin Application running on Windows

I have a Xamarin app that runs on Android, IOS and Windows 8.? It is essentially a “player” to display a proprietary document format. Formatting the documents so they look good on a small screen is a trial and error process. Essentially: Edit; Compile; Transfer to mobile; View; repeat;
To speed up this process, I am trying to build an emulator. I am using the Windows version of the app as a base for the emulator (because if I stay in Xamarin, I don’t have to rewrite all the code for Windows Forms)
The compiler is a Windows app. After compiling I know exactly where the file is located. When I run the emulator, it does not give me access to the Windows file system. I tried using PCLStorage Library. It stored the file here:
C:\Program Files\OpenSSH\home\30011765\AppData\Local\Packages\85930d70-750c-41a6-9b95-03faaed4159c_nh7s0b45jarrj\LocalState\ZDO\dev
I specified this part \ZDO\dev but have no idea how it selected the rest. Like why OpenSSH?
Question: Given this app is only going to run on Windows, is there a way to load a file as C:... ?
If not, is there another way for a Windows Forms App to share a file with a Xamarin Windows App?
I’ve spent several hours searching for a working example solution and have yet to find one.

getting filesystem on windows with cordova file plugin for UWP

Looking to create UWP APP using cordova.
The App needs to scan file system to get list of mp3 files on device, the device may be a desktop pc with windows 10 or a phone.
However the Cordova is able to see the virtual path and not C drive or D drive on device.
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, onFileSystemSuccess, fail);
The winPath of the received FS object is something like below
C:/Users/{USERID}/AppData/Local/Packages/{AppNameSpace}_bzbj8h50hftv4/LocalState/
And this is root of the FS, can not move directory to C: drive, it is not allowing.
So Question is, does UWP or any windows platform does not expose Storage devices to Cordova apps? Or I am doing something wrong, as I am new to Cordova development.
For full file access in a UWP app, you will want to add WinJS framework to your app.
The plugins are going to be targeted to cross-platform support, and mobile devices have more restricted file access. Running on full Windows, you will have more capabilities available, but likely not supported by plugins.
Look at http://www.buildwinjs.com/ for WinJS.

Resources