I created an app which records audio and adds some effect to it (Voice Instagram!).
Currently, I save an mp3 versions of these files in Local Storage folder.
For my debug purposes I need to access this files from my PC. And this is the problem!
WP8 does not allow me to write in any public folder (Documents, Music, ...) and I cannot access internal app files from my PC.
What are my options here?
I ended up using SkyDrive and uploading files there.
Related
It's not clear to my why I should use the option in PhpStorm to create a new project from existing files instead of just opening a folder and declaring the project directory.
I have a web server installed and I can access it's root by a shared network drive. Now I can just open the a folder in PhpStorm and declare it's root. It will generate a PhpStorm project at the given directory.
But there is also an option to open a new project from existing files (located under shared network drive). My best guess is that this option is the way to go. Is this true and if so, why? Or if it doesn't matter, why doesn't it?
There will be several people using the same shared drive to work in different projects in the webroot.
You can, of course, create a project on mounted network drive via File/Open, but note that this is not officially supported. All IDE functionality is based on the index of the project files which PHPStorm builds when the project is loaded and updates on the fly as you edit your code. To provide efficient coding assistance, PHPStorm needs to re-index code fast, which requires fast access to project files and caches storage. The latter can be ensured only for local files, that is, files that are stored on you hard disk and are accessible through the file system. Sure, mounts are typically in the fast network, but one day some hiccup happen and a user sends a stacktrace and all we see in it is blocking I/O call.
So, the suggested approach is downloading files to your local drive and use deployment configuiration to synchronize local files with remote. See https://confluence.jetbrains.com/display/PhpStorm/Sync+changes+and+automatic+upload+to+a+deployment+server+in+PhpStorm
On our network, I want to share a folder where I will store my data such as images and videos.
I want host our html in the cloud and reference the assets locally.
I have shared a folder called test and the pathway is:
<img src="//JOHNATHAN-PC/chevron_test/images/star.jpg" />
Anyone on their ipads will just navigate to the website and view the assets like a normal webpage so long as they are on the local network.
It was working with the syntax above and after a power failure it stopped.
I am using windows 7.
My DNS name wasn't being registered on our server. Simpler answer was actually from ceejayoz. Using a static IP and a webserver I was able to access the shared folder.
I have accidentally killed one of my WP projects in VS2013. I receovered the source code from the backup, but now, if I try to recompile it and deploy to my device for further debugging, all my app data in the app IsolatedStodage area will be wiped (see this post).
The problem is that I have gathered some important data in my app, and need to save them for later use with newer versions of my app. Is there a way to access the file system on a WP device unlocked for development and save the corresponding IsolatedStorage files for the app? I know that it's possible for the WP8/8.1 emulator (we can mount the .vhd files), but what about a WP device? And if it it's possible, what files/folders do we need to save?
Try IsoStoreSpy.
It allows you to browse the IsolatedStorage of application on both emulator and device. You need to copy all the files from IsolatedStorage and upload them to device after updating the application.
In my packaged app I would like to open pdf's stored in local filesystem. I've managed to open them if I select them using chrome.fileSystem.chooseEntry, but I can't find a way to do the same if the filesnames are hard coded.
The idea behind is an app that manages book information and allows to open them if they are stored in the local filesystem. Thanks a lot!
This can't be done, for good reason. Packaged apps have a security model based on the open web. Web pages can't access your local files without your permission (i.e., without a "user gesture" or a specific user action such as going through a file chooser), and packaged apps have the same restriction.
You could import local files (again using a user gesture) into the HTML5 file system, or into chrome.syncFileSystem. Then you'd have gestureless access to the imported copies. Likewise, you could export from either of those file systems to the local file system, again with a user gesture. But the boundary between local files and your app's access to them is meant to be loud and explicit.
I'm developing kind of standalone kiosk and having trouble as in title.
Explanation:
Application is launched in Google Chrome with "--app=file://..." option
Application should play video files from local filesystem after user
interaction and after playback is finished app will send log-message
to web server.
Problem:
When using with "-use-network=false" i can use local files and cannot
send messages.
When using with "-use-network=true" i can send messages but cannot
red local files.
When using with debugger and Safari on Mac locally - no problems.
Is there any way to get around this?
Software used: Debian, latest Google Chrome with latest pepper Flash.
As written in Adobe docs:
The local-trusted sandbox—Local SWF files that are registered as
trusted (by users or by installer programs) are placed in the
local-trusted sandbox. System administrators and users also have the
ability to reassign (move) a local SWF file to or from the
local-trusted sandbox based on security considerations (see
Administrator controls and User controls). SWF files that are assigned
to the local-trusted sandbox can interact with any other SWF files and
can load data from anywhere (remote or local).
Besides that, I doubt there is an easy way to do both networking and access local files since this is how Flash security sandboxes work. Or you could write an AIR app (2.6 is last supported version on Linux) or wrap your swf in a native app that would act as a layer between .swf and network/filesystem interfaces.