Programmatic access of SkyDrive - windows-phone-7

Does anyone know how to access SkyDrive programmatically from Windows Phone 7? What API do I use? I need to upload files from the Phone to SkyDrive and vice versa.
Some code samples would be great. :-)

You can now officially integrate parts of SkyDrive with Windows Phone 7 applications.
Details outlined here.

There is a new Live SDK available from Microsoft which I think can do this. It's also in a very early alpha or beta state:
http://msdn.microsoft.com/en-us/library/bb264574.aspx

I have developed a sample based on SkyPad (Developer Preview). Please install the Windows Live Developer preview SDK.
The sample allows to save a file to SkyDrive and dowload it again after saving.
Here the link:
http://blog.mecum.biz/2011/10/windows-phone-7-mango-skydrive-sample/

You can use the Live SDK to integrate SkyDrive into your Windows Phone applications. Please see our code samples on GitHub.

Not an answer, but there's hope that an answer is on the way:
However, when Mike Torres was asked about features such as better usability, third-party API support, Windows Live Mesh integration, and expandable storage, he acknowledged that these are "top asks" for SkyDrive and said that they are currently "hard at work on SkyDrive as we speak"
Source

Your requirements sound pretty much like mine - you just want to use skydrive as a basic cloud filesystem.
I thought Matt's suggestion was an outstanding idea. I obtained the library and set out to port it, but unfortunately the codebase is huge and elaborate and absolutely riddled with the [Serializable] attribute which is not compatible with WP7. It also makes extensive use of several pieces of framework not available in WP7x, including X509Chain and Authorization.
SkyDriveApi is not even compatible with VS2010 - an attempted conversion produced a big mess so I just tried it out in VS2008.
We could always write one. This looks like a fair bit of work so I invite you to collaborate.
Well, it's feature complete and working a treat. I'd like to thank people for all the support and assistance I received reverse engineering the protocol using Fiddler, and coding, testing and debugging the prototype into production ready code. I'd like to, but nobody contributed a damn thing. Good luck writing your own.

SkyDrive doesn't have an official API but here are some unofficial ones. I'd start by looking at http://skydriveapiclient.codeplex.com/.
It doesn't claim support for WP7 but you may be able to port it.

Related

DJI Phantom API or hackable procedure

Maybe I have't looked hard enough, but I spent yesterday googling for a bit and found no relevant projects on hacking the DJI Phantom Drone in order to create new coordinating apps. This is besides the app for coordination DJI currently uses for their drone. I'm trying to see if there's a way to communicate with the Drone with a specific protocol in order to accept a set of procedures.
Any help would be awesome,
Thanks.
Great News for you and all us Droneys! DJI has launched their SDK since you asked this question. They released it last November and you can now apply for a license and write your own apps for the Phantom2 Vision+ using their SDK.
Check it out at https://developer.dji.com/
I am already building a project using the SDK - you can follow my progress on my blog / product site. I will also try to update it with good DJI related development links and tips.
This post is old but I think it is good to leave a foot print for others :)
There is this new company called NVdrones, which created a peace of hardware that you can attach to any drone (you need physical access to the flight controller), and once you do that you can use their SDK (Arduino, Java, Android and Javascript) to write your app without the need of hacking, soldering or anything else. It is just plug and play.
Another benefit is that you are not locked with a specific drone (DJI SDK or 3DRobotics SDK), you can use the board on anything you want. Which gives lots of flexibility.
The developer site is http://developers.NVdrones.com
Hope this helps.
This is a great topic!
You could check how to hack your copter here: https://github.com/flyver/Flyver-SDK/wiki/-2.2--How-To:-Flyver-Hack-a-Copter
By opening the drone, taking out the original controller, soldering a few wires and sticking an Android phone to it, you will have the ability to program your Phantom in a modern manner with an open source SDK and application based development. This means that you could add computer vision to it, automation or additional hardware. You could also use smartphones, web and other interactive devices for remote controlling the copter instead of using the standard remote controls.
The Phantom, however, is offcenter balanced due to the fact that most people use gimbal with it. Without the gimbal is a lot less stable from my experiments so you will have to put some extra work in center balancing it.

Windows Phone 7 Mango Update - SkyDrive functionality available for developers?

