Windows phone live tile - windows-phone

I want make live tile like picture.How can i do this ?

The tiles created above were more then likely created server side. That being said a lot has changed between windows phone 7.1 and windows phone 8. Here is a link to the updated information on windows phone 8 live tiles.

A good starting guide is available here. What you should consider is the fact that the images you see in the Live Tile background are dynamically generated (e.g. on the server) and then returned to the phone through a pre-defined channel.

On previous versions of Windows and Windows Phone, working with Live Tiles were restricted to some predefined templates.
When you see more complex tile, you can bet that the developer generated the image programmatically and then applied it on tile background.
With Windows 10, the Adaptive Tile brings a lot of new possibilities.
...
<binding template="TileLarge" hint-textStacking="center">
<group>
<subgroup hint-weight="1"/>
<subgroup hint-weight="2">
<image src="Assets/Apps/Hipstame/hipster.jpg" hint-crop="circle"/>
</subgroup>
<subgroup hint-weight="1"/>
</group>
<text hint-style="title" hint-align="center">Hi,</text>
<text hint-style="subtitleSubtle" hint-align="center">MasterHip</text>
</binding>
...
You can find the full example here
For previous versions, you can find examples at http://talkitbr.com/2015/05/25/live-tiles/

Related

UWP transparent window

I realize something like this has been asked before, but I would like to create an app with UI elements atop a transparent window (basically, an app without a window frame and with transparent background).
I've read the following posts:
transparent app in windows 10 uwp
Transparent UWP windows 10
I checked the BlurPlayground.
It seems that this isn't possible. However, the Sticky Notes application in Windows 10 is definitely managing to do this. Either this is some special API only available to Microsoft, or it can be done.
Can someone confirm?
This cannot be done in UWP today. The custom frame you see in Sticky Notes is a one-off implementation that does not have a public API.
Curious what is your scenario you want to accomplish here? (feel free to ping me offline - swick [at] Microsoft.com)
Thanks,
Stefan Wick - Windows Developer Platform

How do I detect that the Windows Mobile transitioned to continuum mode?

Is there a way to detect that Windows Mobile 10 transitioned into continuum mode?
The message-box on Windows Phone does not look anything like the one on Desktop and our designers want parity. I want to write our own version, but I only want it to work on Phone - I want the default one on desktop or when the app transitions to continuum on phone.
Any ideas?
I could not find anything on the web nor find any API that allows me to detect it.
I may be wrong but I don't think there is an API for Continuum. The idea of Continuum for Phone is that you're going from a fixed display size to something that is variable. The best way to detect this would be using the Visual State Triggers or checking if the size of the window has changed.
By also checking that the device family, AnalyticsInfo.VersionInfo.DeviceFamily, is Windows.Mobile, you'll know that you're using a phone device which is currently in the Continuum mode.
To detect if app is running in Continuum mode you'll need to check two things: DeviceFamily and UserInteractionMode.
public static bool IsInContinuum()
{
if (DeviceFamily() == DeviceFamilyType.Mobile && UIViewSettings.GetForCurrentView().UserInteractionMode == UserInteractionMode.Mouse)
return true;
else
return false;
}
Quote from this post:
"With Continuum, “touch” will always be returned when your app is on the mobile device, and “mouse” will always be returned when your app is on the connected display."
So you'll need to check if app runs in Continuum in SizeChanged event.
Due to MSDN Documentation Below,
There's no spesific trigger for Windows 10 Mobile continuum feature detection.
Continuum for Universal Apps
In order to find a solution on Mobile Apps, you can benefit from adaptive UI, you can check the app via screen resolution change Window.Current.SizeChanged, then you can combine with Device family AnalyticsInfo.VersionInfo.DeviceFamily to check if device is in Continuum mode.

How to display a Windows 8 metro style tile within an app?

Windows 8 metro style app tiles are created based on pre-defined xml templates (found here).
Is there any way to hook up to Windows' rendering of the tile to allow a tile preview within an app?
In my app I would like to offer the user a subset of the tile templates listed in the above link and let the user customize the tile content. A live preview of the customized tile rendered within my app would greatly improve the user experience.
you should look into HubTile.
I don't know any free control's right now, but Telerik and Syncfusion have HubTile control
You can't get access to real Windows tile rendering, but you can simulate it since all templates are known. It is very unlikely that Microsoft would change the way tiles are rendered and even if they do you should be able to issue app update to keep up with Microsoft.

is there something like a hubtile (WP7) in win 8 metro style?

i want to port one of my windows phone 7 apps to the windows 8 metro style plattform.
the problem is, that i need a element like the hubtile which i use from the silverlight toolkit for windows phone.
is there something equal in the windows 8 metro style platform? maybe open source like the silverlight toolkit.
i dont want to add the livetile outside my app, this is easy. i want to have something like hubtile for WP7 for win8. This means a tile which is inside my application.
If I'm right I'm planning to do the same task. I didn't find any reference of a control which performs like a HubTile. Thus, I decided importing the one from the Silverlight Toolkit (for Windows Phone). Luckily it worked almost smoothly, you can see my sample at:
https://github.com/hmadrigal/playground-dotnet/tree/master/MsWinPhone.EmbedFont (tested on Windows 8 RP and Visual Studio 2012 RC)
Kind regards,
Herber
you can work with the live tiles of course and in several ways. You can use badge notifications, toast notifications, and so on.
I'll suggest you to take a look to this documentation.
And also take a look to those two samples: App tiles and badge sample and Push and periodic notifications client-side sample
By the way don't forget to enable the features you need in the package manifest.

Show an app's live tile in a grid Metro app

I was wondering if it's possible to show an app's live tile in my own MetroStyle app in Windows 8.
Short answer : no.
Longer answer : You can't show another app's live tile directly in your app, but you can probably put together something that looks and feels like a live tile. If the other app is another one of your apps, you can probably send your tile updates to the original app, and also provide the data to the host app (in which you want to show this tile). It shouldn't be too hard to do, and the Silverlight Toolkit for Windows Phone has a HubTile control that givers the basis of something similar for that platform.
If the app whose tile you want to access is not something you control, you won't be able to get any of the "live" data due to the heavily sandboxed nature of Metro apps.