Read the Windows Phone device memory like SD card etc - c#

I would like to build application like File Explorer that will work on Windows Phone 8.
How to get access programmatically to device memory?
I know there is a class ExternalStorage which will allow me to read from SD card, but what about device memory (internal)?

Related

Android to PC/ PC to android bluetooth/wifi live audio stream

I've searched for this for some time, but I can't find anything about my problem. What I would like to do is to connect an android phone to PC via bluetooth or wifi (already done using sockets) and use the PC's headset (with microphone) to talk on the phone.
I've found some examples/tutorials on how to stream music but I would need live audio from the microphone and it should be full duplex.
Is this possible?Any comments are appreciated
I think you may be able to accomplish this in the bluetooth settings for the device (in this case, the device is your PC)
On your android phone, you go to your bluetooth settings, select settings icon next to the the paired device (probably the PC name), and then select with the check boxes what activities you want to use the device for. All available activities such as phone calls and media will and keyboard will show up here. If it does not show up, then it must not be a supported bluetooth capability either on your phone or the PC.

Access Files in Phone memory on WP 8.1

I am developing in Windows Phone 8.1. I can use KnownFolders.RemovableDevices to access the SD card and I can further retrieve files & folders. Since some WP devices don't have SD cards, how can I access phone memory to retrieve files like the Files app Microsoft made?
The Microsoft-built file explorer app has a broader set of capabilities than are available to Windows Phone Store apps. In particular, it has full access to the documents library and unfiltered access to the SD card.

How to access phone memory & search files with certain extensions in Windows Phone 8.1?

I am developing Windows Phone 8.1. I can use KnownFolders.RemovableDevices to access SD card & further can retrieve files & folders. Some WP devices don't have SD cards, then how can I access phone memory to retrieve files?
Windows 8 has CreateFileQueryWithOptions and on MSDN Windows.Storage.Search namespace says that it supports WP8.1 but it's throwing NotImplementedException. So how can I search files in WP8.1 devices?
On Windows Phone, you can have access only to KnownFolders (apart from IsolatedStorage and so on) and only after specifing the Capabilities and FileExtensions. So if you want to retrive Music files, you will use KnownFolders.MusicLibrary.
Note that KnownFolders (apart from RemovableStorage) are virtual location - it can exist both on Phone and SD card.
If you want to search for files, there is an option to use CommonFileQuery.OrderByName, but I've encountered some problems posted here.

Communication between Windows phone and a desktop application

I want to have a WPF application running on my desktop to communicate with the windows phone. For instance my WPF application should bring all the contacts/messages from Windows phone to local disk. Then I have to store it somehow. But it is the data fetching part which I have to go through first.
Phone would be connected to PC via USB cable. Is there any library available for c# which can give me methods to extract such phone specific data when phone is USB-connected to the PC?

Read/Write files on Windows Phone 8 via PC USB connection

I'm attempting to write a music player for Windows Phone 8 because the current XBox Music app is very lacking. Basically I'd like to be able to sync files on the device based on whether they've been rated up or down.
Since the device itself won't let me delete or make changes to the music files on the app, I'm thinking of keeping a database of ratings in isolated storage where I can write data. Then I'll have a companion app on a PC read this database from the device, and then remove the files that have been rated downwards.
Unfortunately I am completely unable to access the device on my PC through code. I know it's possible since I can access the device through Windows Explorer, but when I load up some C# code to try to read the files, it simply cannot find the device at all. I've used the File Picker to see if I can modify files, but every time I select a file, Windows copies the file from the device into a temporary directory on C:\, so when I try deleting it, it just deletes the temporary file and the file remains on the device.
What in the heck is going on here? I cannot seem to find any information about accessing a WP8 in code over USB. Any ideas?
The Windows Phone Power Tools on Codeplex can write files to isolated storage from a PC connection - you might want to check out its source code: https://wptools.codeplex.com/

Categories