Copying files from the Phone to a PC - windows-phone-7

Is there any ways to copy text files (I already wrote some files using C#) from windows phone 7 to computer?

Well.. I think you want to copy the txt files you generate on the device to a pc?
You can't do it because of restrictions on the device.. (you can use only your IsolatedStorage and nothing else (without unlocking the device))
you can send the content of the file via email or using skydrive for the transfer

Sockets are your best friends at this point, being the only link to your PC that is directly accessible through the SDK. You could also try working with a service.

If what you want is way to access your isolated storage files from the PC take a look here.
Hope this helps!

Thanks for your suggestions. Here is the exact thing that I was looking for. Hope that it would help others.
http://msdn.microsoft.com/en-us/library/hh286408%28v=vs.92%29.aspx

You should give more details, what do you mean by copy ?
Do you just want to do some thing like copy(TheFileToCopy, TheFileCreatedAsACopy) ?
In that case maybe look at the msnd doc http://msdn.microsoft.com/en-us/library/system.io.file.copy%28v=vs.71%29.aspx
and http://msdn.microsoft.com/en-us/library/cc148994.aspx
or maybe http://msdn.microsoft.com/en-us/library/sfezx97z.aspx
Does it helped you ?

Related

What is the best source of windows form applications?

I want to learn windows form applications but ı didnt find a source.I need help.Yesterday ı found some sentence which one textbox1->text=.... or x=converto.Int32 something like theese.Also my knowledge of win app is 0.Can anybody suggest a source please?
Thanks.
For Windows Form Application Development your best source for information would be MSDN. Here's another link for Getting Started with Windows Forms
Hope that helps.

How to implement spotlight like search in Windows?

I need to enable the users to do a livesearch of the contents of a folder from my app. On OS X, I can do it by using the Spotlight APIs which have been exposed. Is there a way in which I can do it on Windows? Does Windows Search SDK help me accomplish this? As far as I know, Windows doesn't index the files until the user explicitly gives permission. So does that mean I've to index the files myself? Are there any open source libraries which do this? How can I go about implementing my own library? Too many questions, I know. I appreciate answers to any of them.
Search SDK is good, but can be switched off by user.
Also try Googel Desktop - do the same thing, but also expects user action on installing it.
Ok. I decided to go with CLucene because I found it more reliable, easier to use and to have a much more active community than Windows Search. And of course I can use it on both Windows and Mac.
Take a look at Xapain. CLucene development seems to have stagnated.

How to upload Images to Sky Drive in WP7

How i can upload my images to skydrive. I tried with hotmail apis but failed. Does windows phone mango support this feature. Please help me to find a soln for this issue.
regards,
Stephan
Nikovrdoljak’s mentioned a method for backup isolated storage data to sky drive. Try this method. I don't know whether it will solve ur issue or not but try it.
[link]
http://nikovrdoljak.wordpress.com/2011/09/15/backup-your-windows-phone-isolated-storage-data-to-skydrive-using-live-connect-api/
Please visit following link i am sure that it will help you...
http://msdn.microsoft.com/en-us/library/live/hh826531.aspx#uploading_files

override metadata of audio file in windows phone 7

I would love to have a fix metadata function for my music player, but as I know there is no library that could do such. However I found that some C# application could accomplish this.
Example
I need some advice and probably a good sources to get start this projects. Any help will be appreciated.
Thanks.
Edit: I also found this, this is very similar to what I want to do, but there is so few sources.
http://wmpoweruser.com/finally-mp3-tag-editor-for-windows-mobile-available/
Currently, the Windows Phone Platform doesn't provide a way to modify song data for songs on the device. There's no way to access the file system from a restricted Silverlight application, and the current XNA Media classes only provide read-only access to song data.
You need direct access to the file via an IsolatedStorage because there is no built-in support to change id3v2 tags.
Then you can use these libraries:
http://sourceforge.net/projects/audiogenie/
http://github.com/mono/taglib-sharp

Windows Mobile app copy file to desktop?

Is it possible to write a WinMo app that copies files from the device to the attached desktop? I know RAPI works from the desktop to the mobile, but I'd like to turn that around if I can.
There was a download called CERApi which is a Managed wrapper around the RAPI calls, it was on WintoolZone.com, here's an example on the blog on how to use it. Unfortunately, the WinToolZone's CERapi cannot be found, I am still searching for the DLL as download...
I will edit this answer again accordingly once I find the download link
Hope this helps,
Best regards,
Tom.

Resources