I have a device attached to my PC. Win10 loaded in drivers for it. In Windows explorer I can see the device as it comes up as WindowsCE. I can open that and navigate through its file system. What I would like to do is write a c# winform app to transfer files to it. Unfortunately I cannot find it via c# as it is not a disk and it is not in c:\users. I also tried using from command line "wmic logicaldisk get deviceid" but it is not a disk so does not show.
I find that this device is located "on UMBus Enumerator", maybe that helps us?
Any ideas how I get hold of it in c# winforms?
Related
I have a simple app that collects user info such as name, email , job etc.. Im saving all of this info on the machine locally in this case the IPAD. This app will not be published as all uses will only work on 1 tablet. My questions is, How can i access this CSV file and open it manually after all users are done? I basically want to open the file and look at the info, but i can't find the csv file anywhere. Im using Application.datapersistantdatapath on Unity. Im using Unity and building to MAC, it's working perfectly on a windows machine.
The debug on the IPAD returns for me the path where the file is saved, now i need to open the file manually but i can't get to the path. How is it possible? the path is something like /var/mobile/containers/Data....
Application.persistantDataPath is a string, what does it tell you if you try and print it?
We have a system running on Linux that writes two files to a Linux share. There's a C# based file watcher running on another Windows vm that looks at the Linux share for the file. Is there a way from the Windows side to tell when the file writing is complete? We have a few different hacks that in various way write a trigger file but I'm looking for a better solution. We cannot write a trigger file directly from the origianl Linux app. The output of that is not within our control.
Is It possible, to get some data via usb from your pc with an app, or must there be another software on the PC that pushes the needed files to the Phone?
to clarify what i mean:
i have a pc with a MySQL Database which is used and maintained by a programm on the pc. what i need are some informations of this DB, so i want to have a button in my app, which says sth. like "Get it!" and then the app connects to the DB via USB, retrieves all the data needed and then displays it on the screen (for example).
Check this question: android phone mount desktop partitions via USB port (Reverse USB Tethering in disk level?) and read the first answer's link, which seems to get into something similar to what you want, albeit not using xamarin.android
Note : I'm using VS2008 and I'm working on windows 7.
I'm developping a Windows CE application which will run on a Motorola MC3000 device with a WinCE 5.0 like OS .
I tried to use ActiveSync in order to make the test with the selected device possible but it doesn't work on win7, so I tried to find another tool and I found Windows Mobile Device Center based on this discussion .
So Now I can browse with the device but unfortunately I can not test with it : The device have a "santech" application installed and can not kill the app. (even when I reboot the machine, the autorun lunch the app. automatically). Also when I try to deploy my application on the device it return error reports ; sometimes "no disc space" sometimes "the .exe can not be found".
I'm really stucked.
Can some one help me with this, I will be really gratefull.
Sounds like the debugger is attaching just fine, it's just unable to either fully copy the app and dependencies, or there's not enough memory to execute it.
If you can browse the device, you can stop the "santech" app from running. You just have to determine what is launching it. It might be a shortcut in the \Windows\Startup folder. It might be through a registry entry at \[HKLM\Init\]. IIRC, Symbol devices also support a *.run file in the \Application\Startup folder, so check that as well.
One of those is launching the app, so you can eliminate that if you desire.
Next, check the available memory on the device by looking in the Control Panel under System->Memory and adjusting the slider to provide more storage space. If there's not enough Storage Memory to store your app, you might try changing the deployment directory (under Project Properties->Device) to push the app binaries to non-volatile storage of some sort (on-board Flash, SD card, etc), if the device has it.
If you don't have enough Program Memory to run your app, you might be out of luck. Try killing processes to free up some space and playing with the memory allocation slider.
You can debug from inside VS2008 as well. You'll need to tell it to connect to a device as it automatically sends it to a emulator. To do that you need to select Windows CE Device from the dropdown list found in the "Devices" toolbar (To enable go to View, Toolbars and select Devices). Then hit F5 and it should start up on your device. You might get a couple of pop-up boxes that contain a list of devices; make sure these are set to Windows CE Device as well.
This handy page on MSDN should provide the information you need also.
I am new to the windows phone 7 development world. I am developing an application in window phone 7. In window mobile application (smart device application) we can browse the content of the mobile device by selecting the tools -> Device Emulator Manager -> slecting the emulator & then after clicking the cradle we can browse the content of the mobile device. I want to know how to do this in windows phone 7 application ? I also want to know how to programatically access the content of the Window Phone 7 ? (for e.g I want to open the screen which we will be opened after clicking the upload button in asp.net. In that screen we can navigate between the folder structure of the computer. In such way I want to open the screen for window phone 7) Because I am developing an application in which I want the images from the existing mobile device. So I want to browse the content of the mobile device so that I can select the particular image from the existing content of the mobile device & after that I will dynamically add these images to the images folder of my application. Can you please provide me any code or link through which I can resolve the above issue? If anyone know anything that will also help me a lot. Please share anything whatever anyone knows.
Due to the security model of Windows Phone 7 and fact that applications are sandboxed means that it is not possible to create a file system browser on the device. You can only see files / the directory structure within IsolatedStorage and you must create these files yourself.
You can, however, use MediaLibrary.Pictures or the PhotoChooserTask to access the images stored on the device. These are the images youu'll see in the Pictures hub and, therefore are outside of the files you specifically put in IsolatedStorage.
You can only access the files/directories that are located in the Isolated Storage that is assigned to your application, and you can get a list of those via GetDirectoryNames (for folders) and GetFileNames (for files). You will have to implement a custom listing mechanism since there is no default storage browser component.