Windows Phone Deployment Guide for IT Professionals

I have been honored again to be given the chance to present at Techdays.ca for the third time.  Every year I have covered Windows Phone from the IT Pro point of view and this year’s presentation, The Consumerization of IT: Windows Phone in the Workplace, takes Microsoft’s mobile offering to the next level of secure and manageable deployment.  A great deal of new functionality has now been made available with the launch of the “Mango” upgrade for Windows Phone and has application developers buzzing.  The opportunities to develop new and innovative solutions from within the Windows Phone OS since the Mango update has increased interest amidst the developer community in the platform which is evident by the standing room only Windows Phone developer sessions at Techdays.

With that being said, interest has also increased within the IT community around deploying Windows Phone within enterprise after a chain of events surrounding the current dominating mobile offering in business faltered severely and made IT departments wary of its consistency to deliver voice and data connectivity.  Couple that with the emergence of the rapidly growing trend of Consumerization of IT and now I too have a standing room only session on my hands with IT teams interested in learning how to securely deploy and manage Windows Phone within their respected organizations.

I invite those attending Techdays.ca to attend my session as I perform a live aggregation of Windows Phone and Office 365 showcasing the power of manageability and security which can be enabled from Microsoft Exchange itself.  To add, here is a listing of Windows Phone deployment and security documentation provided by Microsoft which detail and address deployment and security concerns:

Windows Phone 7 Deployment Guide:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8842

Windows Phone 7.5 “Mango” Deployment Guide:
http://www.microsoft.com/download/en/details.aspx?id=27743

I look forward to seeing you all there and continuing on the conversation as to how Windows Phone could enhance your organization’s mobile offering.

TechDays – Because There Always Something New To Learn

TechDays is here again and starts next week in Toronto.  As in past years (2009, 2010) I’ll will be presenting on Windows Phone deployment.  This year’s topic “Consumerization of IT: Windows-Based Devices in the Workplace” covers the aspects of the end users bringing Windows Phone and other devices into the workplace.  In this session, we will review the aspects of deployment & security across Exchange, SharePoint & the cloud.  I will also showcase how Windows Phone provides the best experience to accomplish this amidst a flurry of device and OS offerings.

This year TechDays will be taking place in the following cities so make sure to register

  1. Toronto – October 25-26
  2. Vancouver – November 15-16
  3. Montreal – November 29-30

As an added bonus, when you register for TechDays 2011, be sure to use promo code TDSPKR11CAN to get almost 50% off the conference admission.

A Simple Way To Get To Get Your WP7 App Rated

One of the best ways to get your application development skills noticed is through self promotion.  One of the easiest ways to accomplish this is by having users who download your application rate your work.  This capability is available in Windows Phone 7′s marketplace yet it requires end users to discover the “tap and hold the application icon” sequence in order to rate your application.  What if you were able to simplfy the way your customers could rate your application?

Launchers available within Windows Phone 7′s OS allow for code to take your user to the marketplace page to rate your application.  An example of this can be found below.

MarketplaceReviewTask task = new MarketplaceReviewTask();
task.Show();

Adding these two lines of code could be an effective way to increase your number of rating and/or your rating score in general.  Remember, application discovery can be greatly enhanced through Marketplace promotion.  Simplifying a way for end users to rate your application through Marketplace will secure your application being promoted.

Another great tool for feedback is the ability for developers to be in contact with their customers to gain insight on how the applciation could be improved.  This too can be simply accomplished by adding the code below to your application.

EmailComposeTask task = new EmailComposeTask();
task.Subject = "Application Feedback";
task.Show();
 
 

Live Tile Creation Without Push Notification in Windows Phone 7 Mango

With the launch of Windows Phone 7 came “Live Tiles” which provided a glimpse as to what information was aggregating amidst the application it represented.  Information as to how many tweets or emails recieved would be represented my a numeric value found on the tile itself.  The challange to developers though was the fact that a Live Tile could only be created alongside push notification to update said tile.  This is no longer the case with the introduction of Mango update for Windows Phone.  The Mango update allows developers to update, create primary and secondary tiles without the requirement of push notification.

To create and update live tiles essentially you will need to work with the ShellTile and StandardTileData classes.

You can get the instance of current tile for your application as provided in the example below:

ShellTile currentTiles = ShellTile.ActiveTiles.First();

You can set the data for you tile as demonstrated below.

var tilesUpdateData = new StandardTileData
         {
                 Title = “Live Tiles “,
                 Count = 10,
                 BackTitle = “Back Title”
         };

StandardTileDataclass has following properties. You can set value of these properties to set the data of live tiles.

  1. public Uri BackBackgroundImage
  2. public string BackContent
  3. public Uri BackgroundImage
  4. public string BackTitle
  5. public int? Count

Updating a Live Tile

