You are here:   Blogs > Zune HD Development Blog
  |  Login
 Blog List    
   
  
 Archive    
   
  
 View Blog    
Oct 28

Written by: host
10/28/2009 12:18 PM 

To begin with, let me state that my starting goal was to simply learn how to develop software for the new Zune HD.  I am a Windows desktop and web developer and have developed for the iPhone, so thought the transition to the Zune HD should have been pretty easy, and I was right!  Microsoft uses C# for development on the Zune HD.  You must have Vistual C# Studio 2008 Express Edition (or another version of 2008) along with the Microsoft XNA Game Studio 3.1 and the Microsoft XNA Game Studio Zune Extensions.  Once completed, I was ready to create my first Zune HD application!

 

Again, my main goal was to simply LEARN how to write applications for the Zune HD.  Because of the touch screen on the Zune HD, I immediatley wanted to create applications that utelized this technology.  Now, in developing applications for Windows for the Web using Visual Studio, there is a design mode that allows you to visually place controls onto a form or page.  Not so with Zune HD development.

 

I was given a simple Game class with very little code.   Hmmm, where to start.  After a quick Bing search, I found the XNA Creators Club website.  This website seemed to be geared toward using the Game Studio for PC and Xbox360 development, but within the forums, there is useful information regarding Zune HD development.

 

My first application was going to be a simple stopwatch.  I figured a Label control would display the time, and a Button or two for the operation of the stopwatch.......

 

Ok, let's see here, where is the Label control.... and the Button.......

 

Well, they don't exist!  Looks like I will need to create them myself!

 

And so is born..... Zune Forms!!!

 

Zune Forms

After a week of development, I have a fairly stable set of controls to use for my Zune HD applications.  My plan is to release the source code to allow for further growth of this project.  

 

What's in it?

 

As of now, Zune Forms contains the following controls:

 

Form - This inherits the Game class and provides the basic function of housing controls and caring for them.

Control - This class is the base control class that most other controls will inherit from.

TextBox - Exactly what you think it is.  A textbox is displayed and when clicked, a custom keyboard displays allowing for user input.

Label - Displays text in single or multiline mode.

ListBox - Displays a list of items.  The list is scrollable using touch.

TabControl - Displays a list of tab pages.  Within each tab page can be any number of controls.  Tab pages can be scrolled in three ways:  1)  By clicking the arrow buttons presented, buy touching the current tab page title and waiting for the Context Menu to display and then selecting another page, or be scrolling left to right/right to left.

Keyboard - For some reason, Microsoft does not expose the keyboard that is on the Zune HD, so I created one.  Has two modes, letters and then, pretty much all other characters.

Clipboard - A simple implemtation of a clipboard to allow for copy/paste operations.

Context Menu - When touching a control and holding down for a moment, a context menu can be set to appear with menu items.

Button - A default button is provided, however custom images can be set to the button for the initial and pressed states.

Checkbox - A simple checkbox with two states: checked and unchecked.

 

This is a current list, but not the complete list.  I have plans to add features to these controls and add new controls, such as a progress bar and data grid.

 

In my next post, I will go into more details on how the code is arranged and why!

Tags:

14 comment(s) so far...

Re: Zune HD Forms!

thanks so much for sharing! the first post about Zune that I really enjoyed. so tired of reading about Zune vs ipod (there are so many articles I found by [removed link by host] SE!) I challenge anyone to simply test drive the Zune HD. APPS ARE BEING DEVELOPED PEOPLE! Be patient. Apple's app store was not built in one day.I own the Zune HD 16GB and this thing will blow you away. TRY IT!!!And don't let the fools at Best Buy push you into buying a ipod unless you truly want that over the HD.

By Mark on   5/6/2010 7:30 AM

Re: Zune HD Forms!

I downloaded the zune hd forms, but how do you use them with C#...i dont quite understand how to select them and integrate them into a project...

By maurice on   4/1/2010 8:07 AM

Re: Zune HD Forms!

could you include a tutorial on an app you created such as notepad for the zune hd using the forms, please

By maurice on   4/1/2010 8:09 AM

re:

I'm impressed. You're truly well informed and very intelligent. You wrote something that people could understand and made the subject intriguing for everyone. I'm saving this for future use.

Vivian
Marks Web
www.imarksweb.net

By Books and Manuals on   5/9/2011 12:22 AM

re:

This post has been extremely insightful & useful to increase my knowledge in the field of knowledge & its many facets. Well, I'm so happy that I have found this post because I have been seeking some information about it. Here’s a good resource that is also worth a look.

Beth
Technology Guide
www.bailerbin.com

By Technology Guide on   6/6/2011 10:40 PM

Re: Zune HD Forms!

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
SEO India | Web Development India | RPO

By Andrew123 on   7/18/2011 1:56 AM

Re: Zune HD Forms!

I have been reading your posts regularly. I need to say that you are doing a fantastic job. Please keep up the great work.
href="http://www.linkbuildingindia.com/plans/submission-plans.html" mce_href="http://www.linkbuildingindia.com/plans/submission-plans.html" rel="follow" PR Submissions

By Samjak on   9/21/2011 8:41 AM

SEO India


This is a topic of my interest. I love reading through your blog, I wanted to leave a little comment to support you and wish you a good continuation. Wishing you the best of luck for all your blogging efforts.
seo india |
Performance Based SEO |
India SEO |
Freelance SEO |
Pay for Performance SEO

By SEO India on   11/1/2011 5:23 AM

Online Automatenspiele


Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me
Online Automatenspiele

By Online Automatenspiele on   11/1/2011 5:25 AM

Indian Gooseberry Oil


The post is very informative. It is a pleasure reading it. I have also bookmarked you for checking out new posts.

By Indian Gooseberry Oil on   11/12/2011 6:27 AM

Re: Zune HD Forms!

Thanks you providing impressive information in your post. I like to share it with all my friends and hope they will definitely like it.
SEO Company India | Website Design India

By perfectionnk on   12/21/2011 7:51 AM

Re: Zune HD Forms!

Thanks you providing impressive information in your post. I like to share it with all my friends and hope they will definitely like it.
SEO Company India | Website Design India

By perfectionnk on   12/21/2011 7:53 AM

Re: Zune HD Forms!

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post..
hotel ses figueres talamanca ibiza

By Ibiza on   12/21/2011 9:32 AM

Re: Zune HD Forms!

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.
Medical Transcription Services Canada

By MD on   12/24/2011 3:49 AM

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel