The App Bar and Controls - Jot and Application Settings |
Every time you open the program, you get the same text you left in there the last time you used the program. You can add text and delete text. It’s good for taking quick notes (as the program name suggests) because you don’t have to load or save any files. |
|
The App Bar and Controls - ApplicationBar Icons |
The ApplicationBar serves the same role as a menu or toolbar that you might find in a conventional Windows program. It also shares some visual and functional similarities with those older structures. |
|
|
Issues in Application Architecture - Isolated Storage |
Every program installed on Windows Phone 7 has access to its own area of permanent disk storage referred to as isolated storage, which the program can access using classes in the System.IO.IsolatedStorage namespace |
|
Issues in Application Architecture - Page State |
The SilverlightFlawedTombstoning project is a simple Silverlight program with just one page. The program responds to taps on the screen by changing the background of ContentGrid to a random color, and displaying the total number of taps in its page title. |
|
|
|
Issues in Application Architecture - Sharing Data Among Pages |
Keep in mind that all the pages in your program have convenient access to the App class that derives from Application. The static Application.Current property returns the Application object associated with the program, and you can simply cast that to App |
|
|
Issues in Application Architecture - Basic Navigation |
Navigation in a Silverlight program is based around XAML files in much the same way that navigation in a traditional Web environment is based around HTML files. The actual instance of the SecondPage class is created behind the scenes. |
|
|
|
Sensors and Services : A Simple Bubble Level |
One handy tool found in any workshop is a bubble level, also called a spirit level. A little bubble always floats to the top of a liquid, so it visually indicates whether something is parallel or orthogonal to the earth, or tilted in some way. |
|
Sensors and Services : Accelerometer |
Windows Phones contain an accelerometer—a small hardware device that essentially measures force, which elementary physics tells us is proportional to acceleration. |
|
|
|
|
|
|
|
|
|
|
|
|
|