Tiles → pin picture

action tiles → pin picture(
title : String,
content : String,
counter : Number,
pic : Picture)
Pins or updates the default tile with a custom picture.
  • required platform: Tiles, Web App or Windows Phone 8 Learn more...
This action creates a tile to launch the script using a picture. Since tiles are specified to the platform you are running, their final appearance might be quite different.
This code might not work on your current device: missing Tiles capabilities.
var pic := media → choose picture
tiles → pin picture("the title", "the back content", 20, pic)
The following information provides more details for each platform where tiles are supported.

Windows Phone 8

The tile uses the flip template.

view in web app

View this page in the TouchDevelop Web App to view related docs, write comments, or request more docs.