Zunerama logo   
News: Read the latest in our Zune blog
 
*
Welcome, Guest. Please login or register. April 23, 2014, 12:00:23 PM


Login with username, password and session length


Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: Zune clock application (built using XNA)  (Read 26814 times)
Nelson
zune commando
******
Posts: 433


View Profile Email
« on: May 07, 2008, 07:46:17 PM »

[Edited to show pix of clock, and download file - Admin]

Well, it's finally done. Here's version 1.0 of zClock.

I had to postpone the saving of timezones until the next version. You can still set the time zone, it just will not be saved.

This is sort of a rushed release, so there may be bugs. I will be heavily polishing this over the next few days.

Here it is: omg a clock

Comments/Questions/Suggestions all welcome
*Crosses fingers all goes well with deployment*

Cheers.








>> Original Post >>
Does anyone here besides me have programming experience in C# and XNA?
If so, maybe we can setup some sort of community here and pump out some fun stuff.

Btw, I will do my damnedest to get a clock. Mark my words.

Edit: Not having much luck so far, seems the DateTime structure is not being updated by the Zune Hardware.
« Last Edit: May 08, 2008, 10:50:50 PM by Zunerama Ed. » Logged
Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #1 on: May 07, 2008, 08:40:35 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.
Logged
Diego15nets
zune commando
******
Gender: Male
Posts: 310



View Profile Email
« Reply #2 on: May 07, 2008, 08:42:19 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!
Logged

Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #3 on: May 07, 2008, 08:53:53 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
Logged
Endless
zune rockstar
*******
Gender: Male
Posts: 1425


I ♣ Seals!

thehorsmancometh@hotmail.com littlemonster114
View Profile WWW Email
« Reply #4 on: May 07, 2008, 08:56:31 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
That's still cool!
Logged

Quote from: Scott Fletcher of Unthinkability.com
Microsoft is always fashionably late to the party, but they always go home with the hot chicks
Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #5 on: May 07, 2008, 09:02:43 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
That's still cool!

I'll most likely end up making the Time Zone selectable, and store it on the device itself (I'm pretty sure the device allows storage of files for saved games and such, I can utilize this) and then use the Universal Time and convert to the selected Time Zone.

It'd take me a little bit of time to write an interactive UI and such, but it could work.
Logged
1shado1
zune trooper
*****
Posts: 223

Scratch 'n Sniff


View Profile
« Reply #6 on: May 07, 2008, 09:05:04 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Primitive?  Jeez, I hope it's not a SUNDIAL!! Grin

Very cool, and good work!!

Question:  Forgive my ignorance, but will it still keep time even if the Zune is shut down (as opposed to sleep mode)??
Logged

Time is an abstract concept created by carbon-based life-forms to monitor their ongoing decay.

Jander
Global Moderator
zune overlord
*****
Gender: Male
Posts: 2650


Mr. 1000. Professional DJ.

justy@gnuk.net
View Profile WWW Email
« Reply #7 on: May 07, 2008, 09:08:38 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
That's still cool!

I'll most likely end up making the Time Zone selectable, and store it on the device itself (I'm pretty sure the device allows storage of files for saved games and such, I can utilize this) and then use the Universal Time and convert to the selected Time Zone.

It'd take me a little bit of time to write an interactive UI and such, but it could work.

Nelson, you're doing the unpossible. Most of us had given up hope on a clock, some get violent at the very mention of it for fear of false hopes to rear its ugly head.  I truly hope you can, single-handedly silence all those Zuners who absolutely must have a clock. In short, you're doing us all a great favor. Wink
Logged

Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #8 on: May 07, 2008, 09:09:56 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Primitive?  Jeez, I hope it's not a SUNDIAL!! Grin

Very cool, and good work!!

Question:  Forgive my ignorance, but will it still keep time even if the Zune is shut down (as opposed to sleep mode)??

Yes it will, the hardware keeps an internal clock which runs even when the device is off.

The only downside to Zune Games, is that the Zune restarts whenever a game exits (Get this..it's intended behavior.)

Absolutely disgusting, they really need to change that.
Logged
Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #9 on: May 07, 2008, 09:11:10 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
That's still cool!

I'll most likely end up making the Time Zone selectable, and store it on the device itself (I'm pretty sure the device allows storage of files for saved games and such, I can utilize this) and then use the Universal Time and convert to the selected Time Zone.

It'd take me a little bit of time to write an interactive UI and such, but it could work.

