VERIZON APPS SUNSET

***NOTE: Effective November 1st, 2012, the VDC no longer accepts new Verizon App submissions. Additionally, beginning December 2012, final billing to customers for all existing Subscriptions and In-App Purchase apps will occur, and all paid Subscriptions and In-App Purchase API apps will be removed from the catalog on November 1st, 2012. Customers will receive a final full month of use & access, before Verizon Apps begins its complete shutdown in January 2013.

LICENSES

In order to access the license and result fields of LicenseAuthenticator.CheckLicenseResult that is returned from the purchaseInAppContent method, use the getLicense() method call that returns the signed license String. This string is an XML representation of the license and contains a multitude of important fields including MDN, MEID, Keyword, License terms, Purchase date, etc.

Refer below to a sample of the license result that is returned, note the signature is after the closed License tag:

The purchaseInAppContents() method returns standard integer error codes that can be used to make decisions about what to display to the end user, refer below to a sample and javadocs in SDK for more detail:

• LICENSE_OK: license is valid

• LICENSE_NOT_FOUND: license invalid

• LICENSE_TRIAL_OK: trial license valid

• ERROR_UNABLE_TO_CONNECT: couldn’t contact license server, try again

• ……..

Licenses will also grow as end users purchase additional In-App items. Each new item is appended to the license file in an <InApp> element within an <InAppList> element. If a new purchase is made the Verizon Apps service will return a new license to the device.