Windows Phone 7 Video - Part Two

   Posted by: Intertech

This is part two of our Windows Phone 7 video from our Mobile Devcon:

Windows Phone 7 Video - Part One

   Posted by: Intertech

This is part one of our Windows Phone 7 Video from our Mobile DevCon:

Click here to see Part Two of the video.

We're Hiring!!!

   Posted by: Intertech

Thanks to our loyal customers and the great work our team members are doing for those customers, we are growing. We're looking for top talent to join our award winning team. Our staff get to teach the top firms in the country on the latest technologies or use those same technologies to build great new application for clients.

If you like solving challenging problems with great technology this might be the place for you.

Here are some of the needs we have:

·         Senior Developer/Architect (.Net Silverlight WPF WCF)

·         C# ASP.NET Developer

·         Software Developer (.Net)

·         Software Developer (ASP.Net MVC)

·         Software Developer (C# ASP.NET)

·         Sr. Systems / Software Engineer ( C#.Net )

·         .Net Manufacturing Systems / Solutions Architect

·         C#.Net developer

·         .Net Developer

·         Systems / Solutions Architect (.Net Manufacturing)

·         ASP.Net MVC Developer

·         Senior .Net Silverlight WPF WCF Developer/Architect

·         Sr. C#.Net Systems / Software Engineer

·         Senior Java Developer\Architect

 

For more details on our jobs, click here.

 

You can also apply online or if you find a job that is perfect for a friend, we make it easy for you to send it to them.

 

Let us know if you find one that is perfect for you or if you know someone who may be a great fit.

 

We’re offering a free training certificate to anyone who refers someone that joins our firm.

 

Thanks!

 

 

The Windows Phone 7 Panorama Project Type

   Posted by: Andrew Troelsen

When you are building a new Windows Phone 7 using using Blend (or Visual Studio), you can select the Windows Phone Panorama Application project type. This style of application allows you to define a Canvas object, which contains a graphic much longer than the view port is capable of showing at once.

When the user uses their finger (for a real phone; you'll use the mouse to achieve a similar effect), the view port will smoothly scroll to the next part of the larger graphic.

To illustrate, launch Blend and access the the File | New Project menu option, create a new Windows Phone Panorama Application project named PanoramaDemoApp.

Take a look at the Objects and Timeline editor, and notice that your LayoutRoot Grid object defines a single child object of type Panorama. This object is responsible for smoothly transiting between its set of PanoramaItem objects, of which there are currently two, each of which contains a single ListBox:

Figure 7-21

Now, run your application. Once it loads in the emulator, you can use your mouse to "swipe" to the left or right to smoothly scroll the view port, and view the data in each PanoramaItem objects.

Now, open the XAML editor for your MainPage.xaml artboard, and notice that each PanoramaItem object has been configured to pull data from a related data template, for example:

   1:  <!--Panorama item one-->
   2:  <controls:PanoramaItem Header="first item">
   3:    <!--Double line list with text wrapping-->
   4:    <ListBox ItemsSource="{Binding Items}" Margin="0,0,-12,0">
   5:      <ListBox.ItemTemplate>
   6:        <DataTemplate>
   7:          <StackPanel Margin="0,0,0,17" Width="432">
   8:            <TextBlock Text="{Binding LineOne}" TextWrapping="Wrap" 
   9:             Style="{StaticResource PhoneTextExtraLargeStyle}" />
  10:            <TextBlock Text="{Binding LineTwo}" TextWrapping="Wrap" 
  11:             Margin="12,-6,12,0" 
  12:             Style="{StaticResource PhoneTextSubtleStyle}" />
  13:          </StackPanel>
  14:        </DataTemplate>
  15:      </ListBox.ItemTemplate>
  16:    </ListBox>
  17:  </controls:PanoramaItem>

The containing Panorama control, beyond maintaining the PanoramaItem objects, also establishes which image file to use as the background, which is currently set to a starter file added to your project named PanoramaBackground.png:

   1:  <!--Panorama control-->
   2:  <controls:Panorama Title="my application">
   3:    <controls:Panorama.Background>
   4:    <ImageBrush ImageSource="PanoramaBackground.png"/>
   5:    </controls:Panorama.Background>
   6:  ...
   7:  </controls:Panorama>

To continue tinkering with this Windows Phone project type, let's change the default background image with a custom image file. Select the Panorama object in the Objects and Timeline panel, and locate the Background property. You'll notice that it is currently using an Image brush, connected to PanoramaBackground.png:

Figure 7-22

Before we change this background, what I would recommend is to open a digital image file into the Windows Paint application, and then resize the image to 1024 * 768 pixels in size (which is the size of the original image) and save it as a PNG file format. Once you have done so, click ellipse button next to the ImageSource property, locate a new custom graphic of your choosing. Now, run your program once again, and you will see your graphic scrolling in the background, thanks to the Panorama object:

 Figure 7-25

The final modification we will make here is to add a third PanoramaItem to the collection maintained by the Panorama parent node. The simplest way to do so is to right click on the Panorama object via the Objects and Timeline panel, and select the Add PanoramaItem menu option:

Figure 7-26

As soon as you activate this menu option, the artboard will display the new PanoramaItem object, to which you are able to add any number of controls, graphics or what have you. Here, you might just want to change the Header property of the PanoramaItem object (via the Properties window) and perhaps add a new Button to the internal Grid object (really anything will do here; we just need something to test). Now, run your program once again, and you should be able to smoothly scroll between each of your views, while your custom graphic passes in the background!

A Few Words about Mobile development via .NET

   Posted by: Andrew Troelsen

A big thanks to all of you who attended the Intertech Mobile conference yesterday.  It was wonderful to see such a huge showing at the hotel as well as the hundreds of you who attended virtually. Thanks for a great day.

When I was speaking about Windows Phone 7 and Silverlight for Windows Phone 7, a number of you had questions about how one could use .NET on devices *other* than WP7 (ex, IPhone / Android devices).

Recall that the Mono team has created a platform named MonoTouch.  This API allows you to build .NET applications which run on Apple Idevices. The latest edition of MonoTouch has XCode / Interface Builder integration!  More information can be found here.

In addition, the Mono team is creating Mono for Android (MonoDroid). This API integrates into Visual Studio, and allows developers to target Android phones/tables using C# and the .NET platform. Right now, MonoDroid is currently in beta, but you can follow the project here.

So!  There you have it. If you love working with the .NET platform but wish to target non-MS mobile devices, no need to learn Objective-C or author reams of XML configuration documents (ala Java).

Download the bits and check it out!

Windows Phone 7 "Keyboard Scope"

   Posted by: Andrew Troelsen

The Windows Phone 7 development platform is based on Silverlight / XAML technologies. This alone is a major benefit to the .NET programmers of the world, as they already have a huge head-start when it comes to the process of diving into mobile development (don?t know about you, but I don't have time to learn Objective C myself?.)

While it is try that a WPF and Silverlight developers have a great head start, there are a number of phone-particular aspects of the Silverlight for Windows Phone API, one of which is the concept of ?keyboard scope?.

The onboard virtual keyboard of a Windows Phone 7 device can be easily configured to display input keys which are most appropriate to the task at hand. For example, if you have a TextBox which should contain numerical data, you can set up a "number scope". If another TextBox needs to let the user enter a telephone number or email address, you could apply different scopes.

To illustrate how this is possible, fire up Expression Blend and create a new Windows Phone Application:

image

Now, I?ve designed my initial Grid to contain a series of StackPanel objects, each of which contains a TextBlock and a TextBox.  The TextBlock objects just display which scope is applied to the related TextBox:

image

Using the Blend artboard, select the first TextBox (not the TextBlock, mind you) and then locate the InputScope property via the Search area:

image

As you can see, there are a number of possible keyboard scopes you can select. Pick your poison, and then repeat the same process for the remaining two TextBox objects. Once you are done, examine the XAML.  You?ll notice markup such as the following:

   1:  <TextBox x:Name="txtPassword2" 
   2:  TextWrapping="Wrap" Foreground="#FF10100F" 
   3:  FontSize="16" InputScope="Date" 
   4:  Margin="0,0,8,0" Height="66"/>

Now, run your program.  This will launch the Phone Emulator, after which point you can click in any of your three TextBox objects to load the virtual keyboard.  You?ll notice that the keyboard display is ?scoped? accordingly!

image

This is just one simple example of some "phone specific APIs" you should get to know. We will examine other features in future blog posts.

Find Us
Contact Us 651-288-7000 1-800-866-9884
Home | Training | Curriculum | Course Finder | Schedule | Enroll | Twin Cities Java User Group | Consulting | Foundation | Jobs | About Us | Our Story | Press Room | Instructors | President | Map & Directions | Sitemap

Java Training | JSF / Struts / Spring / Hibernate Training | Java Power Tools Training | .NET 4.0 & Visual Studio 2010 Training | Microsoft Web Development Training | Prism / MVVM / MEF Training | .NET 3.5 and Visual Studio 2008 Training | .NET 2.0 and Visual Studio 2003 Training | Cloud Computing Training | Ajax / Web Services / XML Training | Groovy and Grails Training | SQL Server 2012 Training | SQL Server 2008 Training | SQL Server 2005 Training | Mobile Development Training | SharePoint 2010 Training | SharePoint 2007 Training | Agile, Process, Analysis & Design Training | Arch/Design Patterns Training | Microsoft Official Curriculum Training | Web Development Training | Ruby Training | Rational Application Developer (RAD) Training | WebSphere Application Server Training | WebSphere Portal Training | WebLogic Training | Boot Camp Training | Project Management Training | C / C++ Training | Metro / WinRT / Windows 8 Development Training | Retired

Intertech delivers training on-site and virtually serving cities including Phoenix, AZ | San Francisco, CA | Los Angeles, CA | San Diego, CA | San Jose, CA | Washington, DC | Chicago, IL | Orlando, FL | Boston, MA | Duluth, MN | Minneapolis St. Paul, MN | Rochester, MN | Raleigh-Durham, NC | New York, NY | Philadelphia, PA | Austin, TX | Dallas, TX | Houston, TX | Seattle, WA.