Maintaining two versions of its application can be complicated sometimes.


Mangopollo will allow you to easily take advantage of new windows phone tiles (cyclic, flip, iconic) if your application is run from a Windows Phone 7.8 or 8 as well as new launchers if your application is run from a Windows Phone 8 while remaining compatible with windows phone 7.

New

support for Windows Phone 7.8,

add Mangopollo.light.dll, compatible with background agents

Install

To install Mangopollo, run the following command in the Package Manager Console

 

PM> Install-Package Mangopollo

PM> Install-Package Mangopollo.Light

Features

New Tiles Type

  • CycleTileData : mimic the WP8 class to create Cycle Tile
  • IconicTileData : mimic the WP8 class to create Iconic Tile
  • FlipTileData : mimic the WP8 class to create Flip Tile

 

  • CreateFlipTile: create a Flip type tile
  • CreateIconicTile : create an Iconic type tile
  • CreateCyclicTile : create a Cyclic type tile
  • CreateFromStandardTile : create a Flip type tile from a standard tile (WP7)
  • ShellTileExt.Create (Uri, ShellTileData, bool) : allows to add tiles wides to your main screen

New Launchers (not included in mangopollo.light.dll)

  • SaveAppointmentTask: create an appointment in the calendar of the phone
  • MapTask: launch the Map app (WP8 version with vector and offline map, contrary to BingMapTask)
  • MapDirectionTask : request a route using the Map app (WP8 version with vector and offline maps contrary to BingDirectionMapTask)
  • MapDownloadTask : display the maps download page
  • MapUpdaterTask : display the maps updater page

Useful:

  • bool IsWP8() : Returns if the phone running the application is a Windows Phone 8
  • bool CanUseLiveTiles() : Return if the phone running the application is a Windows Phone 7.8 or +

Benefits/costs

Advantages:

  • a single application to maintain between windows phone 7 and windows phone 8
  • simplicity
  • the application will take advantage of the new tiles on windows phone 8 even if it's a WP7 app
  • use new offline maps tasks on Windows Phone 8

The disadvantages compared to a native Windows Phone 8 application:

  • Your application won't take advantage of new controls like the native panorama or native pivot
  • Your application will be displayed with a black band on 720p screen (HTC 8X)
  • You can't use new WP8 features like in-app purchase, WinPRT, etc..



wp_ss_20121030_0002.png
wp_ss_20121030_0006.png
wp_ss_20121030_0004.png

Last edited Dec 2, 2012 at 6:21 PM by rudyhuyn, version 17