The code snippet below will update a live tile with a title and a numeric count.

using System.Linq;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using WindowsPhoneApplication3;

namespace liveTiles
{
    public partial class MainPage : PhoneApplicationPage
{
    // Constructor
        public MainPage()
        {
          InitializeComponent();
          UpdateLiveTiles();
        }      
          private void UpdateLiveTiles()
        {
            ShellTile currentTiles = ShellTile.ActiveTiles.First();
            vartiles UpdatedData = new StandardTileData
            {
                Title =“Live Tiles “,
                Count = 10,
                BackTitle = “Back Title” 
            };
            currentTiles.Update(tilesUpdatedData); 
        }       
    }
}

The Live Tile will now get updated as shown in the example below.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Creating a Live Tile

The below code snippet will create a new live tile. Creation of live tile is exactly same as updating of live tile but to call Create function.

        private void CreateLiveTile()
        {
            var newTile = new StandardTileData()
            {
                Title = “Blogs Update”,
                BackgroundImage = new Uri(“background.png”, UriKind.Relative),
                Count = 42,
            };
            var uri = “/LiveTileUserControl.xaml?state= Live Tile”;
            ShellTile.Create(new Uri(uri, UriKind.Relative), newTile);
        }

An important point to note in the above code snippet is the uri. On clicking on the created live tile the user will navigate to the given XAML.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Updating The Created Live Tile

First step is to fetch the tile with a query string to allow the update to occur as show in the following example.

        private void UpdatingCreatedTile()
        {
            var uri = new Uri(“/LiveTileUserControl.xaml?state= Live Tile”, UriKind.Relative);
            ShellTile  tileToUpdate = ShellTile.ActiveTiles.Where(t => t.NavigationUri == uri).FirstOrDefault();
            var tilesUpdatedData = new StandardTileData
            {
                Title =“Created Tiles Updated “,
                Count = 45,
                BackTitle = “Back Title”

            };

            tileToUpdate.Update(tilesUpdatedData);
        }

This will then result in the tile getting updated as show below.

System Tray Customization for Windows Phone 7

In Windows Phone 7, the System Tray is the small bar across the top of the screen and is currently used to display signal strength, current time and WiFi connection strength of your device.   This system tray can be hidden and show on command should you application require it to do so.  The following is a demonstration as to how to make this happen.

To begin, design a page with a CheckBox inside it.  This will enable the event to show or hide the System Tray. 

Here is the XAML code for your reference:

<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" VerticalAlignment="Top">
<CheckBox Content="Show System Tray" Checked="ShowSystemTray" Unchecked="HideSystemTray"/> </Grid>

Here is the code implementation:

private void ShowSystemTray(object sender, RoutedEventArgs e)
{
 SystemTray.IsVisible = true;
}
private void HideSystemTray(object sender, RoutedEventArgs e)
{
 SystemTray.IsVisible = false;
}

When the “Show System Tray” is checked, you will see the System Tray bar at the top of the screen as shown in the first figure below:

 

 

 

 

Uncheck the “Show System Tray”. This will hide the System Tray bar from the screen.

 

 

 

 

As mentioned, this can be used to capitalize on screen real estate or can be used in situations were system notification is required.

WPC11: The Great Canadian WP7 Giveaway

Heads up all you Canucks attending this years Microsoft World Partner Conference in sunny Los Angeles.  Samsung Canada’s got a treat better than a tasty beaver tail for you to sink your teeth into.  Visit the @WPCCanada lounge located at the back-left of the Solution Innovation Centre, and show us how Canadian you are.  Be creative and you could walk away with 1 of 8 Samsung Windows Phone 7 Focus devices, a Samsung bluetooth headset and other great prizes.  Bring a group with you to the lounge and sing “O Canada”, hit a verse from “Let Your Backbone Slide“, heck drink a bottle of Canadian Maple Syrup, just be creative.

Contest ends Tuesday at 5pm and winners will be announced at the lounge on Wednesday.

Come on Canadians, lets show the world some Canadian pride!

Windows Phone 7 Security Model Explained

Recently, interest around Windows Phone 7 has started to pick up and as of late many questions have been sent to me around the security model implemented in Windows Phone 7.  This blog post will provide insight on how security is enabled and implemented within the Windows Phone model and provide additional links to security guides provided by Micosoft.

The security model outlines four different chambers of which each have strictly enforced and defined boundaries and privileges.  As an example, an application downloaded and installed from the Marketplace Hub has access to the least privileged chamber based on what the app needs.  When applications run, they are isolated from each other alongside the app data so that it cannot be access from other apps providing a superior experience around app security.