Nelson, you're doing the unpossible. Most of us had given up hope on a clock, some get violent at the very mention of it for fear of false hopes to rear its ugly head.  I truly hope you can, single-handedly silence all those Zuners who absolutely must have a clock. In short, you're doing us all a great favor. Wink

Heh yea, I've sort of been one of those whiners though. It's turned into sort of a joke at work..

Co-Worker: "Hey does anyone know the time...Nelson check your Zune."
Me: *grumble*

I plan to silence them tomorrow.

Logged
Jander
Global Moderator
zune overlord
*****
Gender: Male
Posts: 2650


Mr. 1000. Professional DJ.

justy@gnuk.net
View Profile WWW Email
« Reply #10 on: May 07, 2008, 09:17:56 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Awesome!

There's a pitfall, it seems the Zune Hardware already has it's TimeZone set .. so I either need to figure out a way to programatically set the TimeZone or do approximations which would be inflexible and probably inaccurate with international users.
That's still cool!

I'll most likely end up making the Time Zone selectable, and store it on the device itself (I'm pretty sure the device allows storage of files for saved games and such, I can utilize this) and then use the Universal Time and convert to the selected Time Zone.

It'd take me a little bit of time to write an interactive UI and such, but it could work.

Nelson, you're doing the unpossible. Most of us had given up hope on a clock, some get violent at the very mention of it for fear of false hopes to rear its ugly head.  I truly hope you can, single-handedly silence all those Zuners who absolutely must have a clock. In short, you're doing us all a great favor. Wink

Heh yea, I've sort of been one of those whiners though. It's turned into sort of a joke at work..

Co-Worker: "Hey does anyone know the time...Nelson check your Zune."
Me: *grumble*

I plan to silence them tomorrow.



Hah! Nice. Give em' a nice what-for.  Tongue
Logged

1shado1
zune trooper
*****
Posts: 223

Scratch 'n Sniff


View Profile
« Reply #11 on: May 07, 2008, 09:18:23 PM »

Alright, I got a primitive clock app working on the Zune. Just needs a bit of polishing and I'll release an initial version.


Primitive?  Jeez, I hope it's not a SUNDIAL!! Grin

Very cool, and good work!!

Question:  Forgive my ignorance, but will it still keep time even if the Zune is shut down (as opposed to sleep mode)??

Yes it will, the hardware keeps an internal clock which runs even when the device is off.

The only downside to Zune Games, is that the Zune restarts whenever a game exits (Get this..it's intended behavior.)

Absolutely disgusting, they really need to change that.

Nelson, you da man!!  You computer wizards never cease to amaze me. Grin

Yeah, the restart exiting Zune Games is bothersome..  I also noticed that I still suck at video games.  'Clock' is more my speed.
Logged

Time is an abstract concept created by carbon-based life-forms to monitor their ongoing decay.

Zunerama Ed.
Administrator
zune overlord
*****
Posts: 5759



View Profile WWW Email
« Reply #12 on: May 07, 2008, 09:58:28 PM »

Nelson, count me in as KEENLY INTERESTED in what you create with this. Keep us posted!!

- Harvey
Logged


Nelson
zune commando
******
Posts: 433


View Profile Email
« Reply #13 on: May 07, 2008, 10:03:50 PM »

Nelson, count me in as KEENLY INTERESTED in what you create with this. Keep us posted!!

- Harvey

Sure thing, the actual code for reading the internal Clock will probably end up being 20 lines of code, the rest of the world would go into building an infrastructure for a User Interface (Which would probably form the basis for other Applications in the pipeline too) and polishing.

So it may be a few days before I  have something presentable, but it's definitely do-able.
Logged
Ricardo Dawkins
zune overlord
*******
Posts: 3008

dawkins_ricardo@hotmail.com
View Profile WWW Email
« Reply #14 on: May 07, 2008, 10:19:16 PM »

So, if you can do a clock with XNA as a game can you use the media capabilities of XNA and Zune to set alarms and sleep timers ?

You have the media controls and the clock timer ....right ?
Logged

Samsung Galaxy S (Vibrant) + Black Zune 80 + MEElectronics M6 (Clear) + Zune Premium + AKG K26p

Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  


Got a Kindle? Join our Kindle forum.

Zunerama is an independent website and is not affiliated with Microsoft. Zune, Zune Marketplace, and Zune Social are trademarks of Microsoft Corporation.
(c) 2006 - 2008 Zunerama. All Rights Reserved.
Top Zune Sites Microsoft Zune Player Top Site List
Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.176 seconds with 19 queries.