Is there a way to preview/open with the default app, a file from memory without creating a temporary file in the disc, on a Flutter Windows Desktop app?
(One example would be a ContentProvider/PipeProvider in Android)
We are trying to preview files that are encrypted, and creating a temporary file in disc would defeat the purpose.
Related
TL;DR: I have a small internal hard drive and a 2TB iCloud Drive. I want to have access to all my files (iCloud), but I don't want all of my files on my computer.
In macOS (since Sierra I believe) Apple included a features where you can have your Desktop and Documents folders synced to in iCloud Drive, and if you enable it, when your drive fills up, macOS removes local copies of those files and replace it with a little placeholder.
I'm wonder if there is a way to pick and choose what files get offloaded to iCloud this way and when. Let's say I just added a file to my Documents folder that I want to keep, but I have no intention to use it for a while, so I just want it to sync to iCloud then replace the local copy with the placeholder, instead of waiting for my drive to fill up and then have macOS auto offload files for me.
Also, it would be nice to have more than just Documents and Desktop offloadable, but I'm guessing Apple doesn't expose that much functionality in their SDK that I could write an app to do that.
I currently don't develop in any Apple approved languages (Swift & Obj-C) but if there is a way to create an app with this ability to offload files to iCloud Drive I'll deep dive into the language to scratch this itch.
Note: I know I can store any file I want in iCloud Drive by dragging a file into the iCloud Drive icon in the Finder, but to my understanding, these files require a local cache of the file and not this placeholder method that Documents and Desktop folder syncing uses. If there is a way to offload through the customer facing iCloud Drive access in the Finder I'm open to that method too.
Within macOS Catalina this can now be done by right clicking the file/folder and clicking "Remove Download"
For those who cannot upgrade to macOS Catalina, you can simply turn off the iCloud drive in system preferences and then manually upload and download your files via icloud.com. May seem a little tedious, but doing things this way is intuitive enough that you shouldn't make any mistakes moving/locating your files.
I am porting my native Win32 app to Windows 10 Store with Desktop App Convertor.
What is the most recommended place to store local data files, it seems %APPDATA% works, but is it most recommended place for user data in Win10 Store Apps?
Is this %appdata% virtualized and cleaned automatically if user uninstall app from Win Store?
If the data has to be saved per Windows user (every windows user has its own data) then it is the right place
The saved data will not be cleaned up when the user uninstall the app
%LOCALAPPDATA% is new requirement to be compatible with store
I made a small application on Windows 7, using Unity 3D, by the way. The application consists of an executable and a data folder. When the data folder is in the same directory as the executable, double clicking the executable will run the app normally.
Since I wanna use it as a screen saver, I simply changed the extension name of the executable from EXE to SCR and then I could install it by right-clicking the executable and choosing 'Install' in the menu. Thus the system could find my app as a screen saver.
However, when I copied what I built and tried the same steps on another computer with Windows XP, there were problems. I could run the app itself, but when I installed it as a screen saver, there'd be an error message indicating that the data folder couldn't be found. So my question is what I should do to make an app more than a EXE file work as a screen saver on Windows XP.
The data folder isn't found because by default when running as a screensaver the "current" directory it runs from is %WINDIR%\system32. The easiest way to get around this is copy your _Data folder to the relevant path (eg C:\Windows\system32\_Data).
I want to save a file on a Windows Phone 8 system that doesn't get deleted at unistall.
The file contains data that I whould like to restore if the app gets reinstalled.
In my research I found that I can't write to a file outside my Isolated Storage. is there a way to do this on Windows Phone 8?
the only way to do this is using a web storage method (skydrive, mobile services, azure...) to upload the data and, when the user logs again in the app restore from the web that info if not present locally...
I am developing a windows 8 app in winjs and one of its features is to be able to play local video files. So far I am using:
Windows.System.Launcher.launchFileAsync
Which works fine but obviously suspends the app and opens the video with their default video program. I would rather keep the user in the app so I tried to implement it using the Microsoft Player Framework(http://playerframework.codeplex.com/). I know the framework is referenced correctly etc because it can play video files both in the 'app data' directory and online.
However when I try to play files within a folder that the user has picked (with the folder picker) or the videos library that the app has declared access to, the video fails to play. The app can however change the name, create new files in the directory and delete files so I struggle to see a permissions problem.
To get the path of the file I am using getFileAsync( and using the path property and simply using that to set the src property of the MediaPlayer control.
Do any windows 8 app gurus have any suggestions as to why it is not working?
Thanks in advance
p.s. let me know if any further info is required