Application developers use Microsoft .NET managed language development technologies and tools to ensure data communications of said apps are encrypted via Secure Sockets Layer (SSL) in accordance with specified standard practices.  Once an app is developed, it is submitted to Microsoft to undergo certification tests to ensure the app falls in compliance.  After the application is certified it is code-signed and can only be sold and installed through the Windows Phone Marketplace Hub.  Even the included Internet Explorer browser is unable to install applications to prevent the potential of malware to be installed.

Lastly, although technically not part of the security model, the file system cannot be accessed via a tethered PC and the phone does not support removable memory storage cards.  Even though the Samsung Focus can accept a “Windows Phone 7” approved MicroSD cards, this upgrade is a onetime only deal which incorporates the card into the phone’s file system and cannot be read or used by any other device.

Microsoft has created an IT Professionals guide which further documents the Windows Phone 7 Security model which can be found here.  Additional documents included in the pack, ranging from deployment to management, will also be of interest to IT Professionals considering deploying Windows Phone 7 in their respected organizations.

Emma’s Back Porch Featuring Windows Phone 7 Brought To You By Silicon Halton

I have graciously been invited to speak at Silicon Halton’s 15th meetup tonight at 7pm located at Emma’s Back Porch.  Those of you in the Halton region should know the place and those of you who don’t should know that this Halton landmark serves up the best wings in Burlington.

As mentioned, tonight’s event is being hosted by Silicon Halton which is a grass roots networking group dedicated to connecting and creating strong  local relationships and business partnerships for hi tech entrepreneurs and leaders in Halton.

I will be presenting alongside my good friend Mark Arteaga on the topic of Windows Phone 7 from both an end user and an application development perspective.  I will also be bringing down goodies to give away to attendees already holstering a Windows Phone 7 device and will be showcasing live demos of the WP7 OS.

So come on down, enjoy a few wings and a beverage, and get to experience Windows Phone 7 first hand.

Register now as space is limited.

How to Sync Your Locally Stored Outlook Contacts & Calendar With Windows Phone 7

So you’ve just purchased you shiny new Windows Phone 7 device, charged it for the recommended amount of time without playing with your new toy (yeah right) and now you are ready to sync your Outlook calendar and contacts to your device.  Knowing that you cannot tether your Windows Phone 7 device to transfer data (aside from using your PC’s Zune client to transfer music, pictures and photos) and that you do not have an Exchange server to sync with would normally send you into a panic… or at least back to the wireless telco store of choice to politely air your grievings (again yeah right) with regards to issue.  However, you’re much savvier then that as you remind yourself you’ve got a “Different Kind of Phone”.

Question: if all your pertinent information is localized on one PC, how does one gain access to it when said PC is lost, stolen, damaged or even simply off?  

Allow me to introduce the Microsoft Office Outlook Hotmail Connector.
 
Outlook Hotmail Connector provides a solution for managing your Windows Live Hotmail e-mail, calendar, and contacts from within Outlook 2003, and 2010. Once enabled, it syncs your locally stored contacts & calendar automatically with your free Windows Live account.  This then allows you to access your day to day activities and/or “what’s his name’s number” even if their PC is off from virtually anywhere, including on your new Windows Phone 7 device.  To add, with the inclusion of the free 25GB SkyDrive, available for free through Windows Live, it gives SOHO / SMB organizations further ability to collaborate calendars, contacts, notes and documents inside of the cloud.

Best of all, you remember that this service is free and joyfully begin downloading the Outlook Hotmail Connector to harness the power of the cloud.  After installing and syncing your information the cloud, you enter your first calendar entry on your phone to be synced back with Outlook. “Visit my wireless rep to thank him for her suggestion of picking up a Windows Phone 7 device and to squeeze her for that free car adapter”.  Oh you savvy shopper you….

Windows Phone 7, a different kind of phone.

The Windows Phone User Group Meeting – November 16th

Have anything planned from 6PM till 9PM on November 16th?  Well you do now…

The inaugural Windows Phone User Group meeting takes place on November 16th and is being hosted by my two fellow MVPs Darren Humphries and Mike Temporale.  The magic will happen at the Microsoft campus located in Mississauga and will be a great source of information with regards to all things Windows Phone.  Mobility specialists such as Mark Arteaga, Joey DeVilla and myself will be attendance to answer all your questions around developement and deployment.  Live devices will be on hand as well for you to try out Microsoft’s latest mobile OS offering. Lastly, draws for prizing such as a, I don’t know, Windows Phone 7 device and other great prizes available to be won.

Attendance is free, there will be food and drinks to snack on and the first 100 attendees will recieve a free Windows Phone 7 t-shirt.  So come on by, take Windows Phone 7 for a test drive and possibly walk away with your very own Windows Phone 7 device.

Register here for the event. The team and I look forward to seeing you there.

 

This article also appears on Mark Arteaga’s blog and on Mobile Jaw

Follow

Get every new post delivered to your Inbox.

Join 1,629 other followers