Live Tiles UWP Windows 10 - Not Update livetiles queue - c#

I Have an problem, and I do not identify what are wrong. I use Notification Visualizer app for preview my Tiles.
I have one XML template, and this work with somes images and for another not work, by example:
My Template XML for tile:
<tile>
<visual branding="nameAndLogo">
<binding template="TileMedium">
<image src="http://vignette2.wikia.nocookie.net/fantendo/images/2/25/Mario_Artwork_-_Super_Mario_3D_World.png/revision/latest?cb=20131025223058.png" placement="peek" hint-overlay="20"/>
<image src="http://s3.amazonaws.com/media.eremedia.com/uploads/2012/08/24111405/stackoverflow-logo-700x467.png" placement="background"/>
</binding>
</visual>
</tile>
The problem are:
Url 1 (Work - Applied on template above) = "http://gcn.net.br/dir-arquivo-imagem/2015/09/20150914133707_34730594.jpg"
Url 2 (not work - If you change url above for this) = "http://vignette2.wikia.nocookie.net/fantendo/images/2/25/Mario_Artwork_-_Super_Mario_3D_World.png/revision/latest?cb=20131025223058.png"
When i put this template on Notification Visualizer app, the preview work perfectly but when I pin the Tile, not work. The problem are the same when I apply this on my application.
Why tile work with some url and anothers not work?
Someone help me?
Thanks

There is a 200KB (and 1024x1024 pixel limit) on images that are shown on tile updates. The image pointed to in your second URL is above this limit, which explains why the update is not being rendered.

Related

UI Scaling/Settings

I've been working on a UWP application that will initially be deployed only to Surface Pro 4 (Maybe some SP3s) devices but I'm having a real difficult time getting my UI to fit on the screen.
Right now my Designer window is set to '12" Tablet (2160 x 1440) 150% Scale' with it locked in landscape mode (the only way this app will be used) so that the 'Effective: 1440 x 960' resolution is set.
I've got my MainPage page set to 960 x 1440 with a Frame for display content essentially filling the entire 960 x 1440 but when I run the app (either in full screen or windowed) it cuts off the content of my MainPage (not just the frame content but part of my app sidebar menu).
That all being said my question(s): How do I get my UWP to scale my content to fit inside what ever size window the app is displayed in when running (full screen or user adjusted window size), OR what settings do I need/How do I configure it to display my entire MainPage contents on my SP4 screen (2736 x 1824) in fullscreen without just trial/error adjusting elements manually until they fit.
I'm more concerned with the second question because I don't just want this app to do what I want (because I know I can figure it out myself by manually sizing elements) but I want to understand why it's doing what it's doing and the right way to go about doing what I want to do.
I did a lot of searching but could not find the answer to my question, if this is a duplicate please feel free to link the answer.
Thanks in advance.
The Designer just gives you a general guide on how things would look. The demensions are not for SP4 specifically.
At 150% DPI, try setting your MainPage to 1824, 1216.
You can call
ApplicationView.GetForCurrentView().VisibleBounds
at runtime to find how many pixels(epx) that your screen is currently set to.
Note that these are effective pixels. They are different from the physical pixels of the device. All UWP UI measurements are epx based. So when you see this -
<Button Width="24" />
You should know that the value 24 is measured in epx.
To find out what epx really is, give this a read.

UIView Table Row is stretching , when I change the Iphone model

I'm creating an iOS mobile application using Xamarin. I'm new in mobile development, especially on iOS. I have a table view rows, that have background images. So when I'm changing the iphone version from 5s to 6S, they are stretching. I need them to be auto resizable.
First one is my table view , the second one is the detail view of current row.
Can someone help me with this and at least tell a good topic to read.
Thanks before hands.
Here's what I have now , and I just can't remove that left offset that each row has.
First, you have to set the constraints on your UIImaveView to set the size and the position of your view.
Then, you have to set your UIImageView's Content Mode to Scale To Fill in order to have the image resized automaticaly.
You can take a look at this post to understand all Content Mode available.

Xamarin Android - Gif in WebView is displayed blank

I got an issue while trying to display a gif for my UI.
When the app is launched, the .gif file is correctly loaded (if i change the path, a loading error occure) but the webView is displayed blank.
Android version : marshmallow 6.0 API lvl 23
the "ship_sea.gif" is currently located in Assets Folder, with "Android Asset" in build action.
the axml:
<WebView
android:id="#+id/myWebGIF"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_marginTop="50dp"
android:layout_marginLeft="50dp" />
the .cs :
WebView webGif = FindViewById<WebView>(Resource.Id.myWebGIF);
webGif.LoadUrl(string.Format("file:///android_asset/ship_sea.gif"));
Why is this not working? It is really simple and I can't figure out what is the problem.
Could it be the device as this post suggests (NVIDIA Shield Tablet K1)?
Ok guys, here is the answer :
Be sure that your canvas is the same size as your gif.
In my case, i had a particular large gif, and the only part rendered in my canvas was the top-left (a blank part).
The default background color for a webView is white, so it resulted in a blank view.
Problem solved : there was no error, just wrong interpretation of the problem.

Alpha channel not working

So I am writing a basic app for the windows phone but the alpha channel doesn't seem to be showing up in any of the images I use. In Fireworks I can see the alpha channel in there.
<Image Source="Assets/Images/OnBar.png" Width="100" Height="60" Margin="280, -560, 0, 0" />
That is the xaml code used to display the image in the first place. Currently I don't have any C# code behind it so if I need to implement something on that side a point to the right direction would be appreciated. I looked around but couldn't find anything that worked or was useful. The Image itself is also white so if the alpha channel doesn't work then nothing will display. Any help is appreciated.
Just tested it, it works fine with an arbitrary transparent Image. Maybe your png export format isn't compatible with xaml. Or your Imageis inside a container which isn't transparent.
But you don't forget to declare anything in Image's parameters, alpha channel is built-in and no tweakable, as far as I know.
Please provide more details and I'll edit my post.

Full size Silverlight application dimensions

How can I set the dimensions of my root layout in the XAML to 100% width and height of the <object> tag that houses the Silverlight App.
I have tried specifying 100%, but the width and height properties only take unit literals (exact pixels). Is there a way I can have the Silverlight app take up all the available space in the <object> tag?
Right now (this could change in the version next of Silverlight), pretty much the only way to do this is figure out the dimensions in JavaScript on the page, then pass those to the Silverlight object.
One other option would be to use the Silverlight/JavaScript inter-op API

Categories