What will the variables expand to?

The template editor and the annotations both support variable expansion. The following variables will the expanded for every app item in both editors (note: case matters):

${packagename}

This is the unique key by which an app is identified. For example, the key for List My Apps is 'de.onyxbits.listmyapps'. The packagename plays a major role in finding apps on markets.

${displayname}

This is how the app identifies itself to the user. Unlike the packagename, the displayname is not required to be unique and an app may even have several displaynames (e.g. when translated into different languages).

${source}

A HTTP/HTTPS URL that will link to where the app was installed from (or Google search if no source could be determined).

${comment}

Whatever was entered as a comment in the "Annotations" screen.

${uid}

The user id that was assigned to the app by the Android system upon installation.

${version}

The version label of the app as it is shown to the user (e.g. a string like 'v2.1')

${versioncode}

Numerical (internal) version name of the app. The general contract is: the latest release has the highest number.

${firstinstalled}

The time (formated according to the system's locale setting) when the app was installed.

${lastupdated}

The time (formated according to the system's locale setting) when the ap was last updated.

${datadir}

Directory that was assigned to the app by the Android system for storing it's private files.

${targetsdk}

Version number of the Android platform, the app was designed to run on. The app may run on lower platform levels, but is guaranteed to run on higher ones.

${tags}

The tags, the app was annotated with.

${marketid}

Identifier of the market app that installed the app. For Google Play, this is 'com.google.vending'. Not all market apps set this. Sideloaded apps will always have an empty id.

${now}

The current time (when the list was created), formated according to the system's locale setting (Only available for headers/footers).

${count}

Number of apps in the list (Only available for headers/footers).