The Android security and privacy model requires permissions to access certain features such as GPS. When clicking the Install button, the user sees the list of permissions and can then make an educated decision to opt out if desired.
Use...
The application descriptor contains application settings, and should look similar to the following code. Note the required or optional annotation, and default, for each setting.
Here are the required tags:
<application xmlns=http://ns.adobe.com/air/application/2.6>
// Last segment specifies the version of AIR required
<id>com.veronique.MyApplication</id>
// Universally...
The mobile marketplace is a cruel world. Users often download an application on impulse, try it once, and may never open it again if their first impression is negative. You should aim for excellence and simplicity. Define your application...
The MVVM pattern identifies three major components: the view, the view model, and the model. This chapter describes the UI of the Tailspin Surveys mobile client application and the way that Tailspin uses the MVVM pattern. The Tailspin mobile...
The Tailspin Surveys mobile client application performs some tasks asynchronously; one example is the potentially time-consuming synchronization with the Tailspin Surveys web service. Asynchronous tasks must often inform the user of the outcome of the task or provide status...
In addition to invoking commands from the view, the Tailspin mobile client also triggers navigation requests from the view. These requests could be to navigate to a particular view or navigate back to the previous view. In some scenarios,...
In a Silverlight application, you can invoke some action in response to a user action (such as a button click) by creating an event handler in the code-behind class. However, in the MVVM pattern, the responsibility for implementing the...
The application displays data by binding elements of the view to properties in the view model. For example, the Pivot control on the SurveyListView page binds to the SelectedPivotIndex property in the SurveyListViewModel class.
The view can automatically update the...
Tailspin uses the Silverlight unit test framework for Windows Phone 7 and Silverlight 3 that’s described in Appendix A, “Tools, Frameworks, and Processes.”
The Windows Phone 7 project named Tailspin.PhoneClient.Tests contains the unit tests for the Surveys mobile client application....
Now is a good time to walk through the code that implements the MVVM pattern in the Windows Phone 7 application in more detail. As you go through this section, you may want to download the Microsoft Visual Studio®...