Nokia Windows Phone: Question 4

We’re running a challenge where in you can Win a Nokia Windows Phone. The rules of said competition are detailed in the aforelinked post. There will be many more questions over the coming weeks, here is Question 2.

Question 4

The Mango update for Windows Phone brought with it a large array of APIs for working with hardware and integrating into the core platform experience. For example, application developers have raw access to the video stream for the camera, and they can directly access contacts and appointments from the device.

List an API (or a set of APIs) that allow developers to build Windows Phone applications that integrate with either device hardware or into the core platform (e.g. integration into one of the hubs)?

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.

  • http://www.praethin.com Ryan Burnham
  • David Gordon

    MediaHistoryItem allows you add recently played media in your application to the recent (or now playing) lists in the Music + Video hub.

  • Craig Naumann

    How about the Reminder functionality to allow your app to leverage the built in Scheduler API? http://msdn.microsoft.com/en-us/library/microsoft.phone.scheduler(v=vs.92).aspx
    I’m using that in conjunction with the Contacts API to issue reminders on contact birthdays.

  • http://escapedevelopment.blogspot.com/ Daniel Spruce

    One of the strengths of the windows phone as a gaming platform is its ability to utilise motion sensors within the phone to be able to controls onscreen actions without a traditional button press. This is achieved through the Combined Motion API. Please see the following for some more info:

    http://msdn.microsoft.com/en-us/library/hh202984(v=vs.92).aspx

  • http://csainty.blogspot.com Chris Sainty

    Since the release of Mango, I have been surprised by the use of Microsoft.Phone.Tasks.SaveRingtoneTask (http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.saveringtonetask(v=VS.92).aspx) which allows apps to add a ringtone to user’s phone.

    A number of apps and games are now shipping with ringtones. Games in particular I think this is a great idea for, tap a button on the main screen to add the theme msuic as a ringtone. Brilliant.

  • http://jake.ginnivan.net Jake Ginnivan

    One of the least known API’s are Search Extra’s, allowing you to expose your app in bing searches and also suggest your app when user’s are viewing locations. In the US (not available in Aus you can also expose your app to other search results like Products and movies!). Depending on the integration you are after the feature is called App Connect or App Instant Answer.

    First register the extensions in your WMAppManifest:

    The ConsumerID is a hardcoded guid, so it always must be the same.

    Then create your extras file:


    Windows Phone MVC Example

    Bing_Places_Arts_and_Entertainment
    Bing_Places_Automotive_and_Vehicles
    Bing_Places_Business_to_Business
    Bing_Places_Computers_and_Technology
    Bing_Places_Education
    Bing_Places_Food_and_Dining
    Bing_Places_Government_and_Community
    Bing_Places_Health_and_Beauty
    Bing_Places_Home_and_Family
    Bing_Places_Legal_and_Finance
    Bing_Places_Professionals_and_Services
    Bing_Places_Real_Estate_and_Construction
    Bing_Places_Sports_and_Recreation
    Bing_Places_Shopping
    Bing_Places_Travel

    Showing off App Connect support

    You then need to setup a uri map to rewrite the search extra’s uri. Windows Phone MVC actually does this for you, and all you need to do is put this on the MvcApplicationService

    AppConnectAction=”Home.AppConnect”

    :) For more info check http://msdn.microsoft.com/en-us/library/hh286420(v=vs.92).aspx and http://msdn.microsoft.com/en-us/library/hh286415(v=vs.92).aspx

    • http://jake.ginnivan.net Jake Ginnivan

      Seeing as the example is mostly xml, and the xml has been stripped out :P Maybe just look at the msdn pages :P

  • http://jerrynixon.com Jerry Nixon

    The Combined Motion API cleans up the Math-requirements pre-Mango.
    http://msdn.microsoft.com/en-us/library/hh202984(v=vs.92).aspx

  • Garth Bacon

    The Background Transfer Service APis to enable files to transfer (upload and download) data between your Windows Phone apllication and a server on the internet

  • http://nicksnettravels.builttoroam.com Nick

    The competition is now closed for entries. The following entries have been recorded for this question. If, for whatever reason, your entry is not in this list, please feel free to respond
    Ryan (2 entries as first answer)
    David Gordon
    Craig Naumann
    Daniel Spruce
    Chris Sanity
    Jake Ginnivan
    Garth Bacon

  • http://www.sadececicek.com/ çiçek sepeti