Abstract
Today, most mobile software vendors maintain two versions of their application code, one for the trial version and another for purchase. The code base for the trial version typically includes some—but not all—of the functionality of the full version, as well as code that urges users to upgrade to the full version of the product. The Windows Phone 7 platform, however, eliminates the need for this practice thanks to the handy IsTrial method. The IsTrial method of the Microsoft. Phone. Marketplace. LicenseInformation class provides the functionality you need to create a trial version. Microsoft. Phone.Marketplace. LicenseInf ormation is a sealed class that contains the methods you&ll use to test your applications. You have already learned how to deploy applications to the Windows Phone Marketplace in Chapter 5; in this chapter, you will learn how to add a trial option to applications you deploy so that your potential customers have a chance to try your applications before they buy them. The IsTrial method determines whether an application is running under a trial or a full license, allowing you to limit your application based on the result that IsTrial returns.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 by Henry Lee & Eugene Chuvyrov
About this chapter
Cite this chapter
Lee, H., Chuvyrov, E. (2010). Creating Trial Applications. In: Beginning Windows Phone 7 Development. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3217-9_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3217-9_11
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-3216-2
Online ISBN: 978-1-4302-3217-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)