Windows Phone 7 Feature Requests

The Start screen of Windows Phone 7

Image via Wikipedia

Being a developer evangelist who is focused on Windows Phone, I get asked all the time about features that users want added to WP7.  I completely understand when someone comes up to me and says : “ WP7 would be great if it had “Such and Such” feature.  What I don’t think many people understand is that, what is needed for one person, is not necessarily at the top of the list for others.

 

Do you want to find out what people think we need to add to WP7?  Do you want to post or share your own idea?

Then head on over to the feature feedback page on uservoice for WP7 (http://bit.ly/oeQnC9). Read what others are posting OR post your own and find out if other people share your idea.

Enhanced by Zemanta

Twitter over capacity AGAIN Fail Whale not funny.

 

imageAs much as the world (cough cough) relies on Twitter, you would think they would be able to get their act together.  I for one am really tired of seeing this. 

You would think that after years of refactoring http://www.infoq.com/news/2009/06/Twitter-Architecture …they would get something stable.

The Fail Whale may have been cute at one point (The first month maybe).  But this is ridiculous.

I’m just saying….. what do you say?

Microsoft to Acquire Skype

Today, Microsoft announced that it would acquire Skype.   I think this is a fantastic acquisition. Skype has 107 million users each month who are connected for more than 100 minutes on average. Combining Skype with XBox, Kinect, WP7, etc… adds to, and enhances both sides of the equation. This is going to be a great year.  I am looking forward to these opportunities.

 

Check out the Press conference here.  (You will need to move it ahead to 49:00… which is where it starts)

http://www.studiosevent.com/newscenter/?id=sfoannounce&color=FF5500?contentID=

 

Free MSDN Azure Cloud Events

If you live in the west coast in April you must note these cities
 
MSDN Presents…
  Rob Bagby and Bruno Terkaly in a city near you

clip_image001

Date City
4/11/2011 Denver
4/12/2011 San Francisco
4/15/2011 Tempe
4/18/2011 Bellevue
4/19/2011 Portland
4/20/2011 Irvine
4/21/2011 Los Angeles
   

Cloud Development is one of the fastest growing trends in our industry. Don’t get left behind.

In this event, Rob Bagby and Bruno Terkaly will provide an overview of developing with Windows Azure. They will cover both where and why you should consider taking advantage of the various Windows Azure’s services in your application, as well as providing you with a great head start on how to accomplish it. This half-day event will be split up into 3 sections. The first section will cover the benefits and nuances of hosting web applications and services in Windows Azure, as well as taking advantage of SQL Azure. The second section will cover the ins and outs of Windows Azure storage, while the third will illustrate the Windows Azure AppFabric.

The fact is that cloud computing offers affordable innovation. At most corporations, IT spending is growing at unsustainable rates. This is making innovation very difficult.

Companies, scientists, and innovators are turning to the cloud. Don’t get left behind.

Date Location Time Registration Link
4/11/2011 Denver 1:00 PM – 5:00 PM http://bit.ly/gp2rTa
4/12/2011 San Francisco 1:00 PM – 5:00 PM http://bit.ly/gqBH62
4/15/2011 Tempe 1:00 PM – 5:00 PM http://bit.ly/ewd1XP
4/18/2011 Bellevue 1:00 PM – 5:00 PM http://bit.ly/egA8kk
4/19/2011 Portland 1:00 PM – 5:00 PM http://bit.ly/hoNd84
4/20/2011 Irvine 1:00 PM – 5:00 PM http://bit.ly/dOjYIa
4/21/2011 Los Angeles 1:00 PM – 5:00 PM http://bit.ly/dU7zN2
       
  Why you should go – Cloud computing facts
 

The cloud makes it possible for new levels of computing power:
(1) 10’s of thousands of cores
(2) 100’s of terabytes of data
(3) 100,000’s of daily jobs
(4) incredible efficiencies with typical levels of 80%-90% cpu utilization

  Amazing Statistics
 
Huge Market Growth – Cloud Computing $149 Billion projected market by 2014
Number of Servers on Earth 60 million
Virtualization 70% of work done will be on virtualized servers by 2014
Amount of Power in a MegaData Centers 50 megawatts (25 – 50 times the dotcom era)
Estimated market for servers in cloud in 2014 $6.4 Billion (2010 it was $3.8 Billion)

Bloomberg Businessweek (3/7/2011, p52)

CTO Roundtable

imageIf you cant make it in person (its sold out) why don’t you join us online. 

We have a great panel of experts for this panel…

 

Tuesday February 24th at 7:00PM

 

Disney Interactive Media Group – Susan Standiford, VP Technology
Sony Pictures Entertainment – David Buckhotlz, Vice-President, CIO
Lionsgate – Theresa Miller, Senior VP Technology
Universal Music Group – Sam Frank, VP Technology
Creative Artists Agency – Glenn Scott, Information Technology

 

The event will be hosted live by :

logo

 

The event will start around 7:00 or 7:30 depending on traffic (hey, come on, this is LA)

Just go to http://techzulu.com/ to watch live.  If you want to ask questions, just post them to twitter using the #CTOtable  hash tag.

 

We hope to see you there (online) Smile

WP7 Saving To Isolated Storage

In the next few posts, we will be working with Isolated Storage on the phone.  In this post, we are going IO1to cover the basics of saving to, and reading from storage.  As we move forward we will modify this application with more complexity and best practices.

If you have every used the System.IO namespace in your .Net projects, you will find working with the storage on the phone very simple. It is just an extension of that namespace called System.IO.IsolatedStorage.

 

The first thing we want to do is to create a simple application that allows us to save some data.  We create a PhoneApplicatiton and add some TextBoxes and TextBlocks as shown on the left.

As you can see, we want to capture three simple points of data,  First Name, Last Name, and Age.

 

If we go to the code behind file, we first need to add the using statements for IsolatedStorage.

using System.IO;
using System.IO.IsolatedStorage;

 

Next,  lets look at the code that lies under the Set button. As you can see, we first create the storage for the application and then define a streamwriter that we will use to write our data to storage

private void btnSet_Click(object sender, RoutedEventArgs e)
{
    //get the storage for your app
    IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication();
    //define a StreamWriter
    StreamWriter writeFile;

 

Since we will be writing to this file many times, we need to determine if this is the first time that someone has used the application. If it is, we create a folder and a file, if it is not, we just open the file and append it.

 

if (!store.DirectoryExists("SaveFolder"))
{
    //Create a directory folder
    store.CreateDirectory("SaveFolder");

    //Create a new file and use a StreamWriter to the store a new file in the directory we just created
     writeFile = new StreamWriter(new IsolatedStorageFileStream("SaveFolder\\SavedFile.txt", FileMode.CreateNew, store));
}
else
{
    //Create a new file and use a StreamWriter to the store a new file in the directory we just created
     writeFile = new StreamWriter(new IsolatedStorageFileStream("SaveFolder\\SavedFile.txt", FileMode.Append, store));
}

 

Now we gather the data needed, add a comma to seperate the data, and save the data to the file we created in the last step.

StringWriter str = new StringWriter();
            str.Write(txtFirstName.Text);
            str.Write(",");
            str.Write(txtLastName.Text);
            str.Write(",");
            str.Write(txtAge.Text);

            writeFile.WriteLine(str.ToString());
            writeFile.Close();

            txtFirstName.Text = string.Empty;
            txtLastName.Text = string.Empty;
            txtAge.Text = string.Empty;
                

        }

 

Now that we have the data saved to file. We can retrieve the data using a StreamReader. This is the code under the GET button.

 

//Get the Store we created earlier
IsolatedStorageFile store = IsolatedStorageFile.GetUserStoreForApplication();

//use a StreamReader to open and read the file           
StreamReader readFile = null;
try
{
    readFile = new StreamReader(new IsolatedStorageFileStream("SaveFolder\\SavedFile.txt", FileMode.Open, store));
    string fileText = readFile.ReadToEnd();

    //The control txtRead will display the text entered in the file
    txtReturn.Text = fileText;
    readFile.Close();
}

catch
{        
    //For now, a simple catch to make sure they created it first
    //we will modify this later
    txtReturn.Text = "Need to create directory and the file first.";
}

 

This will read the file and place it in the TextBlock as shown below.

IO2 

 

Download the files for this post

In our next post on IsolatedStorage,  we will modify this section to read, search, and delete specific records.

Happy Coding

Daniel Egan – The Sociable Geek

ChevronWP7 Working with Microsoft

chevronwp7shirt

The ChevronWP7 guys met with Brandon Watson today and out came the funny. I think it is great that they are working together.  I am not sure what will come out of it ( I am not priviy) but I think the shirts are a nice way to break the ice at the meeting.  To see the ChevronWP7 post head over to their site and see their post HERE

Daniel Egan – The Sociable Geek