Download files from gear s2 - samsung-gear-s2

I have an application for Samsung Gear S which writes data on its internal memory - simply creates a file in the Documents folder and saves the data into it. When I connect the device to my computer (which has to be a Windows machine), I can copy the file on my computer and work with it.
Now I would like to test the same application on Gear S2; however, since there is no USB connection, I am not sure if there is any other way to transfer the created files to my computer. Any help is greatly appreciated. Thanks.

As far as I know, you can try to do this by following the steps below:
At first try connecting Gear s2 with your computer using sdb connect command.(I used the sdb packaged with the tizen sdk tools) Please go through this link.
After that try pulling the files from Gear s2 to your development machine
applying sdb pull command. Please go through this link for more details.

Related

Write to windows share folder

I am using right now a MacOS machine with which I want to write files to a shared folder to a Windows Server machine using a Node.js server I am using, but I don't have any clue how.
I have the IP of the machine and the path to the shared folder, so if anybody could give a hint I would appreciate it a lot
Thank you in advance!

Deploy NWJS with docker

I am developing an app with NWJS, now I am thinking in the deploy process, what I need is install the app into different machines that will use that app, the problem that I see is if I change some file I will need install again into each machine, I was reading about docker and if I understood fine, I can make an Image and download the last version of the app into each machine that use the app.
The Question is if can I upload the app into a container and download that into each machine?, and How can I search the documentation for do that?.
Thanks for any help
I think I've cheated my way into a solution, this could work for you, depending on what your exact requirements are.
In one scenario, I have a shared network folder that allows machines to launch the NWJS app via the network share, so every time I update the file and someone relaunches their short-cut, they have a fresh copy.
The remote users, who are not directly on our same network, has their copy in a DropBox folder - which - of course - automatically update as I drop the new copy into that folder.
None of these solutions are as "clean" as an installer, but, for our use case, works rather well. It's a bonus that DropBox handles the downloading of the new copy of the file automatically.

Copy file from ehternet-connected FTP - no internet

I have a device that stores data in an FTP-accessible folder. I can connect to it through windows (ftp:10.19.1.101) and map drive to it (C:\Users#ME#\AppData\Roaming\Microsoft\Windows\Network Shortcuts\MyDevice). There are no usernames or passwords - if the device is attached, you have access.
i can click and drag the file in Windows. I want to automate that in VBA so I can process the file.
The single file is located at the root (ftp://10.19.1.101/fs.log), and I want to copy it to a location on my C drive to process it in Excel. I've tried for hours using code snips found here to no avail. I don't access the internet to get it, and I think that might be the problem, since 99% of FTP activity is that way.
FileCopy doesn't work either.
Any help appreciated
If you can access it and map it to a drive, open up a cmd then type 'net use' and hit enter (when it's plugged in and mapped to a drive). You should then have the long location used by windows which you can use in your procedures to play around with the file?
HTH

Saving image file to isolated storage

I am creating a Windows Phone 8 application. I have an image which is currently on my computer disk. I want to store that image in my isolated storage. The problem i am facing is that, that how i will load the image in my application so that i will store the image data in my isolated storage.
The problem is that, the image is located on my computer disk and when i attach the device and run the application it will try to find the file in local sandbox and hence i will get the exception.
System.Io.DirectoryNotFound
Any help will be great.
If I understand you correctly, you want to upload files from your computer to the isolated storage of your app?
I haven't tried it myself but you might want to take a look at Windows Phone Power Tools. According to their own site they let you "Upload / Download Files from IsolatedStorage".
Another option might be ISE (Isolated Storage Explorer).
If you want to access your files on your computer at runtime, I do not believe this is possible.

Creating a CAB file on WinCE

I want to make a CAB file on a WinCE 5/6 device.
The idea is that someone would run a backup script that creates the CAB file, which can then be loaded back onto the device at any point restoring settings to a previously known point.
The settings are xml and custom files in various folders on the device, I am not talking specifically about registry settings.
If this cannot be done is there (commercially) free ZIP file creation software that could be used?
Thankyou in advance
Chris
DotNetZip is a free zip library that will let you do this.
See also:
zip and unzip files and folders on Mobile Device
Is doing this from the desktop side any good?
You can use this registry tool using ActiveSync. The tool has a nice feature of Reg->CAB. Once you want to restore settings, you can clean the registry using OALIoCtlHalGetHiveCleanFlag and then run the CAB to restore the settings.
I know this does not include the requirement:
run a backup script
But it is a quick solution that might give you an idea.

Resources