Is there any way to use ShellTileSchedule in Windows Phone 8 to update wide tiles?
Windows 8 has TileUpdateManager with StartPeriodicUpdate method which is perfect for what I want to do but I can't find equivalent in Windows Phone 8.
It is possible to use ShellTileSchedule to update the wide background see http://www.developer.nokia.com/Community/Wiki/Generating_Live_tiles_for_Windows_Phone_from_Live_Data
No, the ShellTileSchedule only supports one resolution remote image. Instead you should use a PeriodicTask background agent and update the tile yourself (using C#)
Related
Does Microsoft group WinPhone8 and WinRT device's displays into groups/categories as Apple (iOS: standard and retina) and Google (Android: ldpi, mdpi, hdpi, etc.) do?
WinPhone8 DPI range from about 220 up to 440, so I doubt that's all "standard".
I've searched but found nothing…
If someone could give me a link to the docs that would be great!
Why do I need this Info:
I'm adding WinPhone8 and WinRT support to my Unity3d Editor extension xARM.
It provides a sortable list of resolutions, display diagonals, … and DPI-Groups per platform. Currently the DPI-Group-Column is empty...
Windows Phone 8 and Windows RT devices aren't grouped into DPI categories.
However both platforms have their own scaling system which is based on resolution (not DPI). So it could be used for grouping, but it's not a very helpful info.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206974(v=vs.105).aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh465362.aspx
For example, I create a second tile, its initial tile template is flip; then I call ShellTile.Update(ShellTileData data) to update the tile with iconic template, what I can see is that, something was updated, and something was not. So can we apply different tile template to one Live tile on windows phone 8?
No. It's not possible to change the type of a tile when you update it.
Updating is solely intended for updating the content of the tile, not changing it.
Every tile type in windows phone have their own characteristics, very few property's can be updated commonly,like background image.
Up to my knowledge, we can't apply one type of template to another type of tile, if you know any idea to do so, please share to all.
here the brief explanation about
tile in windows phone
I want to display text on a secondary tile, like Evernote. Currently, I use the FlipTileData because it supports text on the BackContent property. The problem with FlipTileData is, that I only need the back tile, not the front.
Is there a way to set content on the front or to create a tile which does not flip?
Yes, it's possible. You start by creating a standard tile, then render a set of UI elements (eg. TextBlock) to an image to get the desired look, then set it as the 'BackgroundImage' of the tile.
The following tutorial and previous answer should help...
http://wp.qmatteoq.com/how-to-create-cool-custom-tiles-in-a-windows-phone-application/
https://stackoverflow.com/a/9659172/247257
As the above links assume Windows Phone 7, you will need to adjust the tile sizes for Windows Phone 8 and cater for the new wide tile size.
Okay I'm developing a win phone app, and I have buttons here and there and I want the phone to vibrate when someone hits a button.
I managed to do that with
using Windows.Phone.devices.Notification;
VibrationDevice v = VibrationDevice.GetDefault();
v.Vibrate(TimeSpan.FromSeconds(0.1);
However that vibration is rather strong and annoying to get everytime someone hits a button, I'm wondering, do we get access to the soft vibration? Like when someone hits the windows button / back key / search glass - those three buttons have a more soft vibration
For WP7.1 you could use XNA:
Microsoft.Xna.Framework.WindowsPhone.Input.GamePad.SetVibration(player, leftMotorStrength, rightMotorStrength)
However, for Windows Phone 8 this is not possible.
Please refer to MSDN for more details.
You can use a shorter timespan. Do some experiments on different devices. You might need to use different values for different devices.
I got a really nice soft vibration from Samsung ATIV Odyssey with TimeSpan.FromSeconds(0.01). However, HTC 8X seems to ignore a timespan this short - the results with 0.02 was somewhat inconsistent; 0.03 was a good one.
I am new in Windows Phone, and I've used AnimationArray in iOS to achieve the animation property of multiple images but I'm not sure how to accomplish the same in Windows Phone 8. Has anyone done this before?
You can create an array of images - use BitmapImage[] for that. Then, using a Timer with specified interval, change the Source property for a Image XAML element.