One thing Microsoft understand more than most is that the future of any platform is contingent on developers supporting it. In fact, the company’s CEO scream about developers has become its own meme. Apple, on the other side, has long managed its developers relations through it annual developers’ conference and related online center. The two companies listen to input from their development community and respond by bring forward features that help those developers succeed.
If they understand that developers support is the ticket to get traction, Microsoft will have a chance to overtake Android. For the second spot, of course.