Thursday, January 26, 2012 8:06 PM
I've got a couple of questions on Windows 8 Live Tile items:
- How and where this collection of Live Tile items is stored?
- How can I programmaticaly modify size, position and other related info of Live Tile items? Does these items similar to ordninary ".lnk files"? Is there an API like Shell API for ".lnk" files?
Thank you in advance!
Truly yours, Marat
- Edited by Galeyev.MaratMicrosoft Contingent Staff Thursday, January 26, 2012 8:08 PM
Thursday, January 26, 2012 10:11 PMModerator
Look at the following information about Metro tiles.
Getting started with Metro apps development
Guidelines and checklists for Tiles
Look at this thread with a similiar issue.
If you still have questions about developing tiles, it would be best to ask in the programming language you are using.
UI Design for Metro style apps:
Tailoring your app for hardware and devices
Building apps with C++
Building apps with C# or VB
Building games with DirectX
Tools for Metro style apps
Hope this helps.
Thursday, January 26, 2012 10:51 PM
I haven't discovered yet where is the state of the specific tile is stored, saying 'state' I mean current size and position of the item on the Live Tile.
Have you looked at the TileCache*.dat files yet? It appears that they only get updated in certain circumstances, restarting after shutdown.exe /s /full for one. So that implies that the Tiles state is largely transient, e.g. probably somewhere in the virtual memory of explorer.exe most of the time.
Friday, January 27, 2012 7:55 PM
Robert, do you know what each of them is used for
I am also wondering why are they named Cache if this is the only place where info about positioning is stored? Is it realls so, that there is no API to get info about positioning, colors, size and other related stuff?
Hopefully this is just some temporary implementation we are seeing pre-beta. I definitely hope that the final implementation is not as obscure as this appears to be.
Friday, January 27, 2012 10:24 PM
I have also found that there is a special API for Tiles' manipulation in Windows Phone http://msdn.microsoft.com/en-us/library/hh202948(v=vs.92).aspx . I very frustrated, why there is no such for Windows 8 yet...
Truly yours, Marat
- Edited by Steven - Support EngineerMicrosoft Support, Moderator Saturday, February 04, 2012 1:15 AM Edit
Tuesday, January 31, 2012 4:16 AM
There are API for Tiles similar to the Windows Phone 7 API that you mention. Both API allow an app to define its own tiles. Neither allows control over where the tile is positioned or which size it takes. In both Windows Phone and the Windows 8 Developer Preview the user controls which apps display tiles, where the tiles are placed, and if the tiles are wide or narrow (assuming the tile supports both - an app may choose to support only narrow tiles).
See Creating and using tiles, toast, and Windows push notifications and the Basic Tiles, Advanced Tiles, and Secondary Tiles samples.
Trying to modify the tiles by manipulating undocumented files or registry entries is not supported, not recommended, and definitely not safe to rely on in production code.
Truly yours, Marat
- Marked As Answer by Galeyev.MaratMicrosoft Contingent Staff Tuesday, January 31, 2012 4:17 AM
Tuesday, January 31, 2012 5:47 PM
I found that [drive]\users\[username]\appdata\roaming\microsoft\windows\appsFolder.itemdata-ms changes right away when I change position of some element on the Live Tile.
This is clearly a more important piece of the implementation than the TileCache* stuff that I found. One user has apparently exploited it to change the Default Start Screen on his machine
(BING search for
So, depending on the intent of your "programmatic modification of the Start Screen" that could be a simpler approach.