Windows Phone Navigation and Controls
- Posted: Mar 15, 2010 at 6:19 AM
- 22,136 Views Today
This lab introduces you to the Windows Phone layout system, the phone's chrome, and few new controls. The lab explains the basics of navigating between different screens (pages) in a Windows Phone Silverlight application. During the lab you will build
a navigation application that switches between various screens, with each screen displaying different phone functionality, such as playing an audio or video file.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Thanks, good tutorial!
That was very informative. How do we navigate between pages using C# only.
I can't get it to play any MP3's. It plays the midi and the videos just fine, but no MP3's I throw at it (including the provided one) actually play. There's no error message, just no sound. Same thing with the provided end.sln that comes with the lab. Has anyone been able to get it to play?
I have the same issue with MP3s.
Also, the ApplicationBar icons for IE and Images just display as "X" - I seem to recall that such icons are supposed to be white against a transparent background, so presumably that's the reason - although that does leave me wondering what version of WP7S the screenshots were produced from.
Good to hear the MP3 issue isn't just me.
I did get the ApplicationBar icons, though. They displayed fine in color. Did you set the Build Action to "Content" for those images?
Oops...
Apparently not
Great tutorial! Thanks!
I think thats part of the Getting Started tutorial on here...
this.NavigationService.Navigate(newUri("/PuzzlePage.xaml", UriKind.Relative));ApplicationBar Visible has been changed to IsVisible on the new April Refresh of the CTP, maybe someone should change the tutorial
I'm really enjoying these tutorials...
I haven't been able to figure out a problem I'm having on step 15 of task 3 of exercise 3 (Adding an Application Bar). When trying to set the value of the SystemTray dependency property, I get the compiler error: The name 'SystemTray' does not exist in the current context. Is anyone else having this problem, or have any idea what I might be doing wrong? Is SystemTray called something new in the April Refresh?
***RESOLVED!*** I had to of course add using Microsoft.Phone.Shell to MainPage.xaml.cs. (This step is missing from the tutorial.)
This lab introduces you to the Windows Phone layout system, the phone's chrome, and few new controls
What is "Chrome" I thought that was a Google OS/Browser.
Has this site been hacked?
A
What about [Page].FullScreen? (as in MainPage)
Seems like that property has disappeared...
When I run the VSI file included in the Source.zip it crashes with an ArgumentNullException when I click Next, so I'm unable to install the files...
When I tested videos which are in the assets folder, I can hear the sound but the screen has some problems. I can see the black screen with video1.wmv and first blue colored frame with video2.wmv. I tried to encode them with "portable setting" using Windows Live Movie Maker but still in the problem. Any ideas?
** RESOLVED?? ** It might be the performance problem of my COM. I confirmed that the emulator renders partial images slowly when I test "Handling Page Orientation" in Ex3!
## Given <music1.mp3> is not working in my emulator but other mp3 file is working well. ##
I have an experience similar to the last post:
1. The MP3 doesn't play
2. The Midi file DOES play
3. Video 1 shows a black screen, but after a while the audio starts (choppy, and still no video)
4. Video 2 shows a static image (blue), but no video and a snippet of audio plays after a few minutes
Is the audio / video emulator just plain broken?
I have exactly the same experience as neptune2000. I'm running this lab on Win 7 64bit and I'm using VisualStudio Ultimate.
I need some help. I'm stuck on Exercise 2 - Task 2 - Step 15. When I build and run the app, and click the images link from the main page, I get an error:
_________________________________________
image.SetSource(imageResource.Stream);
NullReferenceException was unhandled
_________________________________________
The error is coming from the Utils.cs file.
navigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigationnavigation
Is the offline training kit off line?
I can't seem to download it.
After (approx.) over a dozen attempts, it has always resulted in a server reset.
Initially, it would start out ok and progressively throttle down to about 1.4 kb/sec before failing.
Is there anywhere else I can download this offline training kit?
Thanks!
Remove this comment
Remove this thread
close