I read a lot about new SkyDrive syncing features (syncing of documents, pictures...) coming with Mango. But will this functionality be available to developers or is it limited to applications by Microsoft?
I think this would be great but I didn't find any information on it.
With the current release of the SDK, SkyDrive functionality is not available to third-party developers. As a matter of fact, there is no official public SkyDrive API. There is the unofficial SkyDrive .NET API Client, but since it is not supported by Microsoft, it will be a bit risky to use it in an app that is outside the "just for fun" zone.
More recently there has been an official API released but it is nothing but Javascript libraries. You have to create a browser instance and manipulate that.
Also it's limited to fiddling with photos and documents. If you want to use SkyDrive as a cloud filesystem the a better option is http://cerulean.codeplex.com/documentation

Corporate apps for Windows Phone 7?

Apple has a corporate developer program with an elevated licensing cost, does Microsoft provide such a service for Windows Phone 7 developers?
This was asked at a recent MS event. You can assign (I think 5) phones to developer unlock them, then load application directly/bypass the marketplace.
Also, there were talks that they are hoping to soon allow beta/redemption codes to allow limited deployment of your application to non-unlocked phones, bypassing testing/marketplace acceptance.... But I do not know the status of this.
The best thing you can do at the moment is develop your application as normal and have a password/login screen at startup. This is a horrible approach, but it does work.
At the moment, the phone is very much targeted towards consumers.
I'm not sure what is provided in the Apple Enterprise version, but so far Microsoft only has the one registration process and no private app distribution: you can distribute apps on the market to everyone, or by giving your xap file to people with dev-unlocked phones, nothing in between.
The official line is NO, not yet.
Windows Phone 7 was created, first and foremost, for consumers, not enterprise customers.
That being said, LOTS of people are asking for this and Microsoft have said they will address this in the future. No timescales or details have yet been announced yet.
This will likely be related to the way that beta testing and home brew distribution are implemented. (Just my assumption.)
I don't know why I can't just comment on another answer in this thread, so my apologies for placing these remarks in an answer.
I think MS needs to really make this happen since it could be the saving grace for WP7. While I personally feel that my experience with WP7 and my Samsung Focus have been just as good or better than that with the second-gen iPod Touch that I have, there are a lot of people who aren't convinced. For better or worse, it really is the ecosystem that matters and MS has that within the corporate world.

Non-dev-tools Windows Phone 7 emulation

In developing a number of WP7 apps, I have a need to show clients how the app will be when deployed. The clients are a) not in the same location as I am, b) not technical at all, and c) may not even be using a PC. The purpose is to demo, get feedback and make any needed changes.
I'm not finding any realistic options to just simply show them what it would look, feel and run on a Windows Phone 7 (using the ApplicationBar, etc.). I found this link - http://www.redmondpie.com/standalone-windows-phone-7-series-emulator-9140536/ - but it's rather hacky for me to ask someone to do to set up an emulator on their machine without also installing VS Express, etc.
Does anyone know of any links to an official emulator that can be run on a PC, has a simple install and can load WP7 apps?
Have you considered using a product such as Citrix GoTo. Clients do not need to be particularly technical to join such a meeting, you can then take them through a demo. This will cost you though.
A free alternative would be to set aside a PC running the emulator with your software loaded. Create a VPN for you clients to connect to and let them use Remote Desktop Connection to connect to the PC. They can then play around with it remotely.
Have you considered using SketchFlow? Although by default the UI is "sketchy" (sorry), you can apply styles to the controls you drop on your pages, including the very same styles that are used by Windows Phone controls.
If you use a Silverlight SketchFlow project, you can deploy the content to a web server and provide a link that can be consumed on any machine that will render Silverlight content...they can go through the navigation, provide feedback, etc.
Christian Schormann has a writeup on what is required to use it in the pre-release tools... http://electricbeach.org/?p=573
You should take a look at this: http://justinangel.net/WindowsPhone7EmulatorAutomation. I believe it will answer your question exactly.

iTunes integration advice

I'd like to get some feedback and references to any useful resources related to iTunes integration on Windows platform from fellow developers experienced in that area. COM SDK vs. JavaScript API? What are the advantages and limitations? Any useful blogs or discussion groups? Any recommended outsourced vendors experienced in this type of work? What would be involved in developing an application with features similar to simplifymedia.com?
Any information on the topic is appreciated!
I built a WebForms app in ASP.NET on my workstation using the COM SDK. It was extremely easy and I would recommend using the COM SDK for compiled code or VBScripting.
I would use a JavaScript API if you're doing a simple web app or sidebar gadget or something like that.
The APIs are defined for different domains.
And from my experience with the COM SDK, using it was extremely simple and easy, but I was just doing something simple.

